Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelneuder committed Sep 5, 2023
1 parent 2f5a9e6 commit f7291cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func TestDataVersion(t *testing.T) {
}

func compareV2RequestEquality(t *testing.T, src, targ *SubmitBlockRequestV2Optimistic) {
t.Helper()
require.Equal(t, src.Message.String(), targ.Message.String())
require.Equal(t, src.ExecutionPayloadHeader.String(), targ.ExecutionPayloadHeader.String())
require.Equal(t, src.Signature, targ.Signature)
Expand Down Expand Up @@ -146,7 +147,8 @@ func TestSubmitBlockRequestV2Optimistic(t *testing.T) {

// Unmarshal just the header.
unmarshalHeader := new(SubmitBlockRequestV2Optimistic)
unmarshalHeader.UnmarshalSSZHeaderOnly(sszObj)
err = unmarshalHeader.UnmarshalSSZHeaderOnly(sszObj)
require.Nil(t, err)

compareV2RequestEquality(t, obj, unmarshalHeader)

Expand Down

0 comments on commit f7291cc

Please sign in to comment.