Conversation
ascjones
left a comment
There was a problem hiding this comment.
Can see it's still a WIP but looks reasonable so far. The main thing to check is about that dry-run endpoint on pallet-contracts. We may want to consider that it is not necessary in this case to do the dry-run since we don't need the gas limit estimate like we do with other commands. The only thing to think about is how to elegantly handle the case where the code_has to be removed does not exist on chain.
|
Once #893 is merged we could use that too for determining the code hash |
ascjones
left a comment
There was a problem hiding this comment.
Looks good, I think we need the optional --code-hash arg back though.
SkymanOne
left a comment
There was a problem hiding this comment.
LGTM! Just a few nitpicks :)
Also, should we have a confirmation just in case?
ascjones
left a comment
There was a problem hiding this comment.
Just a few suggestions but we are nearly there!
ascjones
left a comment
There was a problem hiding this comment.
Please address the final couple of comments then we can merge 👍
|
Thanks for the final touches |
In the wake of this issue, #671
ToDo :