This repository has been archived by the owner on Nov 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support for minimal proxies (#18)
**Motivation:** The TokenVotingFactory is over the 24kb size limit. We need to convert the token voting modules into minimal proxies and also support deterministic deployments. **Modifications:** * All token voting modules are now minimal proxies * Logic contracts are deployed in the script and then passed in as parameters to the Factory. * `_getCastDisapprovalTypedDataHash` in `TokenholderCaster` had a typo. Changed `role` to `support`. * Role is now stored as a public variable (Not immutable due to minimal proxies) in ActionCreator. And is passed in as a parameter in the Factory deploy. * Fix in `*bySig` tests. * Refactored test suite to be more modular. **Result:** Closes #4 Closes #11
- Loading branch information
Showing
18 changed files
with
2,063 additions
and
2,027 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.