Commit Graph

200 Commits

Author SHA1 Message Date
Peter Davies
37fe44750d Avoid querying unwritten values from changesets during historical lookups (#2966) 2023-06-05 03:09:11 +00:00
Matthias Seitz
25dd544468 fix: implement pending evm env (#2968) 2023-06-05 02:51:26 +00:00
Matthias Seitz
f042548689 perf: use final paris difficulty if configured (#2969) 2023-06-05 02:47:28 +00:00
Matthias Seitz
5c7c6608d1 chore(clippy): make clippy happy (#2963) 2023-06-02 15:22:42 +00:00
Matthias Seitz
7d14525307 feat: improve block downloads (#2941) 2023-06-02 14:28:03 +00:00
rakita
a2287c68a6 chore: dont get plain state if not shard is there (#2959) 2023-06-02 12:50:19 +00:00
Matthias Seitz
10717a7cc3 chore: apply same impl order (#2937) 2023-05-31 22:44:34 +00:00
Dan Cline
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
joshieDo
9cd32e516a feat: Add general database::Provider and move implementations from ShareableDatabase to it (#2902) 2023-05-31 16:06:01 +00:00
Roman Krasiuk
5d7eba6fb2 chore(primitives): move checkpoints under stage mod (#2906) 2023-05-30 17:14:13 +00:00
Roman Krasiuk
ed209f6cb4 chore(engine): remove db attribute (#2917) 2023-05-30 13:44:41 +00:00
Roman Krasiuk
fba2adf8c1 feat(provider): stage checkpoint provider (#2907) 2023-05-30 11:10:26 +00:00
Alexey Shekhirin
32772ca5dc perf(storage): use delete_current when possible (#2909) 2023-05-30 08:52:07 +00:00
Alexey Shekhirin
cb3e221273 fix(stages): unwind receipts in execution stage (#2900) 2023-05-30 07:15:58 +00:00
Roman Krasiuk
2478c9f11c chore(stage): cleanup stage id (#2898) 2023-05-29 19:22:49 +00:00
Matthias Seitz
e848dcd675 perf(rpc): use block hash or number (#2892) 2023-05-29 14:11:37 +00:00
Matthias Seitz
223f5cb9cc perf: optimize block provider function (#2880) 2023-05-29 12:25:39 +00:00
Matthias Seitz
2711178ee9 perf: use single tx for converting hash to number (#2870) 2023-05-26 16:59:39 +00:00
Matthias Seitz
e05f655928 perf: store canonical number in atomic (#2859) 2023-05-26 13:02:07 +00:00
Matthias Seitz
be5850488c docs: a few additional tree docs (#2852) 2023-05-26 12:24:27 +00:00
chirag-bgh
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
Matthias Seitz
42683b8949 perf: use canonical block number from mem (#2829) 2023-05-25 12:07:09 +02:00
Alexey Shekhirin
0b81096f8b feat(stages): checkpoint downloaded headers (#2798) 2023-05-24 20:51:41 +04:00
Roman Krasiuk
d7e013c4f2 fix(transaction): block poststate range zip (#2808) 2023-05-24 01:56:27 -07:00
Roman Krasiuk
7eaabeb0d4 fix(transaction): tx iterator for block range (#2804) 2023-05-24 01:51:53 -07:00
Dan Cline
5039122c35 feat: add sealed_header to HeaderProvider for single headers (#2801) 2023-05-23 16:03:02 -04:00
Matthias Seitz
44348b4e48 feat: add canonical outcome type (#2765) 2023-05-22 15:30:13 +02:00
Matthias Seitz
337579176d feat: add sealed headers range (#2769) 2023-05-22 15:30:00 +02:00
Bjerg
71589119ab refactor: remove unused Transaction fns (#2739) 2023-05-19 11:20:52 +02:00
Alexey Shekhirin
e4cd48aefd feat(stages): rich checkpoint (#2701)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-05-18 20:45:50 +02:00
Matthias Seitz
8fee5d3e28 refactor: dedicated blockchain insert errors (#2712) 2023-05-18 15:00:47 +02:00
Matthias Seitz
352b55dc05 chore: rename Error to DatabaseError (#2718) 2023-05-17 15:21:46 +02:00
Matthias Seitz
fd45c8726d chore: executor error cleanup (#2709) 2023-05-17 11:13:08 +02:00
Matthias Seitz
9a4244867f refactor: cleanup Providererror (#2710) 2023-05-17 11:00:55 +02:00
Roman Krasiuk
d91f1d1c50 fix(poststate): collapse account changes (#2670) 2023-05-15 14:49:58 -07:00
Matthias Seitz
85e6d9ac5b feat(rpc): set starting block to latest at launch (#2668) 2023-05-15 15:49:09 +02:00
Matthias Seitz
7292384913 perf: read ChainInfo from in-memory canonical block (#2669) 2023-05-15 15:45:13 +02:00
Roman Krasiuk
ae6691dd36 chore: make clippy happy, tests edition (#2675) 2023-05-15 15:09:03 +02:00
Matthias Seitz
4d0406b383 perf(rpc): improve gas price perf by skipping hash (#2657) 2023-05-13 12:34:06 -04:00
Roman Krasiuk
a0b6b207a6 chore(poststate): size hint (#2653) 2023-05-12 14:22:58 -07:00
Dan Cline
cc601dbe9f feat: add safe and finalized tags to StateProviderFactory (#2654) 2023-05-12 16:00:16 -04:00
Roman Krasiuk
e2c7b38d55 fix(poststate): storage revert before selfdestruct (#2636) 2023-05-12 10:45:20 -07:00
Roman Krasiuk
b16678da1d fix(poststate): handle secondary selfdestructs (#2634) 2023-05-12 10:32:43 -07:00
Roman Krasiuk
8c1a1e0e06 fix(poststate): duplicate receipts (#2632) 2023-05-12 10:31:01 -07:00
Dan Cline
45caab8052 feat: impl BlockIdProvider for BlockchainProvider (#2650) 2023-05-12 18:28:27 +02:00
Matthias Seitz
afcc66c39a feat: add getter for last FCU timestamp (#2647) 2023-05-12 12:15:16 -04:00
Matthias Seitz
08972ca5e4 feat: add forkchoice update tracker type (#2555)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2023-05-12 12:24:41 +02:00
Dan Cline
58a4a8ea86 fix: do not panic on safe, finalized BlockIdProvider (#2628) 2023-05-11 00:02:41 +02:00
Dan Cline
7d3016f0f2 feat: use BlockHashOrNum in providers (#2627) 2023-05-10 22:03:16 +02:00
Roman Krasiuk
09f1a5b640 feat(execution): state change size based commits (#2494) 2023-05-05 09:57:16 -07:00