【问题标题】:Getting error while while adding contracts-pallet添加合同托盘时出错
【发布时间】:2021-06-11 10:43:16
【问题描述】:
 --- stderr
 Compiling node-template-runtime v3.0.0 (/root/substrate-node-template/runtime)

错误:预期之一:PalletCallStorageEventConfigOriginInherentValidateUnsigned --> /root/substrate-node-template/runtime/src/lib.rs:350:33 | 350 |合约:pallet_contracts::{Module, Call, Config, Storage, Event}, | ^^^^^^

【问题讨论】:

    标签: contract pallet


    【解决方案1】:

    基于 Parity Technologies 某人在 Polka Dot Discord 服务器中的 this answer,似乎不推荐使用 Module 以支持 Pallet。本教程可能需要针对新语法重新编写。

    【讨论】:

      猜你喜欢
      • 2022-05-31
      • 2022-01-14
      • 2021-09-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-05-28
      相关资源
      最近更新 更多