将资产托盘集成到节点模板派生链中时导致错误签名的类型问题
types issue resulting in bad signature when integrating assets pallet into node-template derived chain
我认为,在将 pallet_assets 实施到节点模板时,类型有问题。尝试应用 https://github.com/paritytech/substrate/tree/efd262f1a791be0a7986b25bd302338a590b46d3/frame/assets#simple-code-snippet 中的总体思路时
见 -> https://github.com/Greenetwork/BLX_chain/blob/1a2f1f0f22f72c1795ff5900a62c8ccee69dbc23/pallets/allocator/src/lib.rs#L126
但包括 atokens: T::Balance 会导致错误的签名错误。我在前端缺少某种类型吗?我试过 "atoken" : "Balance" 没有运气
我认为,在将 pallet_assets 实施到节点模板时,类型有问题。尝试应用 https://github.com/paritytech/substrate/tree/efd262f1a791be0a7986b25bd302338a590b46d3/frame/assets#simple-code-snippet 中的总体思路时 见 -> https://github.com/Greenetwork/BLX_chain/blob/1a2f1f0f22f72c1795ff5900a62c8ccee69dbc23/pallets/allocator/src/lib.rs#L126 但包括 atokens: T::Balance 会导致错误的签名错误。我在前端缺少某种类型吗?我试过 "atoken" : "Balance" 没有运气