diff --git a/evmrpc/block.go b/evmrpc/block.go index 431ca80cf..b2be78d09 100644 --- a/evmrpc/block.go +++ b/evmrpc/block.go @@ -28,7 +28,6 @@ import ( ) const ShellEVMTxType = math.MaxUint32 -const TestGenesisBlockHash = "0xF9D3845DF25B43B1C6926F3CEDA6845C17F5624E12212FD8847D0BA01DA1AB9E" type BlockAPI struct { tmClient rpcclient.Client @@ -142,7 +141,7 @@ func (a *BlockAPI) GetBlockByNumber(ctx context.Context, number rpc.BlockNumber, // for compatibility with the graph, always return genesis block return map[string]interface{}{ "number": (*hexutil.Big)(big.NewInt(0)), - "hash": TestGenesisBlockHash, + "hash": "0xF9D3845DF25B43B1C6926F3CEDA6845C17F5624E12212FD8847D0BA01DA1AB9E", "parentHash": common.Hash{}, "nonce": ethtypes.BlockNonce{}, // inapplicable to Sei "mixHash": common.Hash{}, // inapplicable to Sei diff --git a/evmrpc/block_test.go b/evmrpc/block_test.go index 21dfae774..642edf443 100644 --- a/evmrpc/block_test.go +++ b/evmrpc/block_test.go @@ -132,7 +132,7 @@ func verifyGenesisBlockResult(t *testing.T, resObj map[string]interface{}) { require.Equal(t, "0x", resObj["extraData"]) require.Equal(t, "0x0", resObj["gasLimit"]) require.Equal(t, "0x0", resObj["gasUsed"]) - require.Equal(t, evmrpc.TestGenesisBlockHash, resObj["hash"]) + require.Equal(t, "0xF9D3845DF25B43B1C6926F3CEDA6845C17F5624E12212FD8847D0BA01DA1AB9E", resObj["hash"]) require.Equal(t, "0x0000000000000000", resObj["nonce"]) require.Equal(t, "0x0", resObj["number"]) } diff --git a/go.mod b/go.mod index 115075e38..4366f046f 100644 --- a/go.mod +++ b/go.mod @@ -350,7 +350,7 @@ replace ( github.com/cosmos/cosmos-sdk => github.com/sei-protocol/sei-cosmos v0.3.48 github.com/cosmos/iavl => github.com/sei-protocol/sei-iavl v0.2.0 github.com/cosmos/ibc-go/v3 => github.com/sei-protocol/sei-ibc-go/v3 v3.3.3 - github.com/ethereum/go-ethereum => github.com/sei-protocol/go-ethereum v1.13.5-sei-9.0.20241222013722-b2f3283b8fdc + github.com/ethereum/go-ethereum => github.com/sei-protocol/go-ethereum v1.13.5-sei-9.0.20241222172509-5fabb665a80c github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 github.com/sei-protocol/sei-db => github.com/sei-protocol/sei-db v0.0.46 // Latest goleveldb is broken, we have to stick to this version diff --git a/go.sum b/go.sum index 22c02d34a..98d4176ba 100644 --- a/go.sum +++ b/go.sum @@ -1341,8 +1341,8 @@ github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod github.com/securego/gosec/v2 v2.11.0 h1:+PDkpzR41OI2jrw1q6AdXZCbsNGNGT7pQjal0H0cArI= github.com/securego/gosec/v2 v2.11.0/go.mod h1:SX8bptShuG8reGC0XS09+a4H2BoWSJi+fscA+Pulbpo= github.com/segmentio/fasthash v1.0.3/go.mod h1:waKX8l2N8yckOgmSsXJi7x1ZfdKZ4x7KRMzBtS3oedY= -github.com/sei-protocol/go-ethereum v1.13.5-sei-9.0.20241222013722-b2f3283b8fdc h1:7aRU7/y5pE/dHUv3b0ouraZCU0t0QdLW6/lNUn5H6ac= -github.com/sei-protocol/go-ethereum v1.13.5-sei-9.0.20241222013722-b2f3283b8fdc/go.mod h1:kcRZmuzRn1lVejiFNTz4l4W7imnpq1bDAnuKS/RyhbQ= +github.com/sei-protocol/go-ethereum v1.13.5-sei-9.0.20241222172509-5fabb665a80c h1:Gr77+8O12U4gdHdjM5aJ5LphHwhlbeHjGMuhWE9Coaw= +github.com/sei-protocol/go-ethereum v1.13.5-sei-9.0.20241222172509-5fabb665a80c/go.mod h1:kcRZmuzRn1lVejiFNTz4l4W7imnpq1bDAnuKS/RyhbQ= github.com/sei-protocol/goutils v0.0.2 h1:Bfa7Sv+4CVLNM20QcpvGb81B8C5HkQC/kW1CQpIbXDA= github.com/sei-protocol/goutils v0.0.2/go.mod h1:iYE2DuJfEnM+APPehr2gOUXfuLuPsVxorcDO+Tzq9q8= github.com/sei-protocol/sei-cosmos v0.3.48 h1:kSDweeTaLZ4TByLqAD6/hmtgAhAJHwXU1beyqsVXJkQ=