Skip to content

Commit

Permalink
more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi committed Nov 29, 2024
1 parent 9748aa6 commit 69e983f
Show file tree
Hide file tree
Showing 54 changed files with 162 additions and 0 deletions.
3 changes: 3 additions & 0 deletions steps/1/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/10/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/11/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/12/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/13/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/14/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/15/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/16/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/17/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/18/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/19/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/2/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/20/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/21/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/22/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/23/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/24/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/25/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/26/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/27/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/28/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/29/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/3/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/30/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/31/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/32/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/33/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/34/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/35/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/36/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/37/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/38/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/39/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/4/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/40/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/41/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/42/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/43/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/44/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
3 changes: 3 additions & 0 deletions steps/45/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ mod runtime {
)]
#[runtime::runtime]
/// The "test runtime" that represents the state transition function for our blockchain.
///
/// The runtime is composed of individual modules called "pallets", which you can see below.
/// Each pallet has its own logic and storage, all of which can be combined together.
pub struct TestRuntime;

/// System: Mandatory system pallet that should always be included in a FRAME runtime.
Expand Down
Loading

0 comments on commit 69e983f

Please sign in to comment.