Skip to content

Commit

Permalink
update test constants.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsachiherman committed Sep 26, 2023
1 parent 251a331 commit 8a0cbbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/soroban-rpc/internal/test/simulate_transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ func TestSimulateTransactionSucceeds(t *testing.T) {
},
},
},
Instructions: 5733936,
Instructions: 6070660,
ReadBytes: 48,
WriteBytes: 6576,
WriteBytes: 7060,
},
RefundableFee: 20056,
}
Expand Down Expand Up @@ -1126,7 +1126,7 @@ func TestSimulateSystemEvent(t *testing.T) {
require.NoError(t, err)

assert.Equal(t, xdr.Int64(45), transactionData.RefundableFee)
assert.Equal(t, xdr.Uint32(2860), transactionData.Resources.ReadBytes)
assert.Equal(t, xdr.Uint32(7260), transactionData.Resources.ReadBytes)
assert.Equal(t, xdr.Uint32(104), transactionData.Resources.WriteBytes)
require.GreaterOrEqual(t, len(response.Events), 3)
}

0 comments on commit 8a0cbbe

Please sign in to comment.