Skip to content

Commit 3d56027

Browse files
committed
fix: correct formatting in mock runtime examples
1 parent 497f13d commit 3d56027

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

llms.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32553,13 +32553,13 @@ Your pallet is now complete with full testing and benchmarking support, ready fo
3255332553

3255432554
<div class="grid cards" markdown>
3255532555

32556-
- <span class="badge tutorial">Tutorial</span> __Deploy on Paseo TestNet__
32556+
- <span class="badge tutorial">Tutorial</span> __Runtime Upgrades__
3255732557

3255832558
---
3255932559

32560-
Deploy your Polkadot SDK blockchain on Paseo! Follow this step-by-step guide for a seamless journey to a successful TestNet deployment.
32560+
Learn how to safely perform runtime upgrades for your Polkadot SDK-based blockchain, including step-by-step instructions for preparing, submitting, and verifying upgrades.
3256132561

32562-
[:octicons-arrow-right-24: Get Started](/tutorials/polkadot-sdk/parachains/zero-to-hero/deploy-to-testnet/)
32562+
[:octicons-arrow-right-24: Get Started](/tutorials/polkadot-sdk/parachains/zero-to-hero/runtime-upgrade/)
3256332563

3256432564
</div>
3256532565
--- END CONTENT ---
@@ -32752,7 +32752,7 @@ Explanation of the additions:
3275232752

3275332753
Expand the following item to see the complete `mock.rs` implementation for the mock runtime.
3275432754

32755-
???-code "mock.rs"
32755+
??? code "mock.rs"
3275632756

3275732757
```rust title="mock.rs"
3275832758
use frame::{prelude::*, runtime::prelude::*, testing_prelude::*};
@@ -32877,7 +32877,7 @@ Unit testing a pallet involves creating a comprehensive test suite that validate
3287732877

3287832878
Expand the following item to see the pallet calls to be tested.
3287932879

32880-
???-code "Custom pallet calls"
32880+
??? code "Custom pallet calls"
3288132881

3288232882
```rust
3288332883
impl<T: Config> Pallet<T> {
@@ -33102,7 +33102,7 @@ fn user_interactions_increment() {
3310233102

3310333103
Expand the following item to see the complete `tests.rs` implementation for the custom pallet.
3310433104

33105-
???-code "tests.rs"
33105+
??? code "tests.rs"
3310633106

3310733107
```rust title="tests.rs"
3310833108
// This file is part of 'custom-pallet'.

tutorials/polkadot-sdk/parachains/zero-to-hero/pallet-unit-testing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Explanation of the additions:
6969
7070
Expand the following item to see the complete `mock.rs` implementation for the mock runtime.
7171
72-
???-code "mock.rs"
72+
??? code "mock.rs"
7373
7474
```rust title="mock.rs"
7575
--8<-- 'code/tutorials/polkadot-sdk/parachains/zero-to-hero/pallets/custom-pallet/src/mock.rs:20:62'
@@ -82,7 +82,7 @@ Unit testing a pallet involves creating a comprehensive test suite that validate
8282
8383
Expand the following item to see the pallet calls to be tested.
8484
85-
???-code "Custom pallet calls"
85+
??? code "Custom pallet calls"
8686
8787
```rust
8888
--8<-- 'code/tutorials/polkadot-sdk/parachains/zero-to-hero/pallets/custom-pallet/src/lib.rs:105:114'
@@ -140,7 +140,7 @@ Test that pallet operations modify the internal state correctly and maintain exp
140140
141141
Expand the following item to see the complete `tests.rs` implementation for the custom pallet.
142142
143-
???-code "tests.rs"
143+
??? code "tests.rs"
144144
145145
```rust title="tests.rs"
146146
--8<-- 'code/tutorials/polkadot-sdk/parachains/zero-to-hero/pallets/custom-pallet/src/tests.rs:20'

0 commit comments

Comments
 (0)