Hadrien Croubois
92224533b1
Merge pull request from GHSA-9vx6-7xxf-x967
...
* add tests for the encode reads dirty data issue
* Fix the encode reads dirty data issue
* add changeset
* trigger the issue without assembly
* rename mock
* gas optimization
* Apply suggestions from code review
Co-authored-by: Ernesto García <ernestognw@gmail.com>
* alternative fix: cheaper
* update comment
* fix lint
---------
Co-authored-by: Ernesto García <ernestognw@gmail.com>
11 months ago
Renan Souza
8b4b7b8d04
Simplify finance tests ( #4912 )
11 months ago
Renan Souza
141c947921
Update chai matchers ( #4899 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
12 months ago
Hadrien Croubois
3def8f9d15
Rewrite comments using superscript for avoid confusion with xor operator ( #4903 )
12 months ago
Chris Gorman
140d66fad8
Improved integer square root ( #4403 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
12 months ago
Hadrien Croubois
96e5c0830a
Deduplicate code in `scripts/helpers` and `test/helpers/iterate` ( #4895 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
12 months ago
Ernesto García
4e7e6e54da
Add `bytes memory` version of `Math.modExp` ( #4893 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
12 months ago
Hadrien Croubois
ae1bafcb48
Add VestingWalletWithCliff ( #4870 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
12 months ago
Hadrien Croubois
f8b1ddf591
Add variants of Array.sort for address[] and bytes32[] ( #4883 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
12 months ago
Ikko Ashimine
72c0da9ae0
Fix typo in AccessManaged.sol ( #4890 )
12 months ago
Ernesto García
8b12f83a70
Remove gas optimization changeset entries ( #4889 )
12 months ago
Igor Żuk
17a8955cd8
Optimize Math operations using branchless bool to uint translation. ( #4878 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
12 months ago
Hadrien Croubois
0a757ec463
Add `sort` in memory to Arrays library ( #4846 )
...
Co-authored-by: RenanSouza2 <renan.rodrigues.souza1@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
12 months ago
Hadrien Croubois
036c3cbef2
Replace custom errors with native panic codes in DoubleEndedQueue ( #4872 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
12 months ago
Hadrien Croubois
e73913c3c1
Update hardhat-exposed to remove `mock/_import.sol` ( #4879 )
12 months ago
Hadrien Croubois
9d3b9be04f
Fix natspec comments in ERC-1155 ( #4876 )
12 months ago
Mihir Wadekar
192e873fcb
Add `Math.modExp` and a `Panic` library ( #3298 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Hadrien Croubois
cc431f53e0
Remove deprecated Truffle code ( #4868 )
1 year ago
Hadrien Croubois
7eba10dd1e
Move ERC721 and ERC1155 receiver checks to dedicate libraries ( #4845 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 year ago
Hadrien Croubois
61117c4db8
Bound lookup in arrays with duplicate ( #4842 )
...
Co-authored-by: RenanSouza2 <renan.rodrigues.souza1@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Sabnock
7439664490
Remove note about event access in `ERC1967Utils.sol` ( #4861 )
1 year ago
Hadrien Croubois
b5a7f977d8
Improve ERC-1363 documentation ( #4854 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Vittorio Minacori <vittoriominacori@gmail.com>
1 year ago
Ernesto García
6b30d2d8de
Fuzz Base64 and Base64URL ( #4853 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
1 year ago
Hadrien Croubois
e86bb45477
Add a Math.inv function that inverse a number in Z/nZ ( #4839 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Vittorio Minacori
e5f02bc608
Add ERC1363 implementation ( #4631 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Ernesto García
a51f1e1354
List every contract in each API doc section ( #4848 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
1 year ago
Hadrien Croubois
a5c4cd8182
Add new EnumerableMap types ( #4843 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Andrew Fleming
e5c63635e3
Remove documented requirement in IERC1155's `balanceOf` ( #4847 )
1 year ago
Vladislav Volosnikov
dfae50fa5b
Refactor abs without logical branching ( #4497 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Ernesto García
72c642e13e
Lower fuzz runs to 5000 ( #4835 )
1 year ago
Ernesto García
b27cd83eba
Remove `hardhat-foundry` and check harnesses compilation in CI ( #4832 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
1 year ago
renovate[bot]
ec7ee76494
Update actions/cache action to v4 ( #4841 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 year ago
Hadrien Croubois
0b343abcb5
Enable more solhint rules ( #4836 )
1 year ago
Dariusz Glowinski
06eb785fcf
Remove obsolete ERC4626 `mint` NatSpec ( #4837 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
1 year ago
Hadrien Croubois
d7490e4f59
Fix gas report format ( #4838 )
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
Hadrien Croubois
692dbc560f
Add Base64Url encoding ( #4822 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 year ago
Ernesto García
281ab15886
Run gas-compare action on push to master ( #4834 )
1 year ago
Ernesto García
2fb73e5004
Remove outdated `release` script ( #4833 )
1 year ago
Hadrien Croubois
efb8c1af6e
Fix gas report generation ( #4824 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Renan Souza
e68720efb6
Refactor supports interface ( #4817 )
1 year ago
Benjamin
920225a1c7
Add missing return value names in IAccessManager ( #4829 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 year ago
renovate[bot]
a4b98bc79f
Update actions/download-artifact digest to v3 ( #4795 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Ernesto García
a80563c008
Migrate to Node 20 ( #4756 )
1 year ago
dependabot[bot]
fa87080d10
Bump follow-redirects from 1.15.3 to 1.15.4 ( #4823 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Vladimir Khramov
ef68ac3ed8
Add getRoleMembers method to return all accounts that have role ( #4546 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 year ago
Ernesto García
b4ceb054de
Fix documentation inaccuracies in Governor ( #4815 )
1 year ago
Renan Souza
04cb014144
Make tests style more uniform ( #4812 )
1 year ago
Hadrien Croubois
a72c9561b9
Finalize test migration: remove legacy dependencies and test helpers ( #4797 )
1 year ago
cairo
abcf9dd8b7
Replace Defender Admin with Transaction Proposals ( #4804 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 year ago