使用Substrate开发区块链存证应用V2.0
jasonruan 2020.12.02
1 前言
本文是《使用Substrate开发区块链存证dApp》一文的更新,在一台全新服务器上,从零起步,采用最新的...,例如:
AccountId:谁触发了事件
Vec:存储或撤销的存证数据
3.2.6 定义错误
错误:可以展示pallet调用失败的时间,及失败原因。.../std',
'sp-api/std',
'sp-block-builder/std',
'sp-consensus-aura/std',
'sp-core/std',...'sp-inherents/std',
'sp-offchain/std',
'sp-runtime/std',
'sp-session/std',
'sp-std.../std',
'sp-transaction-pool/std',
'sp-version/std',
]
修改runtime/src/lib.rs
// 增加代码块
impl pallet_poe