ca7a4e39de
Group typo fixes ( #5466 )
...
Co-authored-by: Bilog WEB3 <155262265+Bilogweb3@users.noreply.github.com >
Co-authored-by: Fallengirl <155266340+Fallengirl@users.noreply.github.com >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: XxAlex74xX <30472093+XxAlex74xX@users.noreply.github.com >
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com >
Co-authored-by: PixelPilot <161360836+PixelPil0t1@users.noreply.github.com >
Co-authored-by: kilavvy <140459108+kilavvy@users.noreply.github.com >
Co-authored-by: Devkuni <155117116+detrina@users.noreply.github.com >
Co-authored-by: Danbo <140512416+dannbbb1@users.noreply.github.com >
Co-authored-by: Ann Wagner <chant_77_swirly@icloud.com >
Co-authored-by: comfsrt <155266597+comfsrt@users.noreply.github.com >
Co-authored-by: Bob <158583129+bouchmann@users.noreply.github.com >
Co-authored-by: JohnBonny <158583902+JohnBonny@users.noreply.github.com >
Co-authored-by: moonman <155266991+moooonman@users.noreply.github.com >
Co-authored-by: kazak <alright-epsilon8h@icloud.com >
Co-authored-by: Wei <ybxerlvqtx@rambler.ru >
Co-authored-by: Maxim Evtush <154841002+maximevtush@users.noreply.github.com >
Co-authored-by: Vitalyr <158586577+Vitaliyr888@users.noreply.github.com >
Co-authored-by: pendrue <158588659+pendrue@users.noreply.github.com >
Co-authored-by: Tronica <wudmytrotest404@gmail.com >
Co-authored-by: emmmm <155267286+eeemmmmmm@users.noreply.github.com >
Co-authored-by: bigbear <155267841+aso20455@users.noreply.github.com >
Co-authored-by: Tomás Andróil <tomasandroil@gmail.com >
Co-authored-by: GooseMatrix <155266802+GooseMatrix@users.noreply.github.com >
Co-authored-by: jasmy <3776356370@qq.com >
Co-authored-by: SITADRITA1 <mrlime2018@gmail.com >
Co-authored-by: Ocenka <testoviydiman1@gmail.com >
2025-03-06 09:58:25 +01:00
2ed8956992
Add _initializableStorageSlot ( #5337 )
...
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com >
2025-02-24 15:40:42 +01:00
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
26c22169f0
Rename custom error AleadyInitialized → InvalidInitialization ( #4592 )
2023-09-08 18:05:00 -03:00
6f80048ce9
Improve natspec documentation and comments ( #4581 )
...
Co-authored-by: Francisco Giordano <fg@frang.io >
2023-09-07 22:10:28 -03:00
5abbd04933
Improve Initializable readability using intermediate variables ( #4576 )
...
Co-authored-by: Francisco <fg@frang.io >
2023-09-05 18:46:14 -03:00
8a0b7bed82
Update ERC-7201 location for Initializable ( #4554 )
2023-08-31 11:02:05 +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
b2e7bab920
caching result of reading storage variable to save gas ( #4535 )
2023-08-25 19:49:34 +02:00
70578bbb44
Allow Initializable versions greater than 256 ( #4460 )
...
Co-authored-by: Francisco <fg@frang.io >
2023-08-07 18:59:19 -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
24ebff5ae9
Remove unused imports ( #4436 )
...
Co-authored-by: Francisco <fg@frang.io >
2023-07-11 14:51:40 -03:00
3ff9b42ff5
Remove retyped and renamed storage layout annotations ( #4423 )
2023-07-05 18:38:27 -03: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
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
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
8de6eba8a3
Merge branch 'master' into next-v5.0
2023-05-16 00:07:07 -03:00
eedca5d873
Merge release-v4.8 branch
2023-03-02 21:13:25 -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
3d7a93876a
Improve documentation of Initializable getters ( #3861 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2022-12-07 00:49:15 +00: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
26cf47a2be
Add internal functions _getInitializedVersion and _isInitializing ( #3598 )
2022-08-18 20:42:31 -03:00
3dac7bbed7
Merge v4.7 back into master ( #3516 )
2022-06-29 12:34:30 +02: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
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
e029096ca4
Add Initialized event ( #3294 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-03-28 15:36:30 -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
afb20119b3
Release v4.5
2022-02-09 18:16:53 -03:00
4a9cc8b491
Merge branch 'release-v4.4'
2021-12-14 13:34:03 -03:00
6bd6b76d11
4.4.1
2021-12-14 13:14:39 -03:00
553c8fdec7
Update initializer modifier to prevent reentrancy during initialization ( #3006 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
(cherry picked from commit 08840b9f8c )
2021-12-10 13:10:17 -03:00
08840b9f8c
Update initializer modifier to prevent reentrancy during initialization ( #3006 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-12-10 13:02:35 -03:00
7d17acfb2f
Merge branch 'release-v4.4'
2021-11-25 16:56:07 -03:00
4961a51cc7
4.4.0
2021-11-25 16:35:37 -03:00
52d42d6e03
Improve docs wording on constructors and proxies ( #2935 )
2021-11-19 15:08:56 -03:00
65ef662a2b
4.4.0-rc.1
2021-11-16 10:23:53 -03:00