Skip to content

Commit

Permalink
Downgrade Level DB to Stable Version (#13671)
Browse files Browse the repository at this point in the history
* downgrade level db

* fix current issues

* update geth

* Fix zstd build. The patch is now longer needed now that bazel-contrib/rules_go#3411 is fixed.

* Revert "update geth"

This reverts commit 2a7c51a.

* change to hex

---------

Co-authored-by: Preston Van Loon <[email protected]>
  • Loading branch information
nisdas and prestonvanloon authored Feb 29, 2024
1 parent 6d3c6a6 commit b61d177
Show file tree
Hide file tree
Showing 5 changed files with 213 additions and 1,194 deletions.
2 changes: 1 addition & 1 deletion beacon-chain/blockchain/pow_block_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func Test_getBlkParentHashAndTD(t *testing.T) {
parentHash, totalDifficulty, err := service.getBlkParentHashAndTD(ctx, h[:])
require.NoError(t, err)
require.Equal(t, p, bytesutil.ToBytes32(parentHash))
require.Equal(t, td, totalDifficulty.String())
require.Equal(t, td, totalDifficulty.Hex())

_, _, err = service.getBlkParentHashAndTD(ctx, []byte{'c'})
require.ErrorContains(t, "could not get pow block: block not found", err)
Expand Down
Loading

0 comments on commit b61d177

Please sign in to comment.