Commit Graph

107 Commits

Author SHA1 Message Date
DaniPopes
e42fb32c7f ci/test: speed up tests (#6987) 2024-03-06 13:30:18 +00:00
DaniPopes
d1dc906d96 chore: use IntoIterator more (#6998) 2024-03-06 13:29:38 +00:00
Roman Krasiuk
53e67c2b99 feat(trie): metrics (#6943) 2024-03-04 14:34:48 +00:00
Alexey Shekhirin
6b5b6f7a40 Breaking changes (#5191)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: joshieDo <ranriver@protonmail.com>
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
Co-authored-by: Thomas Coratger <thomas.coratger@gmail.com>
2024-02-29 12:37:28 +00:00
Roman Krasiuk
790bc62e7b chore(trie): thread safe trie cursor (#6854) 2024-02-28 17:56:27 +00:00
Roman Krasiuk
fa4277cdda chore(trie): safe to share prefixset (#6846) 2024-02-28 15:02:36 +00:00
DaniPopes
285312ea68 chore(deps): bump nybbles, correct some unchecked usages (#6794)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-02-26 16:09:35 +00:00
Roman Krasiuk
39abdaa427 chore(trie): prefer accepting IntoIterator args (#6772) 2024-02-24 10:19:38 +00:00
Dan Cline
79452eadaf chore: make clippy happy (#6666) 2024-02-19 06:31:47 +00:00
Roman Krasiuk
09c6d098f2 perf(trie): reduce key copying (#6548) 2024-02-11 14:06:47 +00:00
Roman Krasiuk
c78ba8588b chore(trie): export node iter (#6509) 2024-02-09 15:11:22 +00:00
Roman Krasiuk
84efe14063 refactor(trie): prefix sets (#6502) 2024-02-09 12:33:04 +00:00
Roman Krasiuk
5ab57bd81a perf(trie): hashed state from revert range (#6485) 2024-02-08 22:13:21 +00:00
Roman Krasiuk
48bd37e7a6 fix(trie): hashed state extension (#6483) 2024-02-08 13:09:35 +00:00
Roman Krasiuk
e085f4524f perf(trie): pre-allocate prefix sets (#6466) 2024-02-07 17:12:57 +00:00
Roman Krasiuk
925c39f11e chore: remove ahash (#6422) 2024-02-05 21:05:45 +00:00
Roman Krasiuk
76a6a8f50e refactor(trie): hashed state (#6244) 2024-02-01 09:09:00 +00:00
Vitaly Drogan
b3ed3016cd Hashed post state cursor works on top of a trait instead of &Tx. (#6226)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-01-26 10:24:10 +00:00
Roman Krasiuk
2de10a15b5 feat(trie): historical & sidechain state root (#6131)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-25 17:16:18 +00:00
Matthias Seitz
afafe790bb test: use similar-asserts instead of pretty-assertions (#6208) 2024-01-24 13:33:46 +01:00
Roman Krasiuk
4e24ba7436 chore(trie): simplify next entry selection in post state cursors (#6175) 2024-01-23 15:43:57 +00:00
Supernovahs.eth
bf3264b257 feat: use alloy genesis now (#6135)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-20 10:08:32 +00:00
Roman Krasiuk
5dba51650c feat(trie): construct HashedPostState from revert range (#6072) 2024-01-18 07:27:34 +00:00
Thomas Coratger
d919f3da10 refactor in trie crate (#5897)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-01-17 20:57:52 +00:00
yjh
38559a9a8c chore: improve HashedStorage (#6068)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-01-15 12:14:53 +00:00
Roman Krasiuk
d0b04f8859 refactor(trie): hashed post state (#6066) 2024-01-15 09:44:58 +00:00
Darex
3ce9fcf7e5 add alloy_chains (#5952)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-12 14:43:55 +00:00
Roman Krasiuk
bb7dcfaf12 perf(tree): cache canonical trie updates (#5871) 2024-01-08 18:39:42 +00:00
Thomas Coratger
9aa44093cf lints: move top-level lints to [workspace.lints] manifest table (#5935) 2024-01-04 13:38:02 +00:00
Thomas Coratger
f2bac81b92 doc: improve documentation for trie crate (#5872)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-12-29 12:40:06 +00:00
Vitaly Drogan
abc168efa6 Trie hash optimizations (#5827) 2023-12-26 09:43:10 +00:00
DaniPopes
cbf6324594 chore(primitives): extract trie HashBuilder implementation (#5832) 2023-12-26 07:48:55 +00:00
Roman Krasiuk
d8b1771cdd feat(trie): trie cursor abstraction (#5643) 2023-12-21 19:22:15 +00:00
DaniPopes
26a91c69f4 feat: use nybbles crate (#5766) 2023-12-15 11:27:49 +00:00
Roman Krasiuk
8d8700a5c0 feat(primitives): state root methods (#5694) 2023-12-05 10:31:41 +00:00
DaniPopes
542639cc6f perf(trie): use smallvec as the Nibbles representation (#5641) 2023-12-01 22:45:15 +00:00
DaniPopes
0d522e8472 chore: improve Nibbles-related code (#5631) 2023-11-30 19:28:50 +00:00
Matthias Seitz
18d563dd27 chore: use U256::is_zero (#5616) 2023-11-28 15:44:27 +00:00
Roman Krasiuk
608f100605 perf(provider): compute hashes and trie updates before opening write tx (#5505) 2023-11-28 08:54:09 +00:00
Roman Krasiuk
1aa4ae8c6d test(trie): instantiate provider with util function (#5535) 2023-11-22 19:39:50 +00:00
Matthias Seitz
aea11405ad feat: get rid of lifetime GATs (#5478) 2023-11-19 15:21:50 +00:00
Alexey Shekhirin
d762d2d9f7 feat: downgrade trie debug logs to trace, cleanup debug logs more (#5285) 2023-11-07 12:58:36 +00:00
Alexey Shekhirin
9ca44efe9f feat(bin): separate journald and file log filters, log debug to file by default (#5197) 2023-10-31 11:08:15 +00:00
robinsdan
6ca14b5178 clean up database file after testing (#5087)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
2023-10-25 18:47:44 +00:00
Thomas Coratger
98e03ee4e2 feat(primitives): clean up primitives proof.rs file (#5167) 2023-10-25 13:30:56 +00:00
Roman Krasiuk
4b1a0ce174 refactor(trie): trie node iterators (#5048) 2023-10-18 11:13:01 +00:00
robinsdan
ede8278916 remove lifetime param in storage trait (#5046) 2023-10-17 13:30:50 +00:00
Roman Krasiuk
12ac1f153f feat(trie): account & storage proofs (#5041) 2023-10-17 07:28:05 +00:00
robinsdan
3a8c062574 chore: simplify HashedCursorFactory trait (#4984) 2023-10-12 11:41:06 +00:00
Alexey Shekhirin
af8e3c9ee9 feat(pruner): shared deletion limit (#4880) 2023-10-04 18:12:58 +00:00