Hadrien Croubois
036c3cbef2
Replace custom errors with native panic codes in DoubleEndedQueue ( #4872 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
github-actions[bot]
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>
1 year ago
Francisco
af06fdcfd4
Fix various documentation errors ( #4601 )
1 year ago
Francisco
a714fe6dbd
Wrap docstrings to 120 chars ( #4600 )
1 year ago
Ernesto García
cb0ffefe2f
Use named arguments in mapping types ( #4433 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
2 years ago
Hadrien Croubois
00cbf5a236
Update pragma to 0.8.20 ( #4489 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
Co-authored-by: ernestognw <ernestognw@gmail.com>
2 years ago
Hadrien Croubois
7c02b5cab2
Refactor DoubleEndedQueue ( #4150 )
...
Co-authored-by: Francisco <fg@frang.io>
2 years ago
Francisco
6bf68a41d1
Remove "available since" comments ( #4424 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
2 years ago
Francisco
874c2d3c02
Use explicit imports ( #4399 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
2 years ago
Ernesto García
b425a72240
Replace revert strings with custom errors ( #4261 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
2 years ago
Ernesto García
7bb5592ad5
Bump minimum pragma version to `0.8.19` ( #4288 )
2 years ago
github-actions[bot]
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>
2 years ago
Ernesto García
a34dd8bb1b
Add `solidity` language to missing code snippets ( #3992 )
2 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
Pandapip1
faf5820f03
Fix many spelling errors ( #3274 )
3 years ago
Francisco Giordano
525a672862
Add missing docs about reverts in DoubleEndedQueue
3 years ago
Hadrien Croubois
aace774961
Add a double ended queue ( #3153 )
...
* add vector, lifo and fifo structures
* fix lint
* need more memory for coverage
* remove Vector wrappers and gas optimization
* refactor Vector testing
* revert package.json changes
* rename to DoubleEndedQueue
* rename and refactor
* refactor tests and expand coverage
* test for custom errors
* add changelog entry
* add docs
* add sample code and note about storage vs. memory
* add available since
* lint
* use underscore for struct members
* add struct documentation
* remove SafeCast in length
* rename i -> index and improve docs
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago