1. 12 8月, 2021 1 次提交
  2. 29 7月, 2021 1 次提交
    • M
      accounts/external, internal/ethapi: fixes for London tx signing (#23274) · 5c13012b
      Martin Holst Swende 提交于
      Ticket #23273 found a flaw where we were unable to sign legacy-transactions
      using the external signer, even if we're still on non-london network. That's
      fixed in this PR.
      
      Additionally, I found that even when supplying all parameters, it was impossible
      to sign a london-transaction on an unsynched node. It's a pretty common usecase
      that someone wants to sign a transaction using an unsynced 'vanilla' node,
      providing all necessary data. Our setDefaults, however, insisted on checking the
      current block against the config. This PR therefore adds a case, so that if both
      MaxPriorityFeePerGas and MaxFeePerGas are provided, we accept them as given.
      
      OBS This PR fixes a regression -- on current master, we are unable to sign a
      london-transaction unless the node is synched, which may break scenarios where
      geth (or clef) is used as a cold wallet.
      
      Fixes #23273 
      5c13012b
  3. 13 7月, 2021 1 次提交
  4. 10 6月, 2021 1 次提交
  5. 09 6月, 2021 1 次提交
  6. 08 6月, 2021 1 次提交
  7. 02 6月, 2021 1 次提交
    • M
      core, eth, internal, les: RPC methods and fields for EIP 1559 (#22964) · 5cff9754
      Martin Holst Swende 提交于
      * internal/ethapi: add baseFee to RPCMarshalHeader
      
      * internal/ethapi: add FeeCap, Tip and correct GasPrice to EIP-1559 RPCTransaction results
      
      * core,eth,les,internal: add support for tip estimation in gas price oracle
      
      * internal/ethapi,eth/gasprice: don't suggest tip larger than fee cap
      
      * core/types,internal: use correct eip1559 terminology for json marshalling
      
      * eth, internal/ethapi: fix rebase problems
      
      * internal/ethapi: fix rpc name of basefee
      
      * internal/ethapi: address review concerns
      
      * core, eth, internal, les: simplify gasprice oracle (#25)
      
      * core, eth, internal, les: simplify gasprice oracle
      
      * eth/gasprice: fix typo
      
      * internal/ethapi: minor tweak in tx args
      
      * internal/ethapi: calculate basefee for pending block
      
      * internal/ethapi: fix panic
      
      * internal/ethapi, eth/tracers: simplify txargs ToMessage
      
      * internal/ethapi: remove unused param
      
      * core, eth, internal: fix regressions wrt effective gas price in the evm
      
      * eth/gasprice: drop weird debug println
      
      * internal/jsre/deps: hack in 1559 gas conversions into embedded web3
      
      * internal/jsre/deps: hack basFee to decimal conversion
      
      * internal/ethapi: init feecap and tipcap for legacy txs too
      
      * eth, graphql, internal, les: fix gas price suggestion on all combos
      
      * internal/jsre/deps: handle decimal tipcap and feecap
      
      * eth, internal: minor review fixes
      
      * graphql, internal: export max fee cap RPC endpoint
      
      * internal/ethapi: fix crash in transaction_args
      
      * internal/ethapi: minor refactor to make the code safer
      Co-authored-by: NRyan Schneider <ryanleeschneider@gmail.com>
      Co-authored-by: Nlightclient@protonmail.com <lightclient@protonmail.com>
      Co-authored-by: Ngary rong <garyrong0905@gmail.com>
      Co-authored-by: NPéter Szilágyi <peterke@gmail.com>
      5cff9754
  8. 26 5月, 2021 1 次提交