Hadrien Croubois
8a990e6d6a
Avoid storing hashing function pointers in storage make MerkleTree structure upgrade-safe ( #5080 )
...
Co-authored-by: cairo <cairoeth@protonmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
8 months ago
Hadrien Croubois
c80b675b8d
Add CircularBuffer data structure ( #4913 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
9 months ago
Ernesto García
6b4ec6c6c6
Remove root from MerkleTree ( #4949 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
11 months ago
Hadrien Croubois
92ff025622
Add a MerkleTree builder ( #3617 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
11 months ago
Hadrien Croubois
036c3cbef2
Replace custom errors with native panic codes in DoubleEndedQueue ( #4872 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Hadrien Croubois
a5c4cd8182
Add new EnumerableMap types ( #4843 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Vladislav Volosnikov
d2ba1f6251
Remove redundant memory usage in Checkpoints ( #4540 )
...
Co-authored-by: Ernesto García <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
Hadrien Croubois
6f80048ce9
Improve natspec documentation and comments ( #4581 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
1 year ago
Hadrien Croubois
25c416d01c
Rename internal variables in EnumerableSet for improved readability ( #4577 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
1 year ago
Hadrien Croubois
cd67894914
Use Trace208 in Votes to support ERC6372 clocks ( #4539 )
...
Co-authored-by: Francisco <fg@frang.io>
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
Ernesto García
bb64458928
Implement recommendations from 5.0 audit Phase 1A ( #4398 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
2 years ago
Sebastian T F
621b867b1a
Imrove `BitMaps` documentation ( #4400 )
...
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: ernestognw <ernestognw@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
Hadrien Croubois
4448c13c3c
Move the Checkpoints library to utils/structs ( #4275 )
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
Hadrien Croubois
0f10efe232
Remove code in preparation for v5.0 ( #4258 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
2 years ago
Ernesto García
a34dd8bb1b
Add `solidity` language to missing code snippets ( #3992 )
2 years ago
Hadrien Croubois
88754d0b36
Add keys() accessor to EnumerableMaps ( #3920 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
2 years ago
Francisco Giordano
4147005b0c
Update Prettier Solidity ( #3898 )
2 years ago
Francisco
b709eae01d
Update Prettier Solidity ( #3898 )
2 years ago
Francisco Giordano
49c0e4370d
4.8.0
2 years ago
Hadrien Croubois
1f18fea1de
4.8.0-rc.2
2 years ago
Francisco
50501a751e
Update docs pipeline to solidity-docgen@0.6 ( #3707 )
...
(cherry picked from commit c52625018b
)
2 years ago
Francisco
c52625018b
Update docs pipeline to solidity-docgen@0.6 ( #3707 )
2 years ago
Hadrien Croubois
16791134c1
4.8.0-rc.1
2 years ago
Francisco Giordano
5e6fd491f3
4.8.0-rc.0
2 years ago
Francisco Giordano
42fe56031f
Fix EnumerableMap and EnumerableSet warning format
2 years ago
Hadrien Croubois
71aaca2d9d
Extend Checkpoints with new sizes and lookup mechanisms ( #3589 )
2 years ago
Hadrien Croubois
17bc2dabe0
Procedurally generate EnumerableSet and EnumerableMap ( #3429 )
2 years ago
GitHubPang
2dc086563f
Fix misspelling in comment ( #3613 )
3 years ago
Hadrien Croubois
3dac7bbed7
Merge v4.7 back into master ( #3516 )
3 years ago
Nate Lapinski
65b45726b3
Add memory safe assembly annotations ( #3384 )
...
Co-authored-by: Nate <nate@Nates-MacBook-Pro.local>
3 years ago
Artur
de74c8c62c
Add bytes32 to uint enumerable map ( #3416 )
3 years ago
ashhanai
c4f76cfa15
Add uint to uint enumerable map ( #3338 )
3 years ago
Lucas Alonso
c2077f0034
Add warning about use of delete ( #3412 )
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
Pandapip1
faf5820f03
Fix many spelling errors ( #3274 )
3 years ago
Wias Liaw
b13bdb0249
Add bytes32 to bytes32 enumerable map ( #3192 )
...
* feat(enumerablemap): add bytes32 to bytes32 map
* chore(changelog): edit CHANGELOG
* feat(enumerable map): edit struct visibility
3 years ago
Ben
c239e1af8d
Fix typo ( #3241 )
...
Fix camelcase of 'lastvalue' to 'lastValue'
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