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

feat: deploy gas service v6.1 with operators contract on testnet #46

Merged
merged 5 commits into from
Sep 14, 2023

Conversation

milapsheth
Copy link
Member

  • Improve gas service deployment
  • Add Operators deployment
  • Add gas service upgrade deployment

@@ -148,6 +159,8 @@ async function processCommand(options, chain) {

printInfo(`New contract owner: ${newOwner}`);

contractConfig.owner = newOwner;
Copy link
Contributor

@blockchainguyy blockchainguyy Sep 13, 2023

Choose a reason for hiding this comment

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

Should we also store pending owner in the config?. If yes then we can check if the caller doing acceptOwnership is the same address as that from the config. At last after accepting we can clear out this value.

Copy link
Member Author

@milapsheth milapsheth Sep 13, 2023

Choose a reason for hiding this comment

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

we're already checking if the pending owner retrieved from the contract is the same as wallet address. i'd avoid storing since it's transient data. we can try it in the future if we find a need for it?

Base automatically changed from gateway-upgrade to main September 14, 2023 03:56
@milapsheth milapsheth merged commit 8c887a2 into main Sep 14, 2023
@milapsheth milapsheth deleted the gas-service-operators branch September 14, 2023 03:57
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