Commit Graph

131 Commits

Author SHA1 Message Date
e35abf8423 feat(op): init genesis alloc (#7748) 2024-04-20 10:55:36 +00:00
8a0f8cf835 chore: stages crates touchups (#7742) 2024-04-19 12:25:11 +00:00
3826772886 chore: fix some warnings (#7515) 2024-04-08 18:10:10 +00:00
d6933bad99 fix: shrink_to_fit PrefixSetMut on freeze (#7342) 2024-04-01 16:27:34 +00:00
a31202670b chore: apply some style suggestions (#7307) 2024-03-24 22:52:33 +00:00
672bdcc57f chore: make blockchain tree error results more specific (#7237) 2024-03-20 17:13:57 +00:00
11bedc1884 Enable clippy's or_fun_call linter (#7222)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-03-19 15:52:41 +00:00
d91274eaa2 Enable clippy's redundant_clone linter (#7202)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-19 01:35:04 +00:00
3c028e5ef4 chore: fix typos (#7049) 2024-03-08 14:23:37 +00:00
9569692d47 feat(trie): parallel storage roots (#6903) 2024-03-08 13:23:27 +00:00
e42fb32c7f ci/test: speed up tests (#6987) 2024-03-06 13:30:18 +00:00
d1dc906d96 chore: use IntoIterator more (#6998) 2024-03-06 13:29:38 +00:00
53e67c2b99 feat(trie): metrics (#6943) 2024-03-04 14:34:48 +00:00
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
790bc62e7b chore(trie): thread safe trie cursor (#6854) 2024-02-28 17:56:27 +00:00
fa4277cdda chore(trie): safe to share prefixset (#6846) 2024-02-28 15:02:36 +00:00
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
39abdaa427 chore(trie): prefer accepting IntoIterator args (#6772) 2024-02-24 10:19:38 +00:00
79452eadaf chore: make clippy happy (#6666) 2024-02-19 06:31:47 +00:00
09c6d098f2 perf(trie): reduce key copying (#6548) 2024-02-11 14:06:47 +00:00
c78ba8588b chore(trie): export node iter (#6509) 2024-02-09 15:11:22 +00:00
84efe14063 refactor(trie): prefix sets (#6502) 2024-02-09 12:33:04 +00:00
5ab57bd81a perf(trie): hashed state from revert range (#6485) 2024-02-08 22:13:21 +00:00
48bd37e7a6 fix(trie): hashed state extension (#6483) 2024-02-08 13:09:35 +00:00
e085f4524f perf(trie): pre-allocate prefix sets (#6466) 2024-02-07 17:12:57 +00:00
925c39f11e chore: remove ahash (#6422) 2024-02-05 21:05:45 +00:00
76a6a8f50e refactor(trie): hashed state (#6244) 2024-02-01 09:09:00 +00:00
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
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
afafe790bb test: use similar-asserts instead of pretty-assertions (#6208) 2024-01-24 13:33:46 +01:00
4e24ba7436 chore(trie): simplify next entry selection in post state cursors (#6175) 2024-01-23 15:43:57 +00:00
bf3264b257 feat: use alloy genesis now (#6135)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-20 10:08:32 +00:00
5dba51650c feat(trie): construct HashedPostState from revert range (#6072) 2024-01-18 07:27:34 +00:00
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
d0b04f8859 refactor(trie): hashed post state (#6066) 2024-01-15 09:44:58 +00:00
3ce9fcf7e5 add alloy_chains (#5952)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-12 14:43:55 +00:00
bb7dcfaf12 perf(tree): cache canonical trie updates (#5871) 2024-01-08 18:39:42 +00:00
b828867f8c lints: use rust-2018-idioms to eliminate #![allow(elided-lifetimes-in-paths)] (#5944) 2024-01-04 18:13:33 +00:00
9aa44093cf lints: move top-level lints to [workspace.lints] manifest table (#5935) 2024-01-04 13:38:02 +00:00
f2bac81b92 doc: improve documentation for trie crate (#5872)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-12-29 12:40:06 +00:00
abc168efa6 Trie hash optimizations (#5827) 2023-12-26 09:43:10 +00:00
cbf6324594 chore(primitives): extract trie HashBuilder implementation (#5832) 2023-12-26 07:48:55 +00:00
d8b1771cdd feat(trie): trie cursor abstraction (#5643) 2023-12-21 19:22:15 +00:00
26a91c69f4 feat: use nybbles crate (#5766) 2023-12-15 11:27:49 +00:00
8d8700a5c0 feat(primitives): state root methods (#5694) 2023-12-05 10:31:41 +00:00
542639cc6f perf(trie): use smallvec as the Nibbles representation (#5641) 2023-12-01 22:45:15 +00:00
0d522e8472 chore: improve Nibbles-related code (#5631) 2023-11-30 19:28:50 +00:00
18d563dd27 chore: use U256::is_zero (#5616) 2023-11-28 15:44:27 +00:00
608f100605 perf(provider): compute hashes and trie updates before opening write tx (#5505) 2023-11-28 08:54:09 +00:00