Skip to content

Commit

Permalink
Merge pull request #22 from gnosischain/fix/erigon-withdrawals
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevMac authored Jan 31, 2024
2 parents 451ad95 + 13bb40a commit d424d26
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion simulators/ethereum/engine/client/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ package client
import (
"encoding/json"
"fmt"
"github.com/ethereum/go-ethereum/core"
"math/big"
"strconv"
"time"

"github.com/ethereum/go-ethereum/core"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/params"
Expand Down Expand Up @@ -545,6 +546,8 @@ func (v *ErigonGenesis) SetTimestamp(timestamp int64, cancun bool) {
v.ErigonConfig.ShanghaiTimestamp = big.NewInt(timestamp)
if cancun {
v.ErigonConfig.CancunTime = big.NewInt(timestamp)
} else {
v.ErigonConfig.CancunTime = big.NewInt(timestamp+12000000)
}
}

Expand Down

0 comments on commit d424d26

Please sign in to comment.