-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add delivery of upgradeability milestone 1 #126
Conversation
Thanks for the delivery. We will look into it as soon as possible. |
@hugopeixoto I've started looking at your delivery today. First of all, the explanations behind the logic are quite clear. I've struggled to actually deploy the contracts & upgrade them as I was getting errors. So I thought - this must be because of me missing some steps...so I decided to automate the process and write some deployment scripts. I've forked your repo and created a TypeScript project there for the automation. It's not absolutely necessary to do this in an automated way in TS, although it would be preferable, as then it's much faster to reproduce. Otherwise, I would like to ask you for a step-by-step walkthrough in your README, where you describe the entire process (i.e. all the CLI steps as well as UI calls with inputs, parameters etc.) and ideally a video/screen recording. I hope the TS project I bootstrapped should make it more attractive to go for the automated method :) Let me know! |
Thanks for reviewing it. I'll take a look at the typescript automation. I wasn't able to call the contracts directly without increasing the gas amount, maybe because the estimator doesn't properly account for cross contract calling. I also had to increase the initial endowment. I think I can make a small video reproducing it from scratch. |
I've managed to get the typescript automation working. I've merged it to the main branch, but here's the PR: trustfractal/ink-upgrade-template#1 I added my changes to your initial PR in a single commit, if you're interested in what I had to fix. It was mostly waiting for transactions to finish. I used this repository as inspiration for the wait code: https://github.com/naps62/ink-deployer |
I've submitted one final PR to include the instructions on how to run the automated workflow. Am I right in thinking that you would need to wait for dynamic trait based contract calling (issue and PR) in order to take your work further, as described in your readme? In the meantime, in case you are interested in working on other projects in the ecosystem, we have a couple of RFPs open, including an implementation of candle auctions within a smart contract. |
Thanks, it's merged.
Thank you for helping. The typescript bootstrap really helped me getting started with the automation.
Yes, having trait support would let us improve our solution, but the linked PR is not sufficient. I asked in the PR if it would cover what we need to fix our typing, but it seems like it won't. Every reference to |
Update google_sheet_update.yml
Milestone Delivery Checklist