Hi I am currently upgrading our runtime to Polkadot 1.0 but when I try to build it get the following errors
error[E0277]: the trait bound `MintingRateInfo: Deserialize<'_>` is not satisfied
--> /home/aibrayanov/Blockchain/metaverse_network/dev/pallets/estate/src/lib.rs:249:3
|
249 | pub minting_rate_config: MintingRateInfo,
| ^^^ the trait `Deserialize<'_>` is not implemented for `MintingRateInfo`
error[E0277]: the trait bound `MintingRateInfo: Serialize` is not satisfied
--> /home/aibrayanov/Blockchain/metaverse_network/dev/pallets/estate/src/lib.rs:61:1
|
61 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `MintingRateInfo`
This error occurs despite that both Serialize and Deserialize are enabled for MintingRateInfo type. The code can be found here
cfg(feature = "std")
stuff from theSerialize
/Deserialize
derives and see what errors come back, because that's the only thing that I can see that would lead to your error message.