-
Notifications
You must be signed in to change notification settings - Fork 217
Cleaning the scripts we use to manage the contracts owned by the multisig #161
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
Conversation
scripts/execute_script.sh
Outdated
# rm -rf build | ||
# npm run compile:lib | ||
# npm run compile | ||
# npm run compile:legacy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm for this change considering how long compilation takes currently however the obvious risk is that we execute scripts without compiling to latest version of the contracts. As a prevention, can we add some warning text in the comments header of scripts using execute_script
to say COMPILE CONTRACTS BEFORE RUNNING
or something similar?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Actually I've added a --no-compile
flag in #156 (https://github.com/argentlabs/argent-contracts/pull/156/files#diff-0aa9ab67bc9291891ca0b035f24dce95R12) to address that. We can either wait for #156 to be merged or I can include that change in this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't mind either way.
scripts/update_compound_registry.js
Outdated
// ./execute_script.sh update_compound_registry.js <network> --remove --token <token address> | ||
// | ||
// where: | ||
// - network = [test, staging, prod] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the network not be ganache
as well for local testing?
scripts/update_wallet_in_factory.js
Outdated
// ./execute_script.sh update_wallet_in_factory.js <network> | ||
// | ||
// where: | ||
// - network = [test, staging, prod] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove defaultNetwork = "test"
in this script to mandate passing the network property
6efde03
to
ab61485
Compare
230878d
to
a86bd3d
Compare
No description provided.