Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
clabby committed Dec 3, 2024
1 parent 6de1b2a commit c2eedc9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rvgo/test/evm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c2eedc9

Please sign in to comment.