Commit Graph

1490 Commits

Author SHA1 Message Date
c73dadacb2 refactor: unify code paths for trie unwind (#12741) 2024-11-21 15:20:29 +00:00
0c5984179e refactor(storage): unify blocks insertion logic (#12694) 2024-11-20 22:48:39 +00:00
402f96600b chore: move txtype constants to codecs (#12705) 2024-11-20 12:18:58 +00:00
ce4a32017a chore: rm unused codec derive (#12700) 2024-11-20 10:48:09 +00:00
2c885eee21 chore: rm unused windows import (#12697) 2024-11-20 09:46:47 +00:00
1e7189d3e4 feat: trait-based storage API (#12616)
Co-authored-by: joshie <93316087+joshieDo@users.noreply.github.com>
2024-11-19 15:39:28 +00:00
2dc75fb996 fix: correctly prune transactions during on-disk reorgs (#12630) 2024-11-18 14:09:44 +00:00
ff22c8eef8 chore(sdk): Define MaybeSerde (#12577)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-11-18 13:30:44 +00:00
d52c7194d1 chore: move triewriter trait (#12598) 2024-11-16 11:32:56 +01:00
1945cd8b42 chore: move hashing writer trait (#12597) 2024-11-16 10:37:14 +01:00
fc97a0cbaf chore: make clippy happy (#12594) 2024-11-16 06:04:39 +01:00
7745046b0b Fix grammar in MDBX documentation (#12580)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-11-16 05:44:37 +01:00
f0b8b9b221 feat: add tx_number consistency check to StaticFileProviderRW (#12570)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-11-15 19:04:35 +00:00
56826cbdbb fix: remove redundant check in bodies stage (#12569) 2024-11-15 12:35:35 +00:00
72a52d5ea5 feat: make StaticFileProvider generic over NodePrimitives (#12565) 2024-11-15 10:42:58 +00:00
d8af28bbfa refactor: use DBProvider in LatestStateProvider (#12557) 2024-11-14 22:05:07 +00:00
a534db8714 refactor: use DBProvider in HistoricalStateProvider (#12556) 2024-11-14 20:57:31 +00:00
a7bb1d1fa3 chore: remove constants reexport (#12549) 2024-11-14 18:36:31 +01:00
77e687c28c feat: relax BodyStage bounds (#12539) 2024-11-14 15:23:15 +00:00
ff6b78a362 feat: move body writing to BlockWriter trait (#12538) 2024-11-14 13:50:32 +00:00
413d651391 chore: simplify import path (#12523) 2024-11-13 17:11:32 +00:00
001f3899fd primitives: rm alloy Header reexport (#12515) 2024-11-13 16:41:25 +00:00
9313737dbb primitives: use SealedHeader::seal (#12507) 2024-11-13 13:41:56 +01:00
cef7ec80c1 Move CanonChainTracker to storage-api (#12491) 2024-11-13 02:00:07 +01:00
8221e5bd54 chore: MoveStatsReader trait to storage-api and reexport it from old provider crate (#12485) 2024-11-12 20:58:16 +00:00
fa5daef07d chore: Move HistoryWriter trait to storage-api and reexport it from old provider crate (#12480) 2024-11-12 18:35:51 +00:00
4a8eb7a0c0 chore: add DUPSORT trait const (#12477) 2024-11-12 17:19:06 +00:00
b5f7eca72f chore(sdk): make ExecutionOutcome generic over receipt (#12448)
Co-authored-by: Federico Gimenez <fgimenez@users.noreply.github.com>
2024-11-12 10:38:00 +00:00
59ebebaa63 primitives: rm alloy Withdrawals reexport (#12421)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-11-09 13:09:46 +00:00
d2f494bd88 primitives: replace primitive Withdrawals with alloy (#12119)
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-11-09 07:55:06 +00:00
ba4f169f87 chore(db): add log for read transaciton monitor sleep time (#12408) 2024-11-08 15:23:56 +00:00
0da914eaeb chore: enable dbg_macro lint (#12409) 2024-11-08 15:03:29 +00:00
86230d9962 chore: include path in panic (#12407) 2024-11-08 15:50:57 +01:00
bce7031155 feat: allow generic values in tables! macro (#12400) 2024-11-08 11:57:01 +00:00
c5ab4243e7 chore: remove redundant words in comment (#12394)
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
2024-11-08 11:23:02 +01:00
cf72b6f38d chore: move helper methods from DatabaseProvider to DBProvider as defaults (#12367) 2024-11-07 12:06:53 +00:00
38fdc93a12 feat: bump alloy (#12215)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-11-06 14:50:25 +00:00
3f02e18dc5 fix: add dev feature in error message to generate test vectors (#12084) 2024-11-06 07:30:08 +00:00
967cbc4e97 primitives: rm alloy Signature reexport (#12313) 2024-11-05 04:15:15 +00:00
d5f0103601 primitives: rm alloy BlockNumHash reexport (#12304) 2024-11-04 14:54:58 +00:00
566f2b4950 primitives: rm alloy BlockHashOrNumber reexport (#12302) 2024-11-04 10:15:56 +00:00
56b76871ed primitives: rm alloy Withdrawal reexport (#12296) 2024-11-04 08:21:17 +00:00
61f19ab2dc Refactor: use fully-qualified paths in Compact derives(Deon Branch) (#12279)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-11-03 17:03:45 +00:00
a911104fe9 test: make cargo t compile in db-models (#12263) 2024-11-01 21:03:17 +00:00
fdf10a7dc2 test: make cargo t compile in codecs (#12261) 2024-11-01 20:58:59 +00:00
f52186cc4d db-api: opt StorageShardedKey encode, decode (#12143) 2024-11-01 11:30:03 +00:00
c6b740801f chore: apply same member order (#12253) 2024-11-01 11:11:54 +00:00
129f3ba911 feat: introduce StateCommitment type (#11842) 2024-10-30 08:48:43 +00:00
1006ce78c5 feat(provider): use NodeTypes on DatabaseProvider instead (#12166) 2024-10-29 14:37:41 +00:00
f545877bb8 Revert "Revert "feat: add geometry to database args"" (#12165) 2024-10-29 13:23:54 +00:00