mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
internal/ethapi: include AuthorizationList in gas estimation callArgs
This commit is contained in:
parent
ece2b19ac0
commit
373597c580
1 changed files with 1 additions and 0 deletions
|
|
@ -155,6 +155,7 @@ func (args *TransactionArgs) setDefaults(ctx context.Context, b Backend, config
|
||||||
AccessList: args.AccessList,
|
AccessList: args.AccessList,
|
||||||
BlobFeeCap: args.BlobFeeCap,
|
BlobFeeCap: args.BlobFeeCap,
|
||||||
BlobHashes: args.BlobHashes,
|
BlobHashes: args.BlobHashes,
|
||||||
|
AuthorizationList: args.AuthorizationList,
|
||||||
}
|
}
|
||||||
latestBlockNr := rpc.BlockNumberOrHashWithNumber(rpc.LatestBlockNumber)
|
latestBlockNr := rpc.BlockNumberOrHashWithNumber(rpc.LatestBlockNumber)
|
||||||
estimated, err := DoEstimateGas(ctx, b, callArgs, latestBlockNr, nil, nil, b.RPCGasCap())
|
estimated, err := DoEstimateGas(ctx, b, callArgs, latestBlockNr, nil, nil, b.RPCGasCap())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue