3e6c86392c
Merge release-v5.0 branch ( #4665 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Francisco Giordano <fg@frang.io >
Co-authored-by: Ernesto García <ernestognw@gmail.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Eric Lau <ericglau@outlook.com >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2023-10-05 15:30:30 -03:00
af06fdcfd4
Fix various documentation errors ( #4601 )
2023-09-14 17:32:47 -03:00
224c23b38f
Rename ProposalCore.eta to etaSeconds ( #4599 )
2023-09-14 09:54:43 +02:00
6f1685c3eb
Merge branch 'master' into audit/wip/2a-2b
2023-09-13 11:14:09 +02:00
63851f8de5
Fix typographical errors & comments ( #4595 )
...
Co-authored-by: Francisco <fg@frang.io >
2023-09-11 18:44:28 -03:00
b6111faac8
Use namespaced storage for upgradeable contracts ( #4534 )
2023-09-11 16:32:10 -03:00
bba33516b1
Remove unused return value and reuse helper function ( #4588 )
...
Co-authored-by: Francisco Giordano <fg@frang.io >
2023-09-08 18:24:23 -03:00
e891ec587d
Merge branch 'master' into feat/access-manager
2023-09-04 15:55:53 +02:00
812404cee8
Use leading underscore solhint rule for private constants ( #4542 )
...
Co-authored-by: Francisco Giordano <fg@frang.io >
2023-08-29 18:25:35 -03:00
adbb8c9d27
Add Governor module connecting with AccessManager ( #4523 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2023-08-16 02:33:49 -03:00
cb0ffefe2f
Use named arguments in mapping types ( #4433 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2023-08-08 22:48:56 -03:00
54a235f895
Refactor Governor proposal struct for efficient access ( #4495 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2023-08-04 19:12:41 -03:00
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 >
2023-08-03 12:51:07 -03:00
00cbf5a236
Update pragma to 0.8.20 ( #4489 )
...
Co-authored-by: Francisco Giordano <fg@frang.io >
Co-authored-by: ernestognw <ernestognw@gmail.com >
2023-07-31 17:25:45 -03:00
7222a31d54
Add internal functions inside modifiers ( #4472 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Francisco <fg@frang.io >
2023-07-26 18:57:50 -03:00
6bf68a41d1
Remove "available since" comments ( #4424 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2023-07-06 10:00:34 +02:00
3ff9b42ff5
Remove retyped and renamed storage layout annotations ( #4423 )
2023-07-05 18:38:27 -03:00
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 >
2023-07-05 15:11:29 +02:00
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 >
2023-07-03 22:29:30 +02:00
874c2d3c02
Use explicit imports ( #4399 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: ernestognw <ernestognw@gmail.com >
2023-06-29 20:12:26 +00:00
da89c438f1
Pack Governor's ProposalCore into a single slot ( #4268 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
Co-authored-by: Francisco <fg@frang.io >
2023-06-23 13:05:22 -03:00
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 >
2023-06-15 21:43:17 -03:00
ac5480e7ca
Merge release-v4.9 branch ( #4352 )
2023-06-14 20:11:37 +00:00
b425a72240
Replace revert strings with custom errors ( #4261 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Francisco <fg@frang.io >
2023-06-12 23:41:52 +00:00
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 >
2023-06-06 21:32:14 -03:00
df2778f38e
Remove override interface implementations ( #4315 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2023-06-06 18:13:08 -06:00
7bb5592ad5
Bump minimum pragma version to 0.8.19 ( #4288 )
2023-05-29 21:37:37 +02:00
09329f8a18
Merge release-v4.9 branch ( #4274 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Francisco Giordano <fg@frang.io >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2023-05-24 10:37:00 -03:00
91df66c4a9
Implement suggestions from audit of 4.9 ( #4176 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2023-04-21 08:35:07 -03:00
0ebc6e3529
Fix grammar in docs ( #4085 )
2023-03-02 10:40:36 +01:00
e1a77ab15f
Fix an upgrade replay bug in Governor.propose ( #4082 )
2023-03-01 15:35:15 -03:00
adb861fb3b
Change Governor.cancel to receive all parameters ( #4056 )
2023-02-22 10:00:41 +01:00
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 >
2023-02-09 22:33:55 +01:00
5e28952cbd
Add a public Governor.cancel function ( #3983 )
2023-01-26 20:46:11 +01:00
b709eae01d
Update Prettier Solidity ( #3898 )
2022-12-23 22:28:05 -03:00
7c5f6bc2c8
Merge branch 'release-v4.8'
2022-11-09 19:23:01 -03:00
49c0e4370d
4.8.0
2022-11-08 11:29:29 -03:00
1f18fea1de
4.8.0-rc.2
2022-10-17 18:53:40 +02:00
47003aebec
typo fix ( #3752 )
2022-10-05 17:47:39 -03:00
ec88e9d6aa
Add support for EOA target in Governor.relay ( #3730 )
...
(cherry picked from commit ed12acfb0a )
2022-09-26 15:28:14 -03:00
ed12acfb0a
Add support for EOA target in Governor.relay ( #3730 )
2022-09-26 15:27:33 -03:00
16791134c1
4.8.0-rc.1
2022-09-23 18:59:29 +02:00
5e6fd491f3
4.8.0-rc.0
2022-09-07 18:08:32 -03:00
397c946141
Remove the draft prefix for EIP712 as it is now final ( #3621 )
...
Co-authored-by: Francisco <frangio.1@gmail.com >
2022-08-18 20:40:45 -03:00
0ccfd2dbd3
Fix error in documentation and typo ( #3567 )
2022-07-21 12:55:10 -03:00
3dac7bbed7
Merge v4.7 back into master ( #3516 )
2022-06-29 12:34:30 +02:00
07b1b472c0
Improve wording consistency in code/doc ( #3365 )
2022-05-04 18:20:59 -03:00
a035b235b4
Release v4.6 ( #3358 )
...
* 4.6.0-rc.0
* Fix release script to only release @openzeppelin/contracts
(cherry picked from commit 2bd75a44bb )
* make ERC2981:royaltyInfo public (#3305 )
(cherry picked from commit d2832ca7a9 )
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com >
* add transpilation guards to the crosschain mocks (#3306 )
(cherry picked from commit 9af5af8fff )
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com >
* Fix tests on upgradeable contracts after transpilation
(cherry picked from commit 0762479dd5 )
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com >
* Remove unused constructor argument
(cherry picked from commit 69c3781043 )
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com >
* Bump minimum Solidity version for Initializable.sol to 0.8.2 (#3328 )
(cherry picked from commit cb14ea3c5c )
* Fix update-comment script to ignore invalid tags
(cherry picked from commit 848fef5b6c )
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com >
* 4.6.0
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-04-27 09:34:09 +02:00
76eee35971
Improve revert message in Governor ( #3275 )
...
* Fixed typo
* fix testing and adding changelog
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2022-03-25 11:02:15 +01:00
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 >
2022-03-24 01:25:00 +01:00