Skip to content

Commit 7f6289d

Browse files
committed
chore: placate the linter
1 parent 05463ce commit 7f6289d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/types/rlp_backwards_compat.libevm_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ func TestBodyRLPBackwardsCompatibility(t *testing.T) {
121121
}
122122
}
123123

124+
//nolint:thelper
124125
func testBodyRLPBackwardsCompatibility(t *testing.T, seed uint64) {
125126
rng := ethtest.NewPseudoRand(seed)
126127

@@ -205,14 +206,19 @@ func testBodyRLPBackwardsCompatibility(t *testing.T, seed uint64) {
205206
}
206207
}
207208

209+
// txComparer returns an equality checker for use with [cmp.Comparer].
208210
func txComparer(tb testing.TB) func(_, _ *Transaction) bool {
211+
tb.Helper()
209212
return func(a, b *Transaction) bool {
213+
tb.Helper()
214+
210215
if a == nil && b == nil {
211216
return true
212217
}
213218
if a == nil || b == nil {
214219
return false
215220
}
221+
216222
aBuf, err := a.MarshalBinary()
217223
require.NoErrorf(tb, err, "%T.MarshalBinary()", a)
218224
bBuf, err := b.MarshalBinary()

0 commit comments

Comments
 (0)