From d74666941da7f1eed1dbc748e674a1886d657ae7 Mon Sep 17 00:00:00 2001 From: Sunny Date: Fri, 12 May 2023 14:24:19 +0800 Subject: [PATCH] feature: Enable Berlin EIPs Enable Berlin EIPs by including the BerlinBlock in BSCChainConfig This enable following Berlin EIPs into the BSC: EIP-2565: ModExp Gas Cost EIP-2929: Gas cost increases for state access opcodes EIP-2718: Typed Transaction Envelope EIP-2930: Optional access lists --- params/config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/params/config.go b/params/config.go index 9883968446..b3cd1a7be6 100644 --- a/params/config.go +++ b/params/config.go @@ -195,6 +195,9 @@ var ( LubanBlock: nil, PlatoBlock: nil, + // TODO modify blockNumber to enable Berlin EIPs after the block. + BerlinBlock: nil, + Parlia: &ParliaConfig{ Period: 3, Epoch: 200,