This repository has been archived by the owner on Nov 27, 2024. It is now read-only.
Set deploy config to be updatable/deletable by default for CI/CD success #28
Labels
enhancement
New feature or request
Setting the HelloWorldApp delete & update parameters to
is_local
andon_update
behavior to be dependent on the network on which it is deployed (UpdateApp
locally butFail
on any other network) creates an unintuitive foot-gun for developers new to AlgoKit.This is because the default behavior will work smoothly on the Localnet but then sets the developer up for the GH Actions workflow to fail the first time an updated contract is pushed to GH.
The automated deploy-testnet job will attempt to update the testnet contact, but it will have defaulted to being non-updatable/deletable unless the developer has thought to reconfigure this:
To something like:
I think this would both better demonstrate the idempotent deployment approach harmoniously with the automated CI/CD and also be a reasonably good practice for production smart contract development until the developer makes a conscious decision to have the contract be permanent and/or immutable.
The text was updated successfully, but these errors were encountered: