Hadrien Croubois
2a62fb4a2d
Improve TransparentUpgradeableProxy's transparency ( #3977 )
...
Co-authored-by: Francisco <fg@frang.io>
2 years ago
Francisco
a28aafdc85
Use Prettier for JS files ( #3913 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
2 years ago
Hadrien Croubois
c1d9da4052
Use hardhat-exposed to reduce the need for mocks ( #3666 )
...
Co-authored-by: Francisco <fg@frang.io>
2 years ago
Francisco
2336bd3e8e
Simplify ESLint config ( #3903 )
2 years ago
Shatabarto "Rik" Bhattacharya
26cf47a2be
Add internal functions `_getInitializedVersion` and `_isInitializing` ( #3598 )
2 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
Francisco Giordano
d506e3b1a5
Simplify Initializable ( #3450 )
3 years ago
Hadrien Croubois
61294a62af
Restore previous behavior of initializer during construction ( #3344 )
3 years ago
Hadrien Croubois
e029096ca4
Add Initialized event ( #3294 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
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
e192fac276
Simplify UUPSUpgradeable along the lines of ERC1822 ( #3021 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
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
Hadrien Croubois
7279273ebb
Fix inconsistencies in contract/test hierachy ( #2814 )
...
* Fix inconsistencies in contract/test hierachy
* changelog entry
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
cd443f0d5b
Add tests to extend code coverage ( #2586 )
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
Hadrien Croubois
c789941d76
Rename UpgradeableProxy to ERC1967Proxy ( #2547 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
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
fdf57a9788
Lint
4 years ago
Hadrien Croubois
a0323d446c
Transition from buidler to hardhat
4 years ago
Hadrien Croubois
9e49be41b6
Add ERC1167 library (minimal proxy) ( #2449 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
1e8cb4b4a4
Bubble revert reasons in proxy initialization ( #2454 )
...
Co-authored-by: Hadrien Croubois <hadrien@openzeppelin.com>
4 years ago
Francisco Giordano
951e946e71
Add a beacon proxy contract ( #2411 )
...
Co-authored-by: Santiago Palladino <spalladino@gmail.com>
4 years ago
Francisco Giordano
f06738828b
Migrate to Hardhat ( #2397 )
4 years ago
Francisco Giordano
ace35fdeda
Update all dependencies transitively ( #2363 )
4 years ago
Francisco Giordano
cb791a1b21
Add Proxies from OpenZeppelin SDK ( #2335 )
4 years ago