Skip to content

Commit b63ffe4

Browse files
committed
gci
1 parent 84e74d8 commit b63ffe4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

cmd/mel-replay/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ package main
55

66
import (
77
"github.com/ethereum/go-ethereum/common"
8+
89
"github.com/offchainlabs/nitro/arbutil"
910
)
1011

cmd/mel-replay/receipt_fetcher_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ import (
99
"math/big"
1010
"testing"
1111

12+
"github.com/stretchr/testify/require"
13+
1214
"github.com/ethereum/go-ethereum/common"
1315
"github.com/ethereum/go-ethereum/core/types"
1416
"github.com/ethereum/go-ethereum/crypto"
1517
"github.com/ethereum/go-ethereum/trie"
18+
1619
"github.com/offchainlabs/nitro/arbutil"
17-
"github.com/stretchr/testify/require"
1820
)
1921

2022
func TestFetchReceiptFromBlock_Multiple(t *testing.T) {
@@ -112,7 +114,7 @@ func createTestReceipts(count int) types.Receipts {
112114
Logs: []*types.Log{},
113115
BlockHash: common.BytesToHash([]byte("foobar")),
114116
BlockNumber: big.NewInt(100),
115-
TransactionIndex: uint(i),
117+
TransactionIndex: uint(i), // #nosec G115
116118
}
117119
receipt.Bloom = types.BytesToBloom(make([]byte, 256))
118120
receipts[i] = receipt

0 commit comments

Comments
 (0)