Module is not recognised when i try to build my node after creating my pallet
Asked
Active
Viewed 120 times
1 Answers
0
Make sure your pallet is on the same version of Substrate as the one defined in runtime/Cargo.toml.
You are probably using the Frame v2 (aka Substrate 3.0.0) in your runtime, so it expects a Pallet (not Module), even if your pallet is actually written following Frame v1 syntax (Frame v2 is backwards compatible with v1). Some more info here

fbielejec
- 3,492
- 4
- 27
- 35
-
Hello, Thanks for your reply. My version in my pallet is the same as that defined in my node. And this was the tutorial i followed https://substrate.dev/docs/en/tutorials/create-a-pallet/ Did everthing the tutorial asked me too – dharjeezy Jul 11 '21 at 07:23
-
line 295 Module => Pallet – fbielejec Jul 11 '21 at 07:30