Hadrien Croubois
ccb5f2d8ca
Fix 5.2 audit L-05, N-03, N-04, N-05 and N-06 issues ( #5308 )
3 months ago
Ernesto García
f96237308f
Update forge and change visibility in fuzz tests ( #5103 )
...
Co-authored-by: cairo <cairoeth@protonmail.com>
3 months ago
Hadrien Croubois
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>
4 months ago
Hadrien Croubois
2fa4d103fe
Add NoncesKeyed variant ( #5272 )
4 months ago
renovate[bot]
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>
4 months ago
cairo
c12cf86e0d
Fuzz tampered tests for `ERC2771Forwarder` ( #5258 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
4 months ago
Hadrien Croubois
2a83a217af
GovernorCountingOverridable testing with timestamp ( #5269 )
4 months ago
Hadrien Croubois
378914ceab
Delegate override vote ( #5192 )
...
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
4 months ago
Hadrien Croubois
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>
4 months ago
Hadrien Croubois
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>
4 months ago
Ernesto García
6325009675
Split StorageSlot into TransientSlot ( #5239 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
4 months ago
cairo
b72e3da0ec
Bump forge-std to v1.9.3 ( #5230 )
4 months ago
cairo
e3cfe1c5dd
Fix P256 corner cases ( #5218 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
4 months ago
PurrProof
cc67e0eb83
Add comment and tests for zero address behavior in Ownable2Step.transferOwnership() ( #5226 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
4 months ago
cairo
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>
5 months ago
Ernesto García
530179a71f
Disallow empty CircularBuffer setup ( #5214 )
5 months ago
Hadrien Croubois
3cfebcb5c4
Refactor Heap.sol to remove `index` and `lookup` ( #5190 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
5 months ago
TechVoyagerX
f20981528f
refactor: enhance ERC6372 behavior test with detailed checks ( #5164 )
5 months ago
cairo
3f901696f7
Clean dirty addresses and booleans ( #5195 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
5 months ago
cairo
6e224307b4
Fix typographical errors ( #5194 )
5 months ago
Hadrien Croubois
cb7faaf4db
Add clone variant with per-instance immutable arguments ( #5109 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
5 months ago
Hadrien Croubois
d8bbd34676
Update declaration of memory safe assembly blocks ( #5172 )
5 months ago
Hadrien Croubois
231fae33f0
Add Binary heap structure ( #5084 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
7 months ago
Hadrien Croubois
e30b390d84
Add `ERC7674` (draft) ( #5071 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
7 months ago
Hadrien Croubois
b73bcb231f
Process and verify merkle proofs (and multiproof) with custom hash function ( #4887 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
7 months ago
Hadrien Croubois
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>
7 months ago
Hadrien Croubois
5480641e5c
Reduce memory leakage from returndata in SafeERC20 ( #5090 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
8 months ago
Hadrien Croubois
83c7e45092
Fix dirty bits in upper bits in implementation address in `Clones.sol` ( #5069 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
8 months ago
Hadrien Croubois
53b5d84212
Add bytes6 to the Packing library. ( #5077 )
8 months ago
Hadrien Croubois
dc62599257
Extended packing and extracting library for value types ( #5056 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
8 months ago
Hadrien Croubois
d8e799db98
Implement RSA verification ( #4952 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
8 months ago
cairo
337bfd5ea4
Add utility function for converting an address to checksummed string ( #5067 )
8 months ago
Hadrien Croubois
c1d6ad5a30
Add GovernorCountingFractional ( #5045 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
8 months ago
Dimitrios Papathanasiou
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>
9 months ago
Ernesto García
52e0e3e783
Extend `onlyAuthorized` to support extra functions in AccessManager ( #5014 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
9 months ago
Ernesto García
f1a69f164e
Add Halmos support for formal verification ( #5034 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
9 months ago
alex
d947fb056d
Fix typo in GovernorVotesQuorumFraction.test.js ( #5041 )
9 months ago
yanziseeker
48ce444477
Fix Governor.t.sol's duplicate words ( #5037 )
9 months ago
Hadrien Croubois
c80b675b8d
Add CircularBuffer data structure ( #4913 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
10 months ago
Lohann Paterno Coutinho Ferreira
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>
10 months ago
Hadrien Croubois
f8c2e1035e
Add Packing library ( #4992 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
10 months ago
Hadrien Croubois
b6e07917eb
Transient version of ReentrancyGuard ( #4988 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
10 months ago
Hadrien Croubois
d6ad9db0a0
Add transient storage slot support in StorageSlot.sol ( #4980 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
10 months ago
Hadrien Croubois
cb2aaaa04a
Add slot derivation library ( #4975 )
11 months ago
Renan Souza
5e3ba29b08
Procedurally generate Arrays.sol ( #4859 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
11 months ago
Xenia
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>
11 months ago
Franco Victorio
c03952acbe
Remove `async` from `describe` blocks and add missing `await` in tests ( #4942 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
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
Anton Bukov
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>
11 months ago
Alexander González
7a29f7df51
Improve MerkleProof tests ( #4937 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
11 months ago