Skip to content

Commit

Permalink
added missing header file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidu28 committed Jan 19, 2024
1 parent 7f5a813 commit 049bd09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions data/deneb_goerli_block_header_7413760.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"execution_optimistic":false,"finalized":true,"data":{"root":"0x92d898cb189bae13cb97db2818ec1426dc1ce9047f1d184790eca8d0a4995135","canonical":true,"header":{"message":{"slot":"7413760","proposer_index":"135919","parent_root":"0x44c7dd0a84a62964cdf05a04d5f948be4dbf91919c6cbcb0ec819117e2f904dd","state_root":"0xcaedd8c6d9dc0162b57b0ddf63f75c43a38c4bdb137516df2288799ff604bade","body_root":"0x0c746d5e66019c409377c2f59d50b114c902cdf1d339e777959554d1dd25db9c"},"signature":"0xb52447e14ee57a9e11b5235864854319f1e102ea55d7e57b930921944f904905b967af5da81692e32c661baadcf6d4f0181080aa6d8254a9722a20804a6320673d97bbce10a352edbab95ba32a7446c187ce5a7635562892844eb31962576f5c"}}}
4 changes: 2 additions & 2 deletions merkle_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func TestGetHistoricalSummariesBlockRootsProofProof(t *testing.T) {

var blockHeader phase0.BeaconBlockHeader
//blockHeader, err = ExtractBlockHeader("data/goerli_block_header_6397852.json")
blockHeader, err = ExtractBlockHeader("data/goerli_block_header_7413660.json")
blockHeader, err = ExtractBlockHeader("data/deneb_goerli_block_header_7413660.json")

if err != nil {
fmt.Println("blockHeader.UnmarshalJSON error", err)
Expand Down Expand Up @@ -398,7 +398,7 @@ func TestStateRootAgainstLatestBlockHeaderProof(t *testing.T) {
// ParseCapellaBeaconStateFromJSON(*oracleStateJSON, &oracleState)

var blockHeader phase0.BeaconBlockHeader
blockHeader, err := ExtractBlockHeader("data/deneb_goerli_block_header_7426414.json")
blockHeader, err := ExtractBlockHeader("data/deneb_goerli_block_header_7413760.json")
if err != nil {
fmt.Println("error with block header", err)
}
Expand Down

0 comments on commit 049bd09

Please sign in to comment.