From 361c90966715056a2acd83937ffa266332ac08f9 Mon Sep 17 00:00:00 2001 From: MariusVanDerWijden Date: Thu, 2 Jul 2026 13:07:39 +0200 Subject: [PATCH] core: fix remaining spec issues --- core/vm/operations_acl.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/vm/operations_acl.go b/core/vm/operations_acl.go index 103df64f5f..04ab5800bb 100644 --- a/core/vm/operations_acl.go +++ b/core/vm/operations_acl.go @@ -415,11 +415,6 @@ func makeCallVariantGasCallEIP7702(intrinsicFunc intrinsicGasFunc, coldCost uint if !contract.chargeRegular(eip7702Cost, evm.Config.Tracer, tracing.GasChangeCallStorageColdAccess) { return GasCosts{}, ErrOutOfGas } - // The spec checks the delegation cost together with the memory - // expansion and transfer costs before reading the delegated account. - // Since intrinsicCost is only checked (not charged) above, re-check it - // against the remaining gas so the delegated address is not recorded - // in the block access list when the combined costs are unaffordable. if contract.Gas.RegularGas < intrinsicCost { return GasCosts{}, ErrOutOfGas }