Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
augustbleeds committed Mar 8, 2024
1 parent 4d51a65 commit 516e994
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions relayer/pkg/chainlink/txm/txstore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ func TestTxStore(t *testing.T) {
require.NoError(t, s.Save(new(felt.Felt).SetUint64(4), "0x4", call, feltKey))
assert.Equal(t, 4, s.InflightCount())

// rejects old nonce
require.ErrorContains(t, s.Save(new(felt.Felt).SetUint64(0), "0xold", call, feltKey), "nonce too low: 0x0 < 0x3 (lowest)")
assert.Equal(t, 4, s.InflightCount())

// reject already in use nonce
require.ErrorContains(t, s.Save(new(felt.Felt).SetUint64(4), "0xskip", call, feltKey), "nonce used: tried to use nonce (0x4) for tx (0xskip), already used by (0x4)")
assert.Equal(t, 4, s.InflightCount())
Expand Down

0 comments on commit 516e994

Please sign in to comment.