[英]Polkadot how to use/modify Frontier in a parachain project with certain Substrate version - Rust Dependency management
我在 Polkadot Rust 中遇到了依赖地狱,那是当我尝试使用 Frontier 构建平行链( https://github.com/substrate-developer-hub/substrate-parachain-template )时,我试图确保Parachain 和 Frontier 都基于相同版本的基板 ( https://github.com/paritytech/substrate ),但 Frontier 存储库没有基于基板 polkadot-v0.9.17 的版本。
checkout a branch polkadot-v0.9.17 in Frontier在 Frontier 中签出一个分支 polkadot-v0.9.17
in above Frontier branch, replace all substrate dependencies with branch = "polkadot-v0.9.17"在上面的 Frontier 分支中,将所有基板依赖项替换为 branch = "polkadot-v0.9.17"
then delete the template folder or if you want to fix the code in it然后删除模板文件夹,或者如果您想修复其中的代码
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.