【发布时间】:2022-05-17 00:28:30
【问题描述】:
我正在关注https://docs.substrate.io/tutorials/v3/forkless-upgrades/ 并添加了
pallet-scheduler = { default-features = false, git = \"https://github.com/paritytech/substrate.git\", branch = \"polkadot-v0.9.19\" } 给我的Cargo.toml。
这似乎是一个较新的版本,需要我在pallet_scheduler::Config 中指定NoPreimagePostponement 和PreimageProvider。
这是确切的错误消息:
error[E0046]: not all trait items implemented, missing: PreimageProvider, NoPreimagePostponement
我应该将这些值设置为什么? https://docs.rs/pallet-scheduler/latest/pallet_scheduler/trait.Config.html 似乎也没有这些属性,我猜这个箱子还没有发布。
-
substrate.stackexchange.com 是一个更好的寻求帮助的地方——我真的建议在 github 上报告有关此文档的问题/错误 -github.com/substrate-developer-hub/substrate-docs 但是该站点有一个新版本,因此 URL 已更改!
标签: substrate