Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Dec 20, 2024
1 parent d1149aa commit 323d75d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/build/guides/testing/mocking.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ impl Pause {
}
```

This is one reason why it's helpful to test and fuzz using real dependencies and to code defensively assuming any external contract call could cause your contract to fail. See [Integration Tests] for how to test with real contracts.
This is one reason why it's helpful to test and fuzz using real dependencies and to code defensively assuming any external contract call could cause your contract to fail.

See [Integration Tests] for how to test with real contracts.

The [Soroban Rust SDK] handles contract calls defensively so that any unexpected error or unexpected type returned from the called contract will cause execution to stop. The SDK also provides methods to make these calls and to intercept error situations. See [Making Cross-Contract Calls] for more details.

Expand Down

0 comments on commit 323d75d

Please sign in to comment.