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
Hadrien Croubois
f076ff5dbd
Further reorganisation of the repo ( #2575 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Francisco Giordano
e2bf45f262
Rename variable master to implementation
...
(cherry picked from commit cdb929aada
)
4 years ago
Francisco Giordano
cdb929aada
Rename variable master to implementation
4 years ago
Hadrien Croubois
16312fcfb9
Rename UpgradeableProxy to ERC1967Proxy ( #2547 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
(cherry picked from commit c789941d76
)
4 years ago
Franco Victorio
a81a88cca0
Fix mentions of buidler ( #2548 )
...
(cherry picked from commit 232c355b3a
)
4 years ago
Hadrien Croubois
c789941d76
Rename UpgradeableProxy to ERC1967Proxy ( #2547 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Franco Victorio
232c355b3a
Fix mentions of buidler ( #2548 )
4 years ago
Hadrien Croubois
24a0bc23cf
Reorganize the repo structure ( #2503 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Francisco Giordano
0059b17dfc
Remove _isConstructor() check in initializer modifier ( #2531 )
...
* Remove _isConstructor() check in initializer modifier
* add changelog entry
4 years ago
Hadrien Croubois
93438eca0b
Merge 3.4 master into solc-0.8 ( #2499 )
...
* 3.4.0-rc.0
* Allow manual dispatch of Test CI job
* Update lockfile (#2481 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* Add "available since" comments in documentation
* Add "available since" comments in documentation
(cherry picked from commit 63a0343dda
)
* Remove SafeMathMock compilation warnings (#2497 )
* Remove SafeMathMock compilation warnings (#2497 )
(cherry picked from commit f4e57fd529
)
* 3.4.0
* fix safemath test to use renamed function from the mock
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
Francisco Giordano
a0e2bca79a
Add "available since" comments in documentation
...
(cherry picked from commit 63a0343dda
)
4 years ago
Francisco Giordano
63a0343dda
Add "available since" comments in documentation
4 years ago
Francisco Giordano
5609cd4c74
Fix merge errors
4 years ago
Hadrien Croubois
18c7efe800
Make view and pure functions virtual ( #2473 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
9e49be41b6
Add ERC1167 library (minimal proxy) ( #2449 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago