Skip to content

Commit

Permalink
added unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidu28 committed Feb 10, 2024
1 parent b219893 commit b5dfe04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions merkle_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func TestUnmarshalSSZVersionedBeaconStateDeneb(t *testing.T) {
}

func TestUnmarshalSSZVersionedBeaconStateCapella(t *testing.T) {
capellaState := capella.BeaconState{}
var capellaState capella.BeaconState
capellaStateJSON, err := ParseJSONFileCapella("data/goerli_slot_6409723.json")
if err != nil {
fmt.Println("error", err)
Expand Down Expand Up @@ -317,7 +317,7 @@ func TestMarshalSSZVersionedBeaconStateDeneb(t *testing.T) {
}

func TestMarshalSSZVersionedBeaconStateCapella(t *testing.T) {
capellaState := capella.BeaconState{}
var capellaState capella.BeaconState
capellaStateJSON, err := ParseJSONFileCapella("data/goerli_slot_6409723.json")
if err != nil {
fmt.Println("error", err)
Expand Down

0 comments on commit b5dfe04

Please sign in to comment.