All Questions
Tagged with substrate-node-template macro
3 questions
1
vote
2
answers
150
views
Resolving Sandbox Host Function Access After Deprecation in Polkadot v0.9.35
I am currently working on a Substrate-based solo chain that has migrated from polkadot-v0.9.34 to polkadot-v0.9.35 and is now on the stable branch 2409. In v0.9.35, the Sandbox host functions were ...
0
votes
1
answer
79
views
Error in Substrate "use macros in a custom pallet" tutorial
I'm currently trying this substrate tutorial, but it got stuck.
Following the tutorial, I coded lib.rs file like this.
#![cfg_attr(not(feature = "std"), no_std)]
pub use pallet::*;
#[...
7
votes
2
answers
90
views
What are the differences between using declarative and attribute macros in FRAME?
What's the main difference (besides the code) between using the decl_storage! macro rule and using the [pallet::storage] macro?
I've seen pretty much everyone using macro rules, but on the latest ...