Hadrien Croubois
8829465a08
Run linter on commit instead of push ( #5340 )
...
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
2 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>
3 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>
3 months ago
Hadrien Croubois
c343ee3768
Bump pragma to 0.8.22 for all contract that depend on ERC1967Utils ( #5273 )
3 months ago
Ernesto García
6325009675
Split StorageSlot into TransientSlot ( #5239 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
4 months ago
cairo
cceac54953
Add introduction tag for v5.1 contracts ( #5228 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
4 months ago
Ernesto García
414cb9e6fd
Consistently name multiple returned values ( #5177 )
4 months ago
Hadrien Croubois
3cfebcb5c4
Refactor Heap.sol to remove `index` and `lookup` ( #5190 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
4 months ago
cairo
3f901696f7
Clean dirty addresses and booleans ( #5195 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
4 months ago
cairo
6e224307b4
Fix typographical errors ( #5194 )
5 months ago
Ernesto García
83f954d8c4
Add memory side effects notes when using function pointers ( #5174 )
5 months ago
Hadrien Croubois
d8bbd34676
Update declaration of memory safe assembly blocks ( #5172 )
5 months ago
Hadrien Croubois
1e7ca3eea6
Remove redundant array access in Checkpoints ( #5169 )
5 months ago
Hadrien Croubois
3547cdce21
Fix typographical errors ( #5171 )
5 months ago
danilo neves cruz
4764ea5075
Fix `prepare` when using as git repository dependency
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
6 months ago
Ernesto García
c304b6710b
Update MerkleProof note clarifying empty set definition ( #5144 )
...
Co-authored-by: cairo <cairoeth@protonmail.com>
Co-authored-by: sudo rm -rf --no-preserve-root / <pcaversaccio@users.noreply.github.com>
6 months ago
Ernesto García
bcd4beb5e7
Make explicit the validity of the empty set in MerkleProof.sol ( #5142 )
6 months ago
Hadrien Croubois
24a641d9c9
Get leaves from memory in processMultiProofCalldata ( #5140 )
6 months ago
Hadrien Croubois
e3786e63e6
Fix natspec comment missing * ( #5136 )
6 months ago
Hadrien Croubois
9d6a0cc7e9
Fix documentation of private function `_upperLookupBinary` in Checkpoints.sol ( #5128 )
...
Co-authored-by: cairo <cairoeth@protonmail.com>
6 months ago
Hadrien Croubois
659f3063f8
Fix typo in Heap.sol documentation ( #5121 )
6 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>
6 months ago
Hadrien Croubois
19a657bef8
Protect Packing.pack and Packing.replace against values that include dirty bits ( #5117 )
6 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
cairo
ccc110360f
Add Foundry tests to coverage ( #5098 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
7 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
dd1e8988ab
Generate already lint code from procedural generation ( #5060 )
8 months ago
Ernesto García
f1a69f164e
Add Halmos support for formal verification ( #5034 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
8 months ago
chibitanaka
fe68c12f9c
Fix spelling ( #5049 )
8 months ago
Hadrien Croubois
c80b675b8d
Add CircularBuffer data structure ( #4913 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
9 months ago
Ernesto García
11dc5e3809
Expose an initializer function for non-abstract contracts in their upgradeable versions ( #5008 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@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
renovate[bot]
6f4ebf1190
Update dependency hardhat-gas-reporter to v2 ( #4979 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
10 months ago
Hadrien Croubois
cb2aaaa04a
Add slot derivation library ( #4975 )
10 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>
10 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
Hadrien Croubois
96e5c0830a
Deduplicate code in `scripts/helpers` and `test/helpers/iterate` ( #4895 )
...
Co-authored-by: ernestognw <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
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
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
Ernesto García
6b30d2d8de
Fuzz Base64 and Base64URL ( #4853 )
...
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
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
Hadrien Croubois
a72c9561b9
Finalize test migration: remove legacy dependencies and test helpers ( #4797 )
1 year ago