diff --git a/src/2/README.md b/src/2/README.md index f6c6002a..4c64326e 100644 --- a/src/2/README.md +++ b/src/2/README.md @@ -15,12 +15,12 @@
- +
-
+
-```toml -{{#include ./source/Cargo.toml}} +```rust +{{#include ./source/src/lib.rs}} ```
diff --git a/src/2/source/Cargo.toml b/src/2/source/Cargo.toml index a79e5621..0c9b8b8d 100644 --- a/src/2/source/Cargo.toml +++ b/src/2/source/Cargo.toml @@ -14,7 +14,6 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = ["derive"] } scale-info = { version = "2.11.1", default-features = false, features = ["derive"] } -# 🚧 TODO 🚧: Learn about the Polkadot SDK and FRAME. frame = { package = "polkadot-sdk-frame", version = "0.6.0", default-features = false, features = ["experimental", "runtime"] } [features] diff --git a/src/2/source/changes.diff b/src/2/source/changes.diff index 32ea63d2..fb1b5c4c 100644 --- a/src/2/source/changes.diff +++ b/src/2/source/changes.diff @@ -1,12 +1,12 @@ -diff --git a/Cargo.toml b/Cargo.toml -index 0c9b8b8..a79e562 100644 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -14,6 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"] - [dependencies] - codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = ["derive"] } - scale-info = { version = "2.11.1", default-features = false, features = ["derive"] } -+# 🚧 TODO 🚧: Learn about the Polkadot SDK and FRAME. - frame = { package = "polkadot-sdk-frame", version = "0.6.0", default-features = false, features = ["experimental", "runtime"] } +diff --git a/src/lib.rs b/src/lib.rs +index 7b6c6a2..0f7bcee 100644 +--- a/src/lib.rs ++++ b/src/lib.rs +@@ -2,6 +2,7 @@ + + mod impls; + ++/* 🚧 TODO 🚧: Learn about the Polkadot SDK and FRAME. */ + use frame::prelude::*; + pub use pallet::*; - [features] diff --git a/src/2/source/src/lib.rs b/src/2/source/src/lib.rs index 7b6c6a21..0f7bcee9 100644 --- a/src/2/source/src/lib.rs +++ b/src/2/source/src/lib.rs @@ -2,6 +2,7 @@ mod impls; +/* 🚧 TODO 🚧: Learn about the Polkadot SDK and FRAME. */ use frame::prelude::*; pub use pallet::*; diff --git a/src/3/README.md b/src/3/README.md index 623e6b1b..4c64326e 100644 --- a/src/3/README.md +++ b/src/3/README.md @@ -15,18 +15,9 @@
- - +
-
- -```toml -{{#include ./source/Cargo.toml}} -``` - -
- -
+
```rust {{#include ./source/src/lib.rs}} diff --git a/src/3/source/changes.diff b/src/3/source/changes.diff index f3cf6796..7e1a3ef1 100644 --- a/src/3/source/changes.diff +++ b/src/3/source/changes.diff @@ -1,20 +1,12 @@ -diff --git a/Cargo.toml b/Cargo.toml -index a79e562..0c9b8b8 100644 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -14,7 +14,6 @@ targets = ["x86_64-unknown-linux-gnu"] - [dependencies] - codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = ["derive"] } - scale-info = { version = "2.11.1", default-features = false, features = ["derive"] } --# 🚧 TODO 🚧: Learn about the Polkadot SDK and FRAME. - frame = { package = "polkadot-sdk-frame", version = "0.6.0", default-features = false, features = ["experimental", "runtime"] } - - [features] diff --git a/src/lib.rs b/src/lib.rs -index 7b6c6a2..8aa7c5b 100644 +index 0f7bcee..8aa7c5b 100644 --- a/src/lib.rs +++ b/src/lib.rs -@@ -5,6 +5,7 @@ mod impls; +@@ -2,10 +2,10 @@ + + mod impls; + +-/* 🚧 TODO 🚧: Learn about the Polkadot SDK and FRAME. */ use frame::prelude::*; pub use pallet::*;