status-go/rpc/chain/ethclient/geth_test.go
dlipicar 55d91400b8
fix_: bump go-ethereum to get fix for block hash calculation (#5873)
* fix_: bump go-ethereum to get fix for block hash calculation

* chore_: remove CallBlockHashByTransaction workaround for bad block hash calculation
2024-09-26 08:38:22 -03:00

14 lines
269 B
Go

package ethclient
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestGeth_HeaderHash(t *testing.T) {
number, hash, header := getTestBlockHeader()
require.Equal(t, number.String(), header.Number.String())
require.Equal(t, hash, header.Hash())
}