Closed agryaznov closed 1 year ago
- Launch a local contracts-node with
substrate-contracts-node -linfo,runtime::contracts=debug
Those logging parameters are the defaults since a few versions ago btw.
Thanks for reporting this @agryaznov
I tried to reproduce it and it only happens with the old Contracts UI and nodes and only in the case of a CodeRejected
error so i don't think it's really worth fixing since it such an edge case. Will close this for now but if you think it's important, please reopen!
Describe the bug Seems that Contracts-UI keeps trying to upload the same contract which was rejected with
CodeRejected
again and again, until we leave the/instantiate
view.To Reproduce Steps to reproduce the behavior:
substrate-contracts-node -linfo,runtime::contracts=debug
CodeRejected
e.g thegreeter.contract
from this issue description.CodeRejected
error appeared in the Contract-UI, which is right.Expected behavior The error should have been raised only once on the node side.
Additional context With the same steps repeated in the PolkadotJS, the node raises the error just once, as expected.