Skip to content

Commit

Permalink
call Prepare to initialize warm addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
drortirosh committed Sep 15, 2024
1 parent 35d1f4d commit 1f217a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/state_processor_rip7560.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,10 @@ func ApplyRip7560ValidationPhases(
GasPrice: gasPrice,
}
evm := vm.NewEVM(blockContext, txContext, statedb, chainConfig, cfg)
rules := evm.ChainConfig().Rules(evm.Context.BlockNumber, evm.Context.Random != nil, evm.Context.Time)

statedb.Prepare(rules, *sender, evm.Context.Coinbase, &AA_ENTRY_POINT, vm.ActivePrecompiles(rules), tx.AccessList())

epc := &EntryPointCall{}

if evm.Config.Tracer == nil {
Expand Down

0 comments on commit 1f217a0

Please sign in to comment.