Skip to content

Commit

Permalink
Add comment about the ID
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed May 23, 2024
1 parent b4e70c6 commit 5049f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/core/entrypoints/reply.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ and set it to one of the following values:

```rust filename="contract.rs" template="core"
const CONTRACT_ADDR: &str = "other_contract";
const SUBMSG_ID: u64 = 1;
const SUBMSG_ID: u64 = 1; // This is a unique identifier so we can associate a reply with a specific submessage. It can be any numeric value.

#[entry_point]
pub fn reply(deps: DepsMut, env: Env, msg: cosmwasm_std::Reply) -> StdResult<Response> {
Expand Down

0 comments on commit 5049f83

Please sign in to comment.