Commit Graph

237 Commits

Author SHA1 Message Date
c46c11b3d7 fix: don't send engine events for dupe payloads (#3231) 2023-06-19 13:25:21 +00:00
1049202f0f chore: move update_pipeline_stages to StageCheckpointWriter (#3229) 2023-06-19 11:53:18 +00:00
96abde0965 chore: AccountProvider -> AccountReader & AccountWriter (#3228) 2023-06-19 11:46:47 +00:00
dce1e655c5 perf: better state retrieval (#3221) 2023-06-19 08:56:34 +00:00
37e8f7b140 perf(provider): return empty ommers after merge (#3222) 2023-06-19 08:50:00 +00:00
017c9cea9c chore: move stage methods to StageCheckpointProvider and add StageCheckpointWriter (#3195)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-06-17 11:06:25 +00:00
0d9e1f4997 chore: replaces tx.get::<Table> with provider methods (#3189) 2023-06-17 00:58:16 +00:00
b90d0b4106 chore(provider): remove transition terminology (#3198) 2023-06-16 11:20:37 +00:00
81963a17cd chore: remove unused methods on DatabaseProvider (#3196) 2023-06-16 10:51:14 +00:00
ab2a38a549 chore: replace ExecutionStage::read_block_with_senders with BlockProvider::block_with_senders (#3168) 2023-06-15 18:46:50 +00:00
e8a5ba1d5f perf: reduce more allocs (#3176) 2023-06-15 13:43:34 +00:00
64392209e9 perf: reduce allocations in changeset helpers (#3169) 2023-06-15 11:57:46 +00:00
209d2445b0 chore: rename ShareableDatabase to ProviderFactory (#3121) 2023-06-14 06:49:32 +00:00
724f480bbb Revert "refactor(stages): input target reached & output done checks" (#3136) 2023-06-13 23:49:11 -07:00
ea2fcee995 chore: use workspace dependencies (#3132) 2023-06-13 22:46:26 +00:00
6752d624a1 refactor(stages): input target reached & output done checks (#3119) 2023-06-13 12:02:48 +00:00
f55d88b8c4 refactor: remove Transaction and add DatabaseProvider to stages (#3034)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-06-12 22:37:58 +00:00
7ec4b0a5cf Revert "refactor(stages): input target reached & output done checks" (#3114) 2023-06-12 10:19:46 -07:00
9a8c680e0f refactor(stages): input target reached & output done checks (#3106) 2023-06-12 16:12:19 +00:00
5b0536bd7b feat: add util function for fetching tagged headers (#3097) 2023-06-12 05:58:39 +00:00
6ef3e12fac Put ChainsSpecs in Arc<> (#3075)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-06-09 17:58:11 +00:00
7eeecf0835 fix(storage): invalid stage checkpoints on unwind (#3029) 2023-06-06 13:18:26 -07:00
c0fb169da4 fix: unwind on execution and senders errors (#2938)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-06-06 13:17:12 -07:00
b3bd98c370 chore(tree): first block naming (#3009) 2023-06-06 09:32:06 +00:00
171166e84a chore: add msrv to manifests, add and use workspace.package (#3006) 2023-06-06 03:45:44 +00:00
e1148c81a7 chore(consensus): emit warnings if no CL found (#2961)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-06-05 16:48:40 +00:00
08900740bc feat: Better progress reporting for stage checkpoints (#2982)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-06-05 16:10:46 +00:00
6fab79bbc2 bug(Tree): Commit from tree now calculates history indices (#2978) 2023-06-05 08:32:46 -07:00
37fe44750d Avoid querying unwritten values from changesets during historical lookups (#2966) 2023-06-05 03:09:11 +00:00
25dd544468 fix: implement pending evm env (#2968) 2023-06-05 02:51:26 +00:00
f042548689 perf: use final paris difficulty if configured (#2969) 2023-06-05 02:47:28 +00:00
5c7c6608d1 chore(clippy): make clippy happy (#2963) 2023-06-02 15:22:42 +00:00
7d14525307 feat: improve block downloads (#2941) 2023-06-02 14:28:03 +00:00
a2287c68a6 chore: dont get plain state if not shard is there (#2959) 2023-06-02 12:50:19 +00:00
10717a7cc3 chore: apply same impl order (#2937) 2023-05-31 22:44:34 +00:00
1641f555f2 feat: use buffered ancestor to determine sync target (#2802)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-05-31 18:06:16 +00:00
9cd32e516a feat: Add general database::Provider and move implementations from ShareableDatabase to it (#2902) 2023-05-31 16:06:01 +00:00
5d7eba6fb2 chore(primitives): move checkpoints under stage mod (#2906) 2023-05-30 17:14:13 +00:00
ed209f6cb4 chore(engine): remove db attribute (#2917) 2023-05-30 13:44:41 +00:00
fba2adf8c1 feat(provider): stage checkpoint provider (#2907) 2023-05-30 11:10:26 +00:00
32772ca5dc perf(storage): use delete_current when possible (#2909) 2023-05-30 08:52:07 +00:00
cb3e221273 fix(stages): unwind receipts in execution stage (#2900) 2023-05-30 07:15:58 +00:00
2478c9f11c chore(stage): cleanup stage id (#2898) 2023-05-29 19:22:49 +00:00
e848dcd675 perf(rpc): use block hash or number (#2892) 2023-05-29 14:11:37 +00:00
223f5cb9cc perf: optimize block provider function (#2880) 2023-05-29 12:25:39 +00:00
2711178ee9 perf: use single tx for converting hash to number (#2870) 2023-05-26 16:59:39 +00:00
e05f655928 perf: store canonical number in atomic (#2859) 2023-05-26 13:02:07 +00:00
be5850488c docs: a few additional tree docs (#2852) 2023-05-26 12:24:27 +00:00
cdd446aba0 feat: Return an error if requested block is not synced yet (#2833)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-05-25 16:44:16 +00:00
42683b8949 perf: use canonical block number from mem (#2829) 2023-05-25 12:07:09 +02:00