canvas-ui
canvas-ui copied to clipboard
Can't instantiate specific contract twice
found in: current master (a9073cf1)
A strange issue has been observed while trying to make another instance of the following contract.
Steps to reproduce:
- Go to
/instantiateandUpload & Instantiate Contractusing thecandle_auction.contract - Go through constructor steps, send transaction. The contract successfully deployed.
- Then, go to
/instantiateonce again, and clickInstantiateon the same code bundle. - The following error appears:
Uncaught error. Something went wrong with the query and rendering of this component. registry is undefined
Meanwhile,
- repeating the same steps for
erc721contract works well leading to second contract instance creation view; - deploying a second instance of the very same
candle_auctioncontract code bundle through PolkadotJS works fine.
Can you try here please? https://paritytech.github.io/substrate-contracts-explorer/#/ Canvas UI will be replaced and we'll update the tutorials very soon.
Can you try here please? https://paritytech.github.io/substrate-contracts-explorer/#/
on this one it stucks with
instantiateWithCode
processing...
while first instantiation of candle_auction.contract.
But works with erc721.contract
i am looking into this!
can you make a screenshot of the params you are passing in apps where you are able to instantiate properly?
just to exclude the possibility i am passing something wrong
Sure, with the following params its instantiates properly in PolkadotJS/apps

thanks for this! i made these 2 issues in the new app. you are our first external user 🙂
https://github.com/paritytech/substrate-contracts-explorer/issues/162 https://github.com/paritytech/substrate-contracts-explorer/issues/161
until we implement these i suggest using polkadot.js apps (which I assume works fine)
thanks for this! i made these 2 issues in the new app. you are our first external user slightly_smiling_face
Wow that's an honor! I'm happy to be here.
paritytech/substrate-contracts-explorer#162
paritytech/substrate-contracts-explorer#161
Btw, can I propose something in a new issue in that repo? I think I've got a feature request.
until we implement these i suggest using polkadot.js apps (which I assume works fine)
Yeah, that's what I do. Thankfully it has another issue fixed which was a show stopper for my use case. Now it works fine, true. Thanks!
Btw, can I propose something in a new issue in that repo? I think I've got a feature request.
sure, go ahead!