Skip to content

Commit

Permalink
bet
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdevbear committed Jul 31, 2024
1 parent ca18a8a commit dc5255e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion mod/primitives/pkg/bytes/b4.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
// TITLE.
//
//nolint:dupl // it's okay to duplicate the code for different types

package bytes

import (
Expand Down
2 changes: 1 addition & 1 deletion mod/primitives/pkg/bytes/b48_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ package bytes_test
import (
"testing"

"github.com/berachain/beacon-kit/mod/primitigives/pkg/merkle/zero"
"github.com/berachain/beacon-kit/mod/primitives/pkg/bytes"
"github.com/berachain/beacon-kit/mod/primitives/pkg/merkle/zero"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion mod/primitives/pkg/bytes/b8.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
// TITLE.
//
//nolint:dupl // it's okay to duplicate the code for different types

package bytes

import (
Expand Down
4 changes: 1 addition & 3 deletions mod/primitives/pkg/bytes/b_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@ package bytes_test

import (
stdbytes "bytes"

"github.com/berachain/beacon-kit/mod/primitives/pkg/encoding/hex"

"fmt"
"reflect"
"strings"
"testing"

"github.com/berachain/beacon-kit/mod/primitives/pkg/bytes"
"github.com/berachain/beacon-kit/mod/primitives/pkg/encoding/hex"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion testing/quick/compare_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func TestExecutionPayloadHashTreeRootZrnt(t *testing.T) {
t.Log("Failed to calculate HashTreeRoot on container payload:", err)
return false
}
//nolint:gocritic // ok

return bytes.Equal(typeRoot[:], containerRoot[:]) &&
bytes.Equal(typeRoot[:], zRoot[:])
}
Expand Down

0 comments on commit dc5255e

Please sign in to comment.