Skip to content

Commit

Permalink
Be less strict about diagnostic events length
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Jun 3, 2024
1 parent 2fa1e37 commit 190fd4a
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 @@ -597,7 +597,7 @@ func TestSimulateTransactionError(t *testing.T) {
result := simulateTransactionFromTxParams(t, client, params)
assert.Greater(t, result.LatestLedger, uint32(0))
assert.Contains(t, result.Error, "MissingValue")
require.Len(t, result.Events, 1)
require.GreaterOrEqual(t, len(result.Events), 1)
var event xdr.DiagnosticEvent
require.NoError(t, xdr.SafeUnmarshalBase64(result.Events[0], &event))
}
Expand Down

0 comments on commit 190fd4a

Please sign in to comment.