Skip to content

Commit

Permalink
Template for IBC example (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
hashedone authored Aug 12, 2024
2 parents faabf08 + a1b449c commit 88d3ed2
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 20 deletions.
24 changes: 12 additions & 12 deletions docs-test-gen/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"gray-matter": "^4.0.3",
"husky": "^9.0.11",
"postcss": "^8.4.38",
"prettier": "3.3.2",
"prettier": "3.3.3",
"prettier-plugin-tailwindcss": "^0.6.5",
"tailwindcss": "^3.4.4"
}
Expand Down
4 changes: 1 addition & 3 deletions src/pages/ibc/existing-protocols.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,7 @@ need for validation.

This is how you can implement the `ibc_source_callback` entrypoint:

{/* TODO: Add template="core" when cosmwasm 2.1.1 is released (fields are currently private) */}

```rust
```rust template="core"
#[cfg_attr(not(feature = "library"), entry_point)]
pub fn ibc_source_callback(
deps: DepsMut,
Expand Down

0 comments on commit 88d3ed2

Please sign in to comment.