From c2eedc9b1fa97abde2e245b21aedd7a9be27785b Mon Sep 17 00:00:00 2001 From: clabby Date: Tue, 3 Dec 2024 13:04:34 -0500 Subject: [PATCH] test fix --- rvgo/test/evm_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rvgo/test/evm_test.go b/rvgo/test/evm_test.go index c76ae8b1..8f6f4df6 100644 --- a/rvgo/test/evm_test.go +++ b/rvgo/test/evm_test.go @@ -96,10 +96,7 @@ func newEVMEnv(t *testing.T, contracts *Contracts, addrs *Addresses) *vm.EVM { // Temporary hack until Cancun is activated on mainnet cpy := *params.MainnetChainConfig chainCfg := &cpy // don't modify the global chain config - // Activate Cancun for EIP-4844 KZG point evaluation precompile - cancunActivation := *chainCfg.ShanghaiTime + 10 - chainCfg.CancunTime = &cancunActivation - offsetBlocks := uint64(1000) // blocks after cancun fork + offsetBlocks := uint64(1000) bc := &dummyChain{startTime: *chainCfg.CancunTime + offsetBlocks*12} header := bc.GetHeader(common.Hash{}, 17034870+offsetBlocks) db := rawdb.NewMemoryDatabase()