From 1a98c5cba21e82b3c2a701459481b337cda4a2c6 Mon Sep 17 00:00:00 2001 From: Manav Darji Date: Sun, 1 Sep 2024 14:27:07 +0530 Subject: [PATCH] internal/ethapi/testdata: add note --- internal/ethapi/api_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/ethapi/api_test.go b/internal/ethapi/api_test.go index eff5288822..52e7414c2b 100644 --- a/internal/ethapi/api_test.go +++ b/internal/ethapi/api_test.go @@ -1603,6 +1603,10 @@ func TestRPCMarshalBlock(t *testing.T) { } func TestRPCGetBlockOrHeader(t *testing.T) { + // Note: Upstream (geth) tests have a different genesis hash as it has a different + // state root hash due to allocating balance separately in test backend. Because + // that is commented out in bor, we use the old genesis hash in the test files. + t.Parallel() // Initialize test accounts