File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -662,6 +662,9 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
662662 if msg .GasTipCap != nil {
663663 arg ["maxPriorityFeePerGas" ] = (* hexutil .Big )(msg .GasTipCap )
664664 }
665+ if msg .AccessList != nil {
666+ arg ["accessList" ] = msg .AccessList
667+ }
665668 return arg
666669}
667670
Original file line number Diff line number Diff line change @@ -236,6 +236,15 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
236236 if msg .GasPrice != nil {
237237 arg ["gasPrice" ] = (* hexutil .Big )(msg .GasPrice )
238238 }
239+ if msg .GasFeeCap != nil {
240+ arg ["maxFeePerGas" ] = (* hexutil .Big )(msg .GasFeeCap )
241+ }
242+ if msg .GasTipCap != nil {
243+ arg ["maxPriorityFeePerGas" ] = (* hexutil .Big )(msg .GasTipCap )
244+ }
245+ if msg .AccessList != nil {
246+ arg ["accessList" ] = msg .AccessList
247+ }
239248 return arg
240249}
241250
You can’t perform that action at this time.
0 commit comments