Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Substrate and Polkadot Stack Exchange is a question and answer site for developers building blockchains with the Substrate SDK. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
8 months ago
This question already has an answer here:
9 months ago.
error[E0158]: associated consts cannot be referenced in patterns
8 | / /// Defines the storage of your contract.
9 | | /// Add new fields to the below struct in order
10 | | /// to add new static storage fields to your contract.
11 | | #[ink(storage)]
14 | | value: bool,
15 | | }
2,349 3 3 silver badges 14 14 bronze badges
Sep 14, 2022 at 9:51
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only