1

我从 Ink 存储库 (erc20) 下载了智能合约并构建它,并构建元数据。之后我下载了它,当我尝试部署时,出现这样的错误:更改图像

来自浏览器控制台的日志

sendExtrinsic:: {"args":["10.000M Unit","500,000","0x3e1d2b076ae57e296098e162294676e3ff41baa7bc0b78c0b8a826393775169d","0x5ebd88d600000000000000000000000000000000"],"callIndex":"0x1103","method":"instantiate","section":"contracts "} main.a12dd3e8.js:351 makeExtrinsicCall: extrinsic :: 0xad0284ff8eaf04151687736326c9fea17e25fc5287613693c912909cb226aa4794f26a480142424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242760008001103130000e8890423c78a82841e003e1d2b076ae57e296098e162294676e3ff41baa7bc0b78c0b8a826393775169d505ebd88d600000000000000000000000000000000 main.a12dd3e8.js:351 makeExtrinsicCall: updated status :: {"events":[],"status":{"就绪”:null}} main.a12dd3e8.js:351 makeExtrinsicCall:更新状态 :: {“事件”:[{“阶段”:{“应用外部”:2},“事件”:{“索引”:“0x0c06” ,"data":[1375382416168]},"topics":[]},{"phase":{"ApplyExtrinsic":2},"event":{"index":"0x0001","data":[{ "其他":null},{"weight":500000,"class":"Normal","paysFee":"Yes"}]},"topics":[]}],"status":{"InBlock" :"0x2deed44e09a1552c2b1594515d01e64a5f3753085b34a7dbd889ed5036c873e6"}}"data":[1375382416168]},"topics":[]},{"phase":{"ApplyExtrinsic":2},"event":{"index":"0x0001","data":[{"其他":null},{"weight":500000,"class":"Normal","paysFee":"Yes"}]},"topics":[]}],"status":{"InBlock": “0x2deed44e09a1552c2b1594515d01e64a5f3753085b34a7dbd889ed5036c873e6”}}"data":[1375382416168]},"topics":[]},{"phase":{"ApplyExtrinsic":2},"event":{"index":"0x0001","data":[{"其他":null},{"weight":500000,"class":"Normal","paysFee":"Yes"}]},"topics":[]}],"status":{"InBlock": “0x2deed44e09a1552c2b1594515d01e64a5f3753085b34a7dbd889ed5036c873e6”}}0x2deed44e09a1552c2b1594515d01e64a5f3753085b34a7dbd889ed5036c873e6"}}0x2deed44e09a1552c2b1594515d01e64a5f3753085b34a7dbd889ed5036c873e6"}}

4

1 回答 1

1

有一个 PR 可以解决这个问题。https://github.com/polkadot-js/apps/pull/2873

PR https://github.com/paritytech/substrate/pull/5712引入了重大更改,UI 无法处理此更改,直到https://github.com/polkadot-js/apps/issues/2604得到解决。

于 2020-06-04T10:02:09.557 回答