Skip to content
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 actions #10

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Add actions #10

wants to merge 4 commits into from

Conversation

kovalgek
Copy link
Contributor

@kovalgek kovalgek commented Feb 4, 2025

Add possibility to provide actions instead of steps in a format: fork, deploy, verify, check or all

Copy link
Contributor

@TheDZhon TheDZhon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤟 thank you! a few suggestions only

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated
- `fork` - deploy and test on forked network
- `deploy` - deploy on live network
- `verify` - verify on live network
- `check` - check on live network
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the difference between verify and check maybe not so clear for external viewers

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is check == test or what?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'verify' step is about contracts source code verification. Since it is somewhat unstable (requiring a wait for the block explorer to recognize the address as a contract and multiple attempts), I have placed it in a separate action.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's name it publish-sources?

README.md Outdated Show resolved Hide resolved
@kovalgek kovalgek requested a review from TheDZhon February 6, 2025 14:12

function parseCmdLineArgs() {
program
.argument("<config-path>", "path to .yaml config file")
.option("--onlyCheck", "only check the real network deployment")
.option("--onlyForkDeploy", "only deploy to the forked network")
.option("--actions [actions...]", "list of actions: fork deploy verify check", ["all"])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From this line the format of the list isn't clear. Let's provide an example, smth like:

"list of actions: 'fork' 'deploy' 'verify' 'check'". E.g. "[deploy,verify,check]". Default ["all"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants