Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Oct 23, 2023
1 parent a65358a commit d9f8aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-rpc/internal/test/simulate_transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ func TestSimulateSystemEvent(t *testing.T) {
err = xdr.SafeUnmarshalBase64(response.TransactionData, &transactionData)
require.NoError(t, err)

assert.InDelta(t, 7260, uint32(transactionData.Resources.ReadBytes), 200)
assert.InDelta(t, 7464, uint32(transactionData.Resources.ReadBytes), 200)
assert.InDelta(t, 98339, int64(transactionData.ResourceFee), 2000)
assert.InDelta(t, 104, uint32(transactionData.Resources.WriteBytes), 15)
require.GreaterOrEqual(t, len(response.Events), 3)
Expand Down

0 comments on commit d9f8aff

Please sign in to comment.