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

Refactor and clean up the deployment shell scripts #209

Open
matjazv opened this issue Oct 24, 2024 · 0 comments
Open

Refactor and clean up the deployment shell scripts #209

matjazv opened this issue Oct 24, 2024 · 0 comments

Comments

@matjazv
Copy link
Contributor

matjazv commented Oct 24, 2024

Description

Refactor and clean up the deployment shell scripts (1_deployTokenContracts.sh, 2_deployStakingAndGovernance.sh, etc.).
Extract common code and logic into functions and use them instead of repeated code inside each of these scripts. Also, the if..else..fi code blocks can be refactored as it's mentioned in the reference below.

Related messages and conversation for a reference is available here.

Motivation

After the refactoring, the code will be easier to read and maintain, and it will overall be more cleaner.

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

No branches or pull requests

1 participant