Ernesto García
|
b425a72240
|
Replace revert strings with custom errors (#4261)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Hadrien Croubois
|
15c5c71795
|
Remove TokenTimelock, PaymentSplitter, ERC20Snapshot, ERC20VotesComp, GovernorVotesComp (#4276)
|
2 years ago |
Hadrien Croubois
|
8d633cb7d1
|
Merge pull request from GHSA-93hq-5wgc-jc82
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Hadrien Croubois
|
790cc5b65a
|
Add timestamp based governor with EIP-6372 and EIP-5805 (#3934)
Co-authored-by: Francisco Giordano <fg@frang.io>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Francisco <frangio.1@gmail.com>
|
2 years ago |
Hadrien Croubois
|
5e28952cbd
|
Add a public Governor.cancel function (#3983)
|
2 years ago |
Francisco
|
a28aafdc85
|
Use Prettier for JS files (#3913)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Hadrien Croubois
|
c1d9da4052
|
Use hardhat-exposed to reduce the need for mocks (#3666)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Pierre Grimaud
|
b0db207e4e
|
Fix typos in testing files (#3899)
|
2 years ago |
Hadrien Croubois
|
35090c1bf1
|
Add tests for improved coverage (#3448)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
|
3 years ago |
Mihir Wadekar
|
76eee35971
|
Improve revert message in Governor (#3275)
* Fixed typo
* fix testing and adding changelog
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
3 years ago |
Pandapip1
|
faf5820f03
|
Fix many spelling errors (#3274)
|
3 years ago |
Hadrien Croubois
|
6a5bbfc4cb
|
Refactor governor testing (#3194)
* starting a governor test refactor
* improve governor tests
* refactor compatibility tests using the governor helper
* improve governor helper
* improve governor helper
* refactor governor tests
* refactor testing
* fix testing (still TODO)
* fix tests
* fix tests
* fix spelling
* use different instances of GovernorHelper
* add vote with params support
* coverage
* simplify ERC165 helper
* remove unused proposal argument
* refactor setProposal
* lint
* refactor setProposal return values
* add a data default value
* improve proposal reconstruction and storage in helper
* proposal object refactoring
* lint
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
|
3 years ago |
Hadrien Croubois
|
c366de3626
|
Fix encoding of signature+calldata in GovernorCompatibilityBravo (#3100)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
|
3 years ago |
Francisco Giordano
|
494cc6d3a5
|
Fix typo casted -> cast
(cherry picked from commit b174f067df )
|
4 years ago |
Francisco Giordano
|
b174f067df
|
Fix typo casted -> cast
|
4 years ago |
Francisco Giordano
|
4b152bd8ce
|
Improve Governor (#2794)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
4 years ago |
Hadrien Croubois
|
6c1a634053
|
Add Governor contracts (#2672)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
|
4 years ago |