diff --git a/core/vm/contracts.go b/core/vm/contracts.go index 2da5d93c39..4059bb52f0 100644 --- a/core/vm/contracts.go +++ b/core/vm/contracts.go @@ -162,6 +162,8 @@ func (p PrecompiledContracts) Copy() PrecompiledContracts { // ActivePrecompiledContracts returns precompiled contracts enabled with the current configuration. func ActivePrecompiledContracts(rules params.Rules) PrecompiledContracts { switch { + case rules.IsCancun: + return PrecompiledContractsCancun case rules.IsBerlin: return PrecompiledContractsBerlin case rules.IsIstanbul: