43b3319e5b
Add ERC6909 Implementation along with extensions ( #5394 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2025-02-04 13:47:21 +01:00
332bcb5f4d
Refactor EnumerableSet.behavior.js for reuse in the community repo ( #5441 )
2025-01-20 18:03:16 +01:00
352ab13687
Add a Calldata library with emptyBytes and emptyString functions ( #5422 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2025-01-09 19:48:32 -06:00
4c3ef87cf5
Await .eventually test matchers ( #5408 )
2024-12-28 12:02:00 -06:00
03e06bf08c
Add GovernorSequentialProposalId extension for sequential numbers on proposals ( #5290 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2024-12-19 11:19:06 +01:00
ff3134197f
Amend shouldSupportInterfaces refactor ( #5359 )
2024-12-10 22:31:26 +01:00
6dacc68c46
Refactor shouldSupportInterfaces helper ( #5358 )
2024-12-10 14:29:22 -06:00
1c1186af1c
Allow pass in custom arguments to shouldSupportInterfaces test helper ( #5350 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-12-10 11:47:32 -06:00
b3ce884628
Refactor parseUint, parseInt and parseHexUint to check bounds ( #5304 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-11-25 11:05:40 +01:00
7105693e3c
Change NoncesKeyed._useNonce to return a keyed value ( #5312 )
2024-11-21 16:34:00 +01:00
f96237308f
Update forge and change visibility in fuzz tests ( #5103 )
...
Co-authored-by: cairo <cairoeth@protonmail.com >
2024-10-28 23:33:25 +07:00
28aed34dc5
Merge account abstraction work into master ( #5274 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
Co-authored-by: Elias Rad <146735585+nnsW3@users.noreply.github.com >
Co-authored-by: cairo <cairoeth@protonmail.com >
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com >
2024-10-23 09:19:13 +02:00
2fa4d103fe
Add NoncesKeyed variant ( #5272 )
2024-10-23 09:16:10 +02:00
205f59e9b6
Update dependency eslint to v9 ( #4996 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: cairo <cairoeth@protonmail.com >
2024-10-23 08:31:39 +02:00
fe6249ec2c
Bytes library and CAIP2/CAIP10 helpers ( #5252 )
...
Co-authored-by: cairo <cairoeth@protonmail.com >
Co-authored-by: Ernesto García <ernestognw@gmail.com >
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com >
2024-10-14 22:41:08 +02:00
bd588959ad
Add toUint, toInt and hexToUint to Strings ( #5166 )
...
Co-authored-by: cairo <cairoeth@protonmail.com >
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2024-10-14 17:13:33 +02:00
6325009675
Split StorageSlot into TransientSlot ( #5239 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-10-08 13:39:53 -06:00
b72e3da0ec
Bump forge-std to v1.9.3 ( #5230 )
2024-09-30 14:38:42 -07:00
e3cfe1c5dd
Fix P256 corner cases ( #5218 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2024-09-30 10:05:44 -06:00
2f0bc58946
Update and clarify documentation comments ( #5206 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2024-09-23 09:17:10 -06:00
530179a71f
Disallow empty CircularBuffer setup ( #5214 )
2024-09-19 11:20:04 -06:00
3cfebcb5c4
Refactor Heap.sol to remove index and lookup ( #5190 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2024-09-19 14:29:39 +02:00
3f901696f7
Clean dirty addresses and booleans ( #5195 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-09-18 18:21:17 +02:00
6e224307b4
Fix typographical errors ( #5194 )
2024-09-13 19:26:46 +02:00
d8bbd34676
Update declaration of memory safe assembly blocks ( #5172 )
2024-08-29 15:07:17 -06:00
231fae33f0
Add Binary heap structure ( #5084 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
Co-authored-by: cairo <cairoeth@protonmail.com >
2024-07-23 11:31:26 -06:00
b73bcb231f
Process and verify merkle proofs (and multiproof) with custom hash function ( #4887 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-07-15 18:08:58 +02:00
05f218fb66
Implement P256 verification via RIP-7212 precompile with Solidity fallback ( #4881 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
Co-authored-by: cairo <cairoeth@protonmail.com >
Co-authored-by: sudo rm -rf --no-preserve-root / <pcaversaccio@users.noreply.github.com >
2024-07-03 09:17:46 +02:00
53b5d84212
Add bytes6 to the Packing library. ( #5077 )
2024-06-12 16:23:35 -06:00
dc62599257
Extended packing and extracting library for value types ( #5056 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-06-11 12:07:00 -06:00
d8e799db98
Implement RSA verification ( #4952 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
Co-authored-by: cairo <cairoeth@protonmail.com >
2024-06-11 11:16:30 -06:00
337bfd5ea4
Add utility function for converting an address to checksummed string ( #5067 )
2024-06-04 21:43:14 +02:00
984233dcad
Bubble up returndata from reverted Create2 deployments ( #5052 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-05-27 12:45:32 +02:00
f1a69f164e
Add Halmos support for formal verification ( #5034 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-05-23 09:01:12 -06:00
c80b675b8d
Add CircularBuffer data structure ( #4913 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-04-26 10:28:59 -06:00
4032b42694
Branchless ternary, min and max methods ( #4976 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2024-04-23 14:08:08 +02:00
f8c2e1035e
Add Packing library ( #4992 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-04-05 14:59:18 +02:00
b6e07917eb
Transient version of ReentrancyGuard ( #4988 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-04-04 14:33:30 -06:00
d6ad9db0a0
Add transient storage slot support in StorageSlot.sol ( #4980 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-04-04 01:15:30 +02:00
cb2aaaa04a
Add slot derivation library ( #4975 )
2024-03-27 21:17:46 +00:00
5e3ba29b08
Procedurally generate Arrays.sol ( #4859 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-03-27 13:17:19 +00:00
d398d68944
Mask computed address in Create2 and Clones libraries ( #4941 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-03-25 14:33:45 +00:00
92ff025622
Add a MerkleTree builder ( #3617 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2024-03-07 16:27:38 +01:00
e83142944f
Add ability to create clones with initial value in Clones.sol ( #4936 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-03-06 13:44:42 -06:00
7a29f7df51
Improve MerkleProof tests ( #4937 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-03-01 14:46:52 -06:00
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 >
2024-02-29 10:03:32 -06:00
141c947921
Update chai matchers ( #4899 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-02-19 19:27:39 +01:00
96e5c0830a
Deduplicate code in scripts/helpers and test/helpers/iterate ( #4895 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-02-15 17:40:48 -06:00
4e7e6e54da
Add bytes memory version of Math.modExp ( #4893 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-02-14 10:06:34 +01:00
f8b1ddf591
Add variants of Array.sort for address[] and bytes32[] ( #4883 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2024-02-12 16:34:07 +00:00