Skip to content

Commit

Permalink
fix: use same genesis in binary as in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
tzdybal committed Nov 26, 2024
1 parent aca0d50 commit 7048fa9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/evm-middleware/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import (
"sync"
"time"

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

grpcproxy "github.com/rollkit/go-execution/proxy/grpc"
pb "github.com/rollkit/go-execution/types/pb/execution"

Expand Down Expand Up @@ -43,8 +41,7 @@ func main() {
var genesisHash common.Hash
var feeRecipient common.Address

genesis := core.DefaultGenesisBlock()
genesisHash = genesis.ToBlock().Hash()
genesisHash = common.HexToHash("0x8bf225d50da44f60dee1c4ee6f810fe5b44723c76ac765654b6692d50459f216")

evmClient, err := evm.NewEngineAPIExecutionClient("http://:8545", "http://:8551", jwtSecret, genesisHash, feeRecipient)
if err != nil {
Expand Down

0 comments on commit 7048fa9

Please sign in to comment.