gpt4 book ai didi

substrate - 使用自定义 Substrate 节点名称(Substrate FRAME pallet + Polkadot/Substrate frontend)

转载 作者:行者123 更新时间:2023-12-05 02:04:13 25 4
gpt4 key购买 nike

场景:您想要向您的自定义提交一个外部 Substrate节点 基于 substrate-node-template通过使用 Polkadot/Substrate frontend .您通过仔细搜索和替换所有出现的 substarte-node-template 或使用 danforbes renaming script 手动重命名了 Substrate 节点

问题:当您尝试使用 Polkadot/Substrate 前端提交外部到您的 Substrate 节点时,您会收到一条前端错误消息 :

1002: Verification Error: Execution: Could not convert parameter tx between node and runtime: No such variant in enum MultiSignature: RuntimeApi, Execution: Could not convert parameter tx between node and runtime: No such variant in enum MultiSignature

最佳答案

解决方案:JoshOrndorffGithub issue 中说明:

[...] The problem now is because the UI needs to know the types your nodeuses. When you use the node template, the UI detects it, and uses theappropriate types for you. Sine you have renamed your template, the UIcannot tell that it is still basically the node template, so you needto add your own custom types. In the Apps UI, go the the developersettings, and enter:

{
"Address": "AccountId",
"LookupSource": "AccountId"
}

关于substrate - 使用自定义 Substrate 节点名称(Substrate FRAME pallet + Polkadot/Substrate frontend),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64609060/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com