Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust_State_Machine: Fix 2.1 video link + minor typos #137

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Rust_State_Machine/en/Section_2/Lesson_1_System_Pallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Then you will integrate both the Balances Pallet and System Pallet into your sta

# Introduce the System Pallet

[Youtube](https://www.youtube.com/watch?v=ROioE9Tlrmc)
[Youtube](https://www.youtube.com/watch?v=8Tyhf6jtHpI)

We have basically completed the creation of a basic Balances Pallet. This is the pallet that most users will interact with.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ So when adding a new variant to `RuntimeCall`, it should look something like:

```rust
pub enum RuntimeCall {
BalancesTransfer { to: types::AccountId, amount: types;:Balance },
BalancesTransfer { to: types::AccountId, amount: types::Balance },
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ We want to make our code more modular and extensible.

Currently, all dispatch happens through the `RuntimeCall`, which is hardcoding dispatch logic for each of the Pallets in our system.

What we would prefer is for Pallet level dispatch logic to live in the Pallet itself, and our Runtime taking advantage of that. We ave already seen end to end what it takes to set up call dispatch, so let's do it again at the Pallet level.
What we would prefer is for Pallet level dispatch logic to live in the Pallet itself, and our Runtime taking advantage of that. We have already seen end to end what it takes to set up call dispatch, so let's do it again at the Pallet level.

## Pallet Call

Expand Down
Loading