7

List of common beginner errors while writing code using Substrate

 2 years ago
source link: https://dev.to/nikania/list-of-common-beginner-errors-while-writing-code-using-substrate-4f08
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
nikania

Posted on Mar 21

List of common beginner errors while writing code using Substrate

I have started to study Substrate recently, and encountered a lot of simple but not-so-easy to solve errors. So I decided to make a list of them, for future use and for others)

  • error[E0432]: unresolved import pallet
    This is compile error caused by errors in
    pub mod pallet { <fix errors here> }

  • error: failed to download parity-db v0.2.2
    can be resolved by:

cargo update -p parity-db

Enter fullscreen mode

Exit fullscreen mode

  • many errors while building substrate-node-template often can be resolved with
cargo update -p <package causing problem>

Enter fullscreen mode

Exit fullscreen mode


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK