Skip to content

Commit

Permalink
updated test threshold interval for larger inst padding on fees
Browse files Browse the repository at this point in the history
  • Loading branch information
sreuland committed Dec 12, 2023
1 parent d46c0ac commit 8c70a13
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 @@ -244,7 +244,7 @@ func TestSimulateTransactionSucceeds(t *testing.T) {
err := xdr.SafeUnmarshalBase64(result.TransactionData, &transactionData)
assert.NoError(t, err)
assert.Equal(t, expectedTransactionData.Resources.Footprint, transactionData.Resources.Footprint)
assert.InDelta(t, uint32(expectedTransactionData.Resources.Instructions), uint32(transactionData.Resources.Instructions), 200000)
assert.InDelta(t, uint32(expectedTransactionData.Resources.Instructions), uint32(transactionData.Resources.Instructions), 3200000)
assert.InDelta(t, uint32(expectedTransactionData.Resources.ReadBytes), uint32(transactionData.Resources.ReadBytes), 10)
assert.InDelta(t, uint32(expectedTransactionData.Resources.WriteBytes), uint32(transactionData.Resources.WriteBytes), 300)
assert.InDelta(t, int64(expectedTransactionData.ResourceFee), int64(transactionData.ResourceFee), 3000)
Expand Down

0 comments on commit 8c70a13

Please sign in to comment.