Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechos committed Jan 17, 2025
1 parent 5859fac commit 8eb5993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/trace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func TestTraceTransaction(t *testing.T) {
hash := utils.HexToFelt(t, "0xBBBB")
// Receipt() returns error related to db
mockReader.EXPECT().Receipt(hash).Return(nil, nil, uint64(0), db.ErrKeyNotFound)
mockSyncReader.EXPECT().PendingBlock().Return(nil)
mockSyncReader.EXPECT().Pending().Return(&sync.Pending{Block: &core.Block{}}, nil)

trace, httpHeader, err := handler.TraceTransaction(context.Background(), *hash)
assert.Nil(t, trace)
Expand Down

0 comments on commit 8eb5993

Please sign in to comment.