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 @@ -585,5 +585,8 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
585
585
if msg .GasTipCap != nil {
586
586
arg ["maxPriorityFeePerGas" ] = (* hexutil .Big )(msg .GasTipCap )
587
587
}
588
+ if msg .AccessList != nil {
589
+ arg ["accessList" ] = msg .AccessList
590
+ }
588
591
return arg
589
592
}
Original file line number Diff line number Diff line change @@ -207,6 +207,15 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
207
207
if msg .GasPrice != nil {
208
208
arg ["gasPrice" ] = (* hexutil .Big )(msg .GasPrice )
209
209
}
210
+ if msg .GasFeeCap != nil {
211
+ arg ["maxFeePerGas" ] = (* hexutil .Big )(msg .GasFeeCap )
212
+ }
213
+ if msg .GasTipCap != nil {
214
+ arg ["maxPriorityFeePerGas" ] = (* hexutil .Big )(msg .GasTipCap )
215
+ }
216
+ if msg .AccessList != nil {
217
+ arg ["accessList" ] = msg .AccessList
218
+ }
210
219
return arg
211
220
}
212
221
You can’t perform that action at this time.
0 commit comments