Skip to content

Commit

Permalink
Adapt Go code to XDR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Aug 22, 2023
1 parent 2c9fa4f commit 62ede7b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cmd/soroban-rpc/internal/test/simulate_transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,9 @@ func TestSimulateTransactionSucceeds(t *testing.T) {
},
},
},
Instructions: 73776,
ReadBytes: 40,
WriteBytes: 112,
ContractEventsSizeBytes: 0,
Instructions: 73776,
ReadBytes: 40,
WriteBytes: 112,
},
RefundableFee: 1,
}
Expand Down Expand Up @@ -439,7 +438,6 @@ func TestSimulateInvokeContractTransactionSucceeds(t *testing.T) {
assert.NoError(t, err)

assert.NotZero(t, obtainedTransactionData.RefundableFee)
assert.NotZero(t, obtainedTransactionData.Resources.ContractEventsSizeBytes)
assert.NotZero(t, obtainedTransactionData.Resources.Instructions)
assert.NotZero(t, obtainedTransactionData.Resources.ReadBytes)
assert.NotZero(t, obtainedTransactionData.Resources.WriteBytes)
Expand Down

0 comments on commit 62ede7b

Please sign in to comment.