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 Dec 6, 2024
1 parent 11fe1f8 commit f148f83
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/evm-middleware/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"google.golang.org/grpc"

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

evm "github.com/rollkit/go-execution-evm"
grpcproxy "github.com/rollkit/go-execution/proxy/grpc"
Expand Down Expand Up @@ -43,8 +42,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 f148f83

Please sign in to comment.