Skip to content

Commit

Permalink
Sylvia tutorial fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jawoznia committed Dec 12, 2024
1 parent aeb3577 commit e887e8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/tutorial/sylvia-contract/entry-points.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ to manually create them, and we can rely on a macro to do that for us.

Let's add the [`entry_points`](../../sylvia/macros/entry-points) attribute macro to our contract:

```rust {3, 7} copy filename="src/contract.rs" template="sylvia/empty"
```rust {3, 7} copy filename="src/contract.rs" template="sylvia-empty"
use sylvia::ctx::InstantiateCtx;
use sylvia::cw_std::{Response, StdResult};
use sylvia::{contract, entry_points};
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tutorial/sylvia-contract/first-messages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub mod contract;

Now let's create an `instantiate` method for our contract. In `src/contract.rs`

```rust copy filename="src/contract.rs" template="sylvia/empty"
```rust copy filename="src/contract.rs" template="sylvia-empty"
use sylvia::cw_std::{Response, StdResult};
use sylvia::contract;
use sylvia::ctx::InstantiateCtx;
Expand Down

0 comments on commit e887e8c

Please sign in to comment.