Ernesto García
6383299d71
AccessManager tests consolidation ( #4655 )
1 year ago
Ernesto García
655bd58487
Improve `GovernorTimelockAccess` tests ( #4642 )
...
Co-authored-by: Francisco <fg@frang.io>
1 year ago
Ernesto García
57865f8b20
Add named return parameters and `_checkSelector` function to AccessManager ( #4624 )
1 year ago
Hadrien Croubois
80b2d1df38
Improve GovernorTimelockAccess ( #4591 )
...
Co-authored-by: Francisco <fg@frang.io>
1 year ago
Hadrien Croubois
d54f4ac4b7
Rename AccessManager groups to roles ( #4580 )
1 year ago
Hadrien Croubois
33cab7cd25
AccessManager: Remove classes ( #4562 )
1 year ago
Francisco
adbb8c9d27
Add Governor module connecting with AccessManager ( #4523 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 year ago
Francisco
8643fd45fd
Update remappings and install instructions for Foundry on docs site ( #4498 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
2 years ago
Hadrien Croubois
21716722ad
Remove GovernorCompatibilyBravo and add simpler GovernorStorage ( #4360 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
2 years ago
Hadrien Croubois
00cbf5a236
Update pragma to 0.8.20 ( #4489 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
Co-authored-by: ernestognw <ernestognw@gmail.com>
2 years ago
Ernesto García
121be5dd09
Make `TransparentUpgradeableProxy` deploy its `ProxyAdmin` and optimize proxy interfaces ( #4382 )
...
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Eric Lau <ericglau@outlook.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
2 years ago
Ernesto García
b6c5abbde5
Add `GovernorTimelockControl` address to `TimelockController` salt ( #4432 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
2 years ago
Pierre Grimaud
921ac49ccb
Fix typos in the tests ( #4452 )
2 years ago
Ernesto García
63bfab1a0c
Enable ERC-1271 signature checks in Governor `castVoteBySig` ( #4418 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
2 years ago
Renan Souza
e3adf91e50
Add state getter in TimelockController using OperationState enum ( #4358 )
...
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
2 years ago
Ernesto García
6e21422737
Add Governor signature nonces ( #4378 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Sergei Tikhomirov <sergey.s.tikhomirov@gmail.com>
Co-authored-by: Renan Souza <renan.rodrigues.souza1@gmail.com>
2 years ago
Ernesto García
bb64458928
Implement recommendations from 5.0 audit Phase 1A ( #4398 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
2 years ago
Francisco
874c2d3c02
Use explicit imports ( #4399 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
2 years ago
Claudia Barcelo
cd48b3eab3
Add validation in Governor on ERC-721 or ERC-1155 received ( #4314 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
2 years ago
Hadrien Croubois
7cc2cbfeb5
Cleanup the structure of GovernorTimelockControl.test.js ( #4302 )
2 years ago
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
d9474327a4
Merge pull request from GHSA-5h3x-9wvq-w4m2
...
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
2 years ago
Francisco
3902a410f1
Remove DOMAIN_SEPARATOR from Votes and update docs examples ( #4297 )
...
Co-authored-by: Qiwei Yang <yangqiwei97@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
2 years ago
Hadrien Croubois
15c5c71795
Remove TokenTimelock, PaymentSplitter, ERC20Snapshot, ERC20VotesComp, GovernorVotesComp ( #4276 )
2 years ago
Ernesto García
ab2604ac5b
Add reentrancy test cases for TimelockController ( #4200 )
...
Co-authored-by: Francisco <fg@frang.io>
2 years ago
Francisco
91df66c4a9
Implement suggestions from audit of 4.9 ( #4176 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
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
5b027e517e
Add missing `await` in tests ( #4037 )
2 years ago
Hadrien Croubois
d625cb45ea
Include EIP-5267 discovery in EIP-712 ( #3969 )
...
Co-authored-by: Francisco <frangio.1@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
2 years ago
JulissaDantes
bc6de21fe2
Create ProposalSalt event for TimelockController ( #4001 )
...
Co-authored-by: Francisco <frangio.1@gmail.com>
2 years ago
Hadrien Croubois
5e28952cbd
Add a public Governor.cancel function ( #3983 )
2 years ago
Hadrien Croubois
7c6e289782
Prepare tests for hardhat-exposed transition ( #3930 )
...
Co-authored-by: Francisco <frangio.1@gmail.com>
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
JulissaDantes
e2d2ebc8fc
Make ERC20Votes independent from ERC20Permit ( #3816 )
...
Co-authored-by: Francisco <frangio.1@gmail.com>
2 years ago
JulissaDantes
887985413c
Use default admin role in TimelockController ( #3799 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <frangio.1@gmail.com>
2 years ago
Hadrien Croubois
ec88e9d6aa
Add support for EOA target in Governor.relay ( #3730 )
...
(cherry picked from commit ed12acfb0a
)
2 years ago
Hadrien Croubois
ed12acfb0a
Add support for EOA target in Governor.relay ( #3730 )
2 years ago
Hadrien Croubois
76273ecd8e
Change admin role allocation in TimelockControler constructor ( #3722 )
...
Co-authored-by: Francisco <frangio.1@gmail.com>
(cherry picked from commit 408055dfab
)
2 years ago
Hadrien Croubois
408055dfab
Change admin role allocation in TimelockControler constructor ( #3722 )
...
Co-authored-by: Francisco <frangio.1@gmail.com>
2 years ago
Hadrien Croubois
8ea1fc87c9
Keep track of historical quorum values ( #3561 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Andrew Fleming
4135bf9707
Fix typos in timelock test ( #3461 )
...
fix typos
3 years ago
Hadrien Croubois
35090c1bf1
Add tests for improved coverage ( #3448 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
onlineSoftwareDevOK
cd2da98d4d
Refactor magic constant in TimelocController test ( #3397 )
3 years ago
Niccolò Petti
d4e6236b2b
Fix deprecated expectEvent.inLogs #3332 ( #3333 )
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
Ashwin Yardi
76fca3aec8
Add ERC721 and ERC1155 receiver support in Governor, Timelock ( #3230 )
...
* add ERC721 and ERC1155 receiver support in Governor, Timelock and MinimalForwarder (#3174 )
* revert the nft receiver hooks from MinimalForwarder and linting updates
* add ERC165 support & simplify test
* add changelog entry
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
3 years ago
Pandapip1
faf5820f03
Fix many spelling errors ( #3274 )
3 years ago