底物分叉升级教程,Pallet_scheduler有破坏性的更改
pallet-scheduler = {default-features = false,git =“ https://github.com/paritytech/substrate.git”,branch =“ polkadot-v0.9.9.19” }
到我的cargo.toml
。
看来这似乎是一个较新的版本,需要我指定nopreimagePostponement
和preimageProvider
in pallet_scheduler :: config
。
这是确切的错误消息: 错误[E0046]:并非所有已实施的特征项目,缺少:preimageProvider,nopreimagePostponement
我应该设置这些值是什么? httpps:> https:// https://pallet-scheduler/pallet-scheduler/pallatest/pallatest/pallet_sscheded_ssched_sschsche- trait.config.html 似乎还没有这些属性,我猜板条箱尚未发布。
I am following https://docs.substrate.io/tutorials/v3/forkless-upgrades/ and have added
pallet-scheduler = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.19" }
to my Cargo.toml
.
It seems that this appears to be a newer version and requires me to specify NoPreimagePostponement
and PreimageProvider
in pallet_scheduler::Config
.
Here is the exact error message:error[E0046]: not all trait items implemented, missing: PreimageProvider, NoPreimagePostponement
What should I set those value to be? https://docs.rs/pallet-scheduler/latest/pallet_scheduler/trait.Config.html doesn't seem to also have those properties and I'm guessing that the crate hasn't been published yet.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
关联的拉请请求提到了必要的更改。简而言之,只需设置以下内容即可模仿所需的行为:
The associated pull request mentions the changes necessary. In short, just set the following to imitate the desired behavior: