-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Currently, we have written end-to-end (E2E) tests in the eocn-gov project to verify governance functionality for different wallet roles. Specifically, these tests ensure:
- Gov4 Wallet Functionality: The
gov4wallet can successfully propose and vote on governance questions. - Gov3 Wallet Restrictions: The
gov3wallet is restricted from proposing and voting on questions via the UI, reflecting its revoked governance rights.
Updating Mnemonics for Testnets
While the tests work as expected, updating the environment for testnet deployments requires modifying the mnemonics associated with gov3 and gov4 wallets. These mnemonic updates are crucial whenever Economic Committee (EC) changes are deployed to testnets. The relevant mnemonics are located in the test code, specifically in the object linked here: Mnemonic Configuration in utils.js.
Currently, this configuration looks like:
gov3Phrase: Cypress.env('GOV4_PHRASE'),
gov4Phrase: Cypress.env('GOV3_PHRASE'),However, when deploying to testnets, this should be updated as follows:
gov3Phrase: Cypress.env('GOV3_PHRASE'),
gov4Phrase: Cypress.env('GOV4_PHRASE'),This mnemonic switch is required to reflect the updated governance roles:
- Gov4 will be assigned as the new Economic Committee (EC) member with active governance rights.
- Gov3 will assume the role of the former EC member, who no longer has the authority to propose or vote on governance questions.
Essentially, we will update all sections of the code that include the comment // UNTIL https://github.com/Agoric/dapp-econ-gov/issues/144 in #142.