GitHubPang
62bab225c1
Fix wording and grammar in docs ( #3645 )
...
Fix wording and grammar
2 years ago
Vectorized
6b9bda872d
Optimize Clones assembly ( #3640 )
2 years ago
Shatabarto "Rik" Bhattacharya
26cf47a2be
Add internal functions `_getInitializedVersion` and `_isInitializing` ( #3598 )
2 years ago
Hadrien Croubois
ca6f95a7da
Improve documentation in UUPSUpgradeable ( #3606 )
3 years ago
Hadrien Croubois
3dac7bbed7
Merge v4.7 back into master ( #3516 )
3 years ago
Hadrien Croubois
051cc9e446
Revert unwanted breaking change in the Clones library ( #3456 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
54ce38c2e5
Remove runtime check of ERC1967 storage slots ( #3455 )
3 years ago
Francisco Giordano
d506e3b1a5
Simplify Initializable ( #3450 )
3 years ago
Hadrien Croubois
61294a62af
Restore previous behavior of initializer during construction ( #3344 )
3 years ago
Nate Lapinski
65b45726b3
Add memory safe assembly annotations ( #3384 )
...
Co-authored-by: Nate <nate@Nates-MacBook-Pro.local>
3 years ago
GitHubPang
e633ee9ed3
Fix spelling and grammar in comments ( #3408 )
3 years ago
Hadrien Croubois
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>
3 years ago
Francisco Giordano
cb14ea3c5c
Bump minimum Solidity version for Initializable.sol to 0.8.2 ( #3328 )
3 years ago
Philippe Dumonet
28dd490726
Optimize ERC1167 proxy creation code by 1 opcode ( #3329 )
3 years ago
Hadrien Croubois
e029096ca4
Add Initialized event ( #3294 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Pandapip1
faf5820f03
Fix many spelling errors ( #3274 )
3 years ago
Hadrien Croubois
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>
3 years ago
Hadrien Croubois
52eeebecda
spelling fix
3 years ago
Francisco Giordano
f590fcdfe9
Fix typo in Proxy.sol
3 years ago
Francisco Giordano
afb20119b3
Release v4.5
3 years ago
Hadrien Croubois
e192fac276
Simplify UUPSUpgradeable along the lines of ERC1822 ( #3021 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Drew Beller
e3391cd65f
Fix typo ( #3058 )
3 years ago
Francisco Giordano
6bd6b76d11
4.4.1
3 years ago
Francisco Giordano
553c8fdec7
Update initializer modifier to prevent reentrancy during initialization ( #3006 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
(cherry picked from commit 08840b9f8c
)
3 years ago
Hadrien Croubois
08840b9f8c
Update initializer modifier to prevent reentrancy during initialization ( #3006 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Francisco Giordano
4961a51cc7
4.4.0
3 years ago
Bogdan A
52d42d6e03
Improve docs wording on constructors and proxies ( #2935 )
3 years ago
Francisco Giordano
65ef662a2b
4.4.0-rc.1
3 years ago
Francisco Giordano
0a87a4e75b
4.4.0-rc.0
3 years ago
Francisco Giordano
c9bdb1f0ae
Add a comment documenting the package version being used ( #2918 )
3 years ago
Hadrien Croubois
024cc50df4
Restrict upgrade to proxy context in UUPSUpgradeable
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
(cherry picked from commit 6241995ad3
)
3 years ago
Hadrien Croubois
6241995ad3
Restrict upgrade to proxy context in UUPSUpgradeable
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Francisco Giordano
bc5c8e2c9c
Improve wording of recommendation in Initializable
3 years ago
Francisco Giordano
38448c104a
Add recommendation to initialize all contracts that use Initializable
3 years ago
Hadrien Croubois
00128bd260
Fix function ordering in ERC1967Upgrades ( #2722 )
4 years ago
Hadrien Croubois
6f50f6e1ef
Remove repeated code from ERC1967Upgrade ( #2720 )
4 years ago
Hadrien Croubois
b0cf6fbb7a
Add Prettier for linting and fix Solhint config ( #2697 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Francisco Giordano
df8a0fe8dc
Complete documentation of UUPSUpgradeable
4 years ago
Francisco Giordano
903df56837
Review structure of Proxies API docs ( #2645 )
...
(cherry picked from commit 4a53ee5a13
)
4 years ago
Francisco Giordano
4a53ee5a13
Review structure of Proxies API docs ( #2645 )
4 years ago
Hadrien Croubois
6552adafb2
Merge ERC1967Storage into ERC1967Upgrade ( #2644 )
...
(cherry picked from commit 5756e31999
)
4 years ago
Hadrien Croubois
5756e31999
Merge ERC1967Storage into ERC1967Upgrade ( #2644 )
4 years ago
Francisco Giordano
a664fb1e45
Improve code comments in ERC1967._upgradeToAndCallSecure
...
(cherry picked from commit 2e6ef74593
)
4 years ago
Francisco Giordano
2e6ef74593
Improve code comments in ERC1967._upgradeToAndCallSecure
4 years ago
Hadrien Croubois
df7996b671
add Available since 4.1 comments
...
(cherry picked from commit 9a698e6b7b
)
4 years ago
Hadrien Croubois
9a698e6b7b
add Available since 4.1 comments
4 years ago
Hadrien Croubois
915109b2c4
Move UUPSUpgradeable to proxy/utils
...
(cherry picked from commit b9125001f0
)
4 years ago
Hadrien Croubois
b9125001f0
Move UUPSUpgradeable to proxy/utils
4 years ago
Hadrien Croubois
1c676ac0ec
Implement UUPS proxy (ERC1822) ( #2542 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
0b3e0d74b0
Further reorganisation of the repo ( #2575 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
(cherry picked from commit f076ff5dbd
)
4 years ago