@@ -258,7 +258,7 @@ func (pre *Prestate) Apply(vmConfig vm.Config, chainConfig *params.ChainConfig,
258258 snapshot = statedb .Snapshot ()
259259 gp = gaspool .Snapshot ()
260260 )
261- receipt , err := core .ApplyTransactionWithEVM (msg , gaspool , statedb , vmContext .BlockNumber , blockHash , pre .Env .Timestamp , tx , evm )
261+ _ , receipt , err := core .ApplyTransactionWithEVM (msg , gaspool , statedb , vmContext .BlockNumber , blockHash , pre .Env .Timestamp , tx , evm )
262262 if err != nil {
263263 statedb .RevertToSnapshot (snapshot )
264264 log .Info ("rejected tx" , "index" , i , "hash" , tx .Hash (), "from" , msg .From , "error" , err )
@@ -327,11 +327,11 @@ func (pre *Prestate) Apply(vmConfig vm.Config, chainConfig *params.ChainConfig,
327327 return nil , nil , nil , NewError (ErrorEVM , fmt .Errorf ("could not parse requests logs: %v" , err ))
328328 }
329329 // EIP-7002
330- if err := core .ProcessWithdrawalQueue (& requests , evm ); err != nil {
330+ if _ , err := core .ProcessWithdrawalQueue (& requests , evm ); err != nil {
331331 return nil , nil , nil , NewError (ErrorEVM , fmt .Errorf ("could not process withdrawal requests: %v" , err ))
332332 }
333333 // EIP-7251
334- if err := core .ProcessConsolidationQueue (& requests , evm ); err != nil {
334+ if _ , err := core .ProcessConsolidationQueue (& requests , evm ); err != nil {
335335 return nil , nil , nil , NewError (ErrorEVM , fmt .Errorf ("could not process consolidation requests: %v" , err ))
336336 }
337337 }
0 commit comments