I am getting error in #[pallet::generate_store(pub(super) trait Store)] which is showing deprecated warning due to which I could not compile my custom pallet is there any solution

1 Answer 1


Simply remove that line.

#[pallet::generate_store(pub(super) trait Store)]

For more detail, check https://github.com/paritytech/substrate/pull/13535.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.