PurrProof
|
cc67e0eb83
|
Add comment and tests for zero address behavior in Ownable2Step.transferOwnership() (#5226)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
4 months ago |
Ernesto García
|
52e0e3e783
|
Extend `onlyAuthorized` to support extra functions in AccessManager (#5014)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
8 months ago |
Franco Victorio
|
c03952acbe
|
Remove `async` from `describe` blocks and add missing `await` in tests (#4942)
Co-authored-by: ernestognw <ernestognw@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
11 months ago |
Vladimir Khramov
|
ef68ac3ed8
|
Add getRoleMembers method to return all accounts that have role (#4546)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
|
1 year ago |
Renan Souza
|
04cb014144
|
Make tests style more uniform (#4812)
|
1 year ago |
Hadrien Croubois
|
a72c9561b9
|
Finalize test migration: remove legacy dependencies and test helpers (#4797)
|
1 year ago |
Hadrien Croubois
|
015ef69287
|
Refactor time helper and remove custom error helper. (#4803)
Co-authored-by: ernestognw <ernestognw@gmail.com>
|
1 year ago |
Hadrien Croubois
|
be0572a8dc
|
Migrate ERC1155 tests to ethers v6 (#4771)
Co-authored-by: ernestognw <ernestognw@gmail.com>
|
1 year ago |
Ernesto García
|
cf6ff90b6d
|
Migrate `AccessManager` tests to ethers (#4710)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
1 year ago |
Ernesto García
|
2ec2ed9695
|
Migrate `AccessControl` tests (#4694)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
1 year ago |
Hadrien Croubois
|
149e1b79fe
|
Migrate Ownable tests (#4657)
Co-authored-by: ernestognw <ernestognw@gmail.com>
|
1 year ago |
Ernesto García
|
6383299d71
|
AccessManager tests consolidation (#4655)
|
1 year ago |
Ernesto García
|
0560576c7a
|
Improve `AccessManaged` and `AuthorityUtils` tests (#4632)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
|
1 year ago |
Ernesto García
|
baf0e91279
|
Improve AccessManager tests (#4613)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
|
1 year ago |
Francisco
|
b849906ce4
|
Make AccessManager.execute/schedule more conservative when delay is 0 (#4644)
|
1 year ago |
Hadrien Croubois
|
d555464c53
|
AccessManager: Avoid resetting nonce when consuming a scheduled operation (#4603)
Co-authored-by: Francisco <fg@frang.io>
|
1 year ago |
Francisco
|
9e09e0653a
|
Fix flaky test in AccessManager (#4593)
|
1 year ago |
Hadrien Croubois
|
d54f4ac4b7
|
Rename AccessManager groups to roles (#4580)
|
1 year ago |
Hadrien Croubois
|
a05a529049
|
Rename AccessManager.relay to execute (#4578)
Co-authored-by: Francisco Giordano <fg@frang.io>
|
1 year ago |
Hadrien Croubois
|
5a77c9995f
|
Make isConsumingScheduleOp return bytes4 to mitigate clashes (#4575)
Co-authored-by: Francisco Giordano <fg@frang.io>
|
1 year ago |
Hadrien Croubois
|
87f7a2cd42
|
Refactor Time library to use valueBefore/valueAfter (#4555)
Co-authored-by: Francisco <fg@frang.io>
|
1 year ago |
Hadrien Croubois
|
bb7ca7d151
|
Prevent setting address(0) as the initialAdmin in AccessManager (#4570)
Co-authored-by: Francisco <fg@frang.io>
|
1 year ago |
Hadrien Croubois
|
ff9d089dad
|
Add a boolean to AccessManager.GrantGroup (#4569)
|
1 year ago |
Hadrien Croubois
|
33cab7cd25
|
AccessManager: Remove classes (#4562)
|
1 year ago |
NishantKoyalwar
|
e7ba2f7784
|
Move beneficiary zero address check to Ownable (#4531)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
|
1 year ago |
Hadrien Croubois
|
9d2adccf87
|
Add a minimum delay on all admin update operations (#4557)
Co-authored-by: Francisco <fg@frang.io>
|
1 year ago |
Francisco
|
b5a3e693e7
|
Improve AccessManager (#4520)
|
2 years ago |
Hadrien Croubois
|
9bb8008c23
|
Access Manager (#4416)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
|
2 years ago |
Hadrien Croubois
|
5ae630684a
|
Add a bool return to _grantRole and _revokeRole (#4241)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
|
2 years ago |
Renan Souza
|
9cf873ea14
|
Change access folder structure (#4359)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Renan Souza
|
d6a8b2ccd7
|
Fix details AccessControl-test (#4391)
|
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
|
13d5e0466a
|
Make Ownable's initial owner explicit (#4267)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
|
2 years ago |
Hadrien Croubois
|
0f10efe232
|
Remove code in preparation for v5.0 (#4258)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Hadrien Croubois
|
3ec4307c8a
|
Fix bug allowing anyone to cancel an admin renounce (#4238)
Co-authored-by: Francisco Giordano <fg@frang.io>
|
2 years ago |
Francisco
|
3e1b25a5cf
|
Clean up pending admin schedule on renounce in DefaultAdminRules (#4230)
|
2 years ago |
Hadrien Croubois
|
72ed4ca67a
|
Ensure AccessControlDefaultAdminRules's initialDefaultAdmin is non-zero (#4220)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
|
2 years ago |
Ernesto García
|
d23f818a59
|
Fix AccessControlDefaultAdminRules admin consistency (#4177)
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Ernesto García
|
a522187b50
|
Implement suggestions from audit of AccessManager (#4178)
Co-authored-by: Francisco Giordano <fg@frang.io>
|
2 years ago |
Ernesto García
|
ca822213f2
|
Make AccessControlDefaultAdminRules delay configurable (#4079)
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Francisco
|
fa112be682
|
Add AccessManager contracts (#4121)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
|
2 years ago |
Ernesto García
|
dad73159df
|
Add AccessControlDefaultAdminRules (#4009)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
|
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 |
Francisco
|
2336bd3e8e
|
Simplify ESLint config (#3903)
|
2 years ago |
Helder Sepulveda
|
1f0e7cdf04
|
Add Ownable2Step extension with 2-step transfer (#3620)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <frangio.1@gmail.com>
|
2 years ago |
Hadrien Croubois
|
668a648bc6
|
Add utilities for CrossChain messaging (#3183)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
|
3 years ago |
Hadrien Croubois
|
e0a2b195e4
|
Add modifier & internal function with standard revert message in AccessControl (#2609)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
|
4 years ago |
Brandon Valosek
|
b1e0aa487d
|
Fix AccessControlEnumerable not tracking renounceRole (#2572)
* Fix AccessControlEnumerable not tracking renounceRole
* Updated changelog
(cherry picked from commit 7adf0d88a0 )
|
4 years ago |
Brandon Valosek
|
7adf0d88a0
|
Fix AccessControlEnumerable not tracking renounceRole (#2572)
* Fix AccessControlEnumerable not tracking renounceRole
* Updated changelog
|
4 years ago |