ff85c7b0eb
Make ERC1967Upgrades a library instead of an abstract contract ( #4325 )
2023-06-15 22:01:04 +02: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
df2778f38e
Remove override interface implementations ( #4315 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2023-06-06 18:13:08 -06:00
85696d80ad
Remove further hardcoded function resolution ( #4309 )
2023-06-06 11:42:50 -06:00
7bb5592ad5
Bump minimum pragma version to 0.8.19 ( #4288 )
2023-05-29 21:37:37 +02:00
5955d8e85b
Merge remote-tracking branch 'upstream/master' into next-v5.0
2023-05-25 10:52:46 +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
13d5e0466a
Make Ownable's initial owner explicit ( #4267 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2023-05-23 18:26:43 -03:00
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 >
2023-05-19 22:48:05 +02:00
8de6eba8a3
Merge branch 'master' into next-v5.0
2023-05-16 00:07:07 -03:00
34d926dd7e
Implement extra suggestions from audit review of 4.9 ( #4224 )
2023-05-09 13:19:35 -03:00
6aac66d065
Merge release-v4.8 ( #4188 )
...
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Benjamin <benjaminxh+github@gmail.com >
Co-authored-by: Owen <omurovec@yahoo.com >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: JulissaDantes <julissadcj@gmail.com >
Co-authored-by: Ernesto García <ernestognw@gmail.com >
Co-authored-by: Yamen Merhi <yamennmerhi@gmail.com >
Co-authored-by: Pascal Marco Caversaccio <pcaversaccio@users.noreply.github.com >
Co-authored-by: alpharush <0xalpharush@protonmail.com >
Co-authored-by: Paul Razvan Berg <paul.razvan.berg@gmail.com >
2023-04-24 09:18:27 -03:00
3b117992e1
Improve docs for transparent proxy ( #4181 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2023-04-13 11:04:04 -03:00
5523c1482b
Fix TransparentUpgradeableProxy's transparency ( #4154 )
...
Co-authored-by: Francisco <fg@frang.io >
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2023-04-05 16:57:08 +02:00
eedca5d873
Merge release-v4.8 branch
2023-03-02 21:13:25 -03:00
69c8d1010e
Make upgradeTo and upgradeToAndCall public ( #3959 )
...
Co-authored-by: Francisco <fg@frang.io >
2023-01-25 16:46:34 -03:00
a34dd8bb1b
Add solidity language to missing code snippets ( #3992 )
2023-01-24 18:00:03 -03:00
c5d040beb9
Remove Address.isContract ( #3945 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Francisco Giordano <fg@frang.io >
2023-01-24 17:59:07 -03:00
c404862cba
Use oz-upgrades-unsafe-allow-reachable in ERC1967Upgrade ( #3971 )
...
Co-authored-by: Francisco <fg@frang.io >
2023-01-19 22:00:53 +00:00
2a62fb4a2d
Improve TransparentUpgradeableProxy's transparency ( #3977 )
...
Co-authored-by: Francisco <fg@frang.io >
2023-01-19 18:34:15 -03:00
4147005b0c
Update Prettier Solidity ( #3898 )
2022-12-26 23:28:51 -03:00
b709eae01d
Update Prettier Solidity ( #3898 )
2022-12-23 22:28:05 -03:00
9cbe8b340c
Merge branch 'master' into next-v5.0
2022-12-19 18:17:33 -03:00
3d7a93876a
Improve documentation of Initializable getters ( #3861 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2022-12-07 00:49:15 +00:00
bc8f442d00
Remove admin and implementation getters from TransparentUpgradeableProxy ( #3820 )
...
Co-authored-by: Francisco <frangio.1@gmail.com >
2022-11-25 15:27:58 -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
88a3f95715
Optimize condition in _disableInitializers ( #3787 )
2022-11-03 20:57:56 -03:00
1f18fea1de
4.8.0-rc.2
2022-10-17 18:53:40 +02:00
16791134c1
4.8.0-rc.1
2022-09-23 18:59:29 +02:00
09369d265c
Improve Initializable docstrings ( #3704 )
...
Co-authored-by: tincho <tinchoabbate@noreply.users.github.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
(cherry picked from commit a549ec673e )
2022-09-23 12:28:02 -03:00
a549ec673e
Improve Initializable docstrings ( #3704 )
...
Co-authored-by: tincho <tinchoabbate@noreply.users.github.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-09-16 18:16:37 +00:00
5e6fd491f3
4.8.0-rc.0
2022-09-07 18:08:32 -03:00
62bab225c1
Fix wording and grammar in docs ( #3645 )
...
Fix wording and grammar
2022-08-25 10:52:41 -03:00
6b9bda872d
Optimize Clones assembly ( #3640 )
2022-08-24 09:25:52 +00:00
26cf47a2be
Add internal functions _getInitializedVersion and _isInitializing ( #3598 )
2022-08-18 20:42:31 -03:00
ca6f95a7da
Improve documentation in UUPSUpgradeable ( #3606 )
2022-08-10 11:15:08 +02:00
3dac7bbed7
Merge v4.7 back into master ( #3516 )
2022-06-29 12:34:30 +02:00
051cc9e446
Revert unwanted breaking change in the Clones library ( #3456 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-06-06 20:41:48 +00:00
54ce38c2e5
Remove runtime check of ERC1967 storage slots ( #3455 )
2022-06-06 15:22:51 -03:00
d506e3b1a5
Simplify Initializable ( #3450 )
2022-06-03 19:30:50 +00:00
61294a62af
Restore previous behavior of initializer during construction ( #3344 )
2022-05-25 15:01:45 -03:00
65b45726b3
Add memory safe assembly annotations ( #3384 )
...
Co-authored-by: Nate <nate@Nates-MacBook-Pro.local >
2022-05-23 15:37:08 -03:00
e633ee9ed3
Fix spelling and grammar in comments ( #3408 )
2022-05-11 18:10:00 -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
cb14ea3c5c
Bump minimum Solidity version for Initializable.sol to 0.8.2 ( #3328 )
2022-04-14 00:21:52 +02:00
28dd490726
Optimize ERC1167 proxy creation code by 1 opcode ( #3329 )
2022-04-08 19:27:11 -03:00
e029096ca4
Add Initialized event ( #3294 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-03-28 15:36:30 -03:00
faf5820f03
Fix many spelling errors ( #3274 )
2022-03-22 18:16:20 -03:00
0eba5112c8
Allow the re-initialization of contracts ( #3232 )
...
* allow re-initialization of contracts
* fix lint
* use a private function to avoid code duplication
* use oz-retyped-from syntax
* add documentation
* rephrase
* documentation
* Update contracts/proxy/utils/Initializable.sol
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
* reinitialize test
* lint
* typos and style
* add note about relation between initializer and reinitializer
* lint
* set _initializing in the modifier
* remove unnecessary variable set
* rename _preventInitialize -> _disableInitializers
* rename preventInitialize -> disableInitializers
* test nested reinitializers in reverse order
* docs typos and style
* edit docs for consistency between initializer and reinitializer
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-03-22 18:06:29 +00:00