@@ -699,15 +699,15 @@ func doCall(ctx context.Context, b Backend, args TransactionArgs, state *state.S
699699 } else {
700700 gp .AddGas (globalGasCap )
701701 }
702- return applyMessage (ctx , b , args , state , header , timeout , gp , & blockCtx , & vm.Config {NoBaseFee : true }, precompiles , true )
702+ return applyMessage (ctx , b , args , state , header , timeout , gp , & blockCtx , & vm.Config {NoBaseFee : true }, precompiles )
703703}
704704
705- func applyMessage (ctx context.Context , b Backend , args TransactionArgs , state * state.StateDB , header * types.Header , timeout time.Duration , gp * core.GasPool , blockContext * vm.BlockContext , vmConfig * vm.Config , precompiles vm.PrecompiledContracts , skipChecks bool ) (* core.ExecutionResult , error ) {
705+ func applyMessage (ctx context.Context , b Backend , args TransactionArgs , state * state.StateDB , header * types.Header , timeout time.Duration , gp * core.GasPool , blockContext * vm.BlockContext , vmConfig * vm.Config , precompiles vm.PrecompiledContracts ) (* core.ExecutionResult , error ) {
706706 // Get a new instance of the EVM.
707707 if err := args .CallDefaults (gp .Gas (), blockContext .BaseFee , b .ChainConfig ().ChainID ); err != nil {
708708 return nil , err
709709 }
710- msg := args .ToMessage (header .BaseFee , skipChecks , skipChecks )
710+ msg := args .ToMessage (header .BaseFee , true )
711711 // Lower the basefee to 0 to avoid breaking EVM
712712 // invariants (basefee < feecap).
713713 if msg .GasPrice .Sign () == 0 {
@@ -858,7 +858,7 @@ func DoEstimateGas(ctx context.Context, b Backend, args TransactionArgs, blockNr
858858 if err := args .CallDefaults (gasCap , header .BaseFee , b .ChainConfig ().ChainID ); err != nil {
859859 return 0 , err
860860 }
861- call := args .ToMessage (header .BaseFee , true , true )
861+ call := args .ToMessage (header .BaseFee , true )
862862
863863 // Run the gas estimation and wrap any revertals into a custom return
864864 estimate , revert , err := gasestimator .Estimate (ctx , call , opts , gasCap )
@@ -1301,7 +1301,7 @@ func AccessList(ctx context.Context, b Backend, blockNrOrHash rpc.BlockNumberOrH
13011301 statedb := db .Copy ()
13021302 // Set the accesslist to the last al
13031303 args .AccessList = & accessList
1304- msg := args .ToMessage (header .BaseFee , true , true )
1304+ msg := args .ToMessage (header .BaseFee , true )
13051305
13061306 // Apply the transaction with the access list tracer
13071307 tracer := logger .NewAccessListTracer (accessList , addressesToExclude )
0 commit comments