fix(core): remove vm.AccountRef (#2055)

This commit is contained in:
Daniel Liu 2026-02-12 17:27:04 +08:00 committed by GitHub
parent cc2109342c
commit e96ec6aab5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -728,7 +728,7 @@ func ProcessParentBlockHash(prevHash common.Hash, vmenv *vm.EVM, statedb vm.Stat
}
vmenv.Reset(NewEVMTxContext(msg), statedb)
statedb.AddAddressToAccessList(params.HistoryStorageAddress)
_, _, err := vmenv.Call(vm.AccountRef(msg.From), *msg.To, msg.Data, 30_000_000, common.U2560)
_, _, err := vmenv.Call(msg.From, *msg.To, msg.Data, 30_000_000, common.U2560)
if err != nil {
panic(err)
}