core, eth, internal, les: RPC methods and fields for EIP 1559 (#22964)
* 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:Ryan Schneider <ryanleeschneider@gmail.com> Co-authored-by:
lightclient@protonmail.com <lightclient@protonmail.com> Co-authored-by:
gary rong <garyrong0905@gmail.com> Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
Showing
- core/chain_makers.go 6 additions, 4 deletionscore/chain_makers.go
- core/types/block.go 1 addition, 1 deletioncore/types/block.go
- core/types/gen_header_json.go 6 additions, 0 deletionscore/types/gen_header_json.go
- core/types/transaction.go 0 additions, 2 deletionscore/types/transaction.go
- core/types/transaction_marshalling.go 9 additions, 23 deletionscore/types/transaction_marshalling.go
- eth/api_backend.go 2 additions, 2 deletionseth/api_backend.go
- eth/gasprice/gasprice.go 63 additions, 36 deletionseth/gasprice/gasprice.go
- eth/gasprice/gasprice_test.go 54 additions, 15 deletionseth/gasprice/gasprice_test.go
- eth/protocols/snap/range_test.go 1 addition, 1 deletioneth/protocols/snap/range_test.go
- eth/tracers/api.go 4 additions, 1 deletioneth/tracers/api.go
- graphql/graphql.go 16 additions, 2 deletionsgraphql/graphql.go
- graphql/schema.go 3 additions, 0 deletionsgraphql/schema.go
- internal/ethapi/api.go 67 additions, 17 deletionsinternal/ethapi/api.go
- internal/ethapi/backend.go 1 addition, 1 deletioninternal/ethapi/backend.go
- internal/ethapi/transaction_args.go 102 additions, 20 deletionsinternal/ethapi/transaction_args.go
- internal/jsre/deps/bindata.go 59 additions, 31 deletionsinternal/jsre/deps/bindata.go
- internal/jsre/deps/web3.js 10 additions, 2 deletionsinternal/jsre/deps/web3.js
- internal/web3ext/web3ext.go 5 additions, 0 deletionsinternal/web3ext/web3ext.go
- les/api_backend.go 2 additions, 2 deletionsles/api_backend.go
Loading
Please register or sign in to comment