Skip to content

Commit 1f8ff93

Browse files
committed
Sylvia: Provide more links in the interoperability section
1 parent c8d5631 commit 1f8ff93

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/pages/sylvia/basics/interoperability.mdx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ We can send messages from Sylvia as we would from any CosmWasm contract.
2424
Execute messages in Sylvia return the
2525
[`Response`](https://docs.rs/cosmwasm-std/latest/cosmwasm_std/struct.Response.html)
2626
on which we can call the
27-
[`add_message`](https://docs.rs/cosmwasm-std/latest/cosmwasm_std/struct.Response.html#method.add_message).
27+
[`add_message`](https://docs.rs/cosmwasm-std/latest/cosmwasm_std/struct.Response.html#method.add_message)
28+
or
29+
[`add_messages](https://docs.rs/cosmwasm-std/latest/cosmwasm_std/struct.Response.html#method.add_messages).
2830

2931
```rust
3032
#[sv::msg(exec)]
@@ -57,7 +59,8 @@ fn external_count(&self, ctx: QueryCtx) -> StdResult<ExternalResponse> {
5759
```
5860

5961
As you see, we can send messages from the Sylvia contract as we would in case of
60-
a CosmWasm contract.
62+
a CosmWasm contract. You can check generated messages
63+
[here](../macros/generated-types/message-types).
6164

6265
Although we could send messages to Sylvia contract in the same way, we recommend
6366
using the [`ExecutorBuilder`](../types/communication#executorbuilder) and
@@ -123,5 +126,6 @@ let cosmwasm_contract = app
123126
```
124127

125128
After that testing will be the same as with any CosmWasm and Sylvia contract.
126-
Check documentation about testing Sylvia's contract [`here`](../types/multitest)
127-
and about testing CosmWasm contracts [`here`](../../cw-multi-test).
129+
Check out the documentation about testing Sylvia's contract
130+
[`here`](../types/multitest) and about testing CosmWasm contracts
131+
[`here`](../../cw-multi-test).

0 commit comments

Comments
 (0)