Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rianhughes committed Sep 19, 2024
1 parent 0025d39 commit 5890c48
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion vm/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ func (t *TransactionTrace) AllEvents() []OrderedEvent {

addEvents := func(invocation *FunctionInvocation) {
if invocation != nil {

allEvents := invocation.allEvents()
for _, event := range allEvents {
event.Order += uint64(globalOrder)
Expand Down
2 changes: 0 additions & 2 deletions vm/trace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ func TestRevertReason(t *testing.T) {
}).RevertReason())
}

//nolint:dupl
func TestAllEvents(t *testing.T) {
numEvents := uint64(10)
events := make([]vm.OrderedEvent, 0, numEvents)
Expand Down Expand Up @@ -73,7 +72,6 @@ func TestAllEvents(t *testing.T) {
}
}

//nolint:dupl
func TestAllMessages(t *testing.T) {
nummessages := uint64(10)
messages := make([]vm.OrderedL2toL1Message, 0, nummessages)
Expand Down

0 comments on commit 5890c48

Please sign in to comment.