Commit Graph

64 Commits

Author SHA1 Message Date
rakita
efbaf6474c feat(BlockchainTree): ShareableBlockchainTree and pending state (#2007) 2023-03-29 20:59:24 +02:00
Matthias Seitz
47b9738ede chore: fix some typos (#2025) 2023-03-29 14:49:50 +02:00
Roman Krasiuk
1ecbd55d45 fix(engine): run incomplete pipeline (#1999) 2023-03-28 12:00:12 +02:00
Thor
b27a0901a0 fix: clippy warnings in tests (#1954) 2023-03-26 13:32:55 +02:00
Roman Krasiuk
c4bc65aa5d feat(consensus): spawn pipeline (#1965) 2023-03-24 05:49:01 -07:00
Roman Krasiuk
4a18614e18 tracing(consensus): CL call handlers (#1963) 2023-03-24 03:15:46 -07:00
Roman Krasiuk
ea3091f3cf tracing(consensus-engine): trace on new payload & downgrade canonicalizing log (#1944) 2023-03-23 23:24:31 +01:00
Roman Krasiuk
95815c7e99 fix(consensus-engine): handle pipeline unwind (#1938) 2023-03-23 14:13:58 -07:00
Roman Krasiuk
ce40bea46e feat(sync): beacon consensus engine (#1845) 2023-03-23 11:18:19 -07:00
Roman Krasiuk
25ac1370fd refactor(sync): header sync mode (#1831) 2023-03-19 06:59:37 -07:00
Matthias Seitz
1a317f20e4 refactor: split consensus crate (#1814) 2023-03-17 13:20:00 +01:00
Matthias Seitz
ec7b9554f3 fix: fix clippy and broken code (#1761) 2023-03-15 04:56:46 -07:00
Chen Kai
91f26f455f feat: validate withdrawal when validating block. (#1521)
Signed-off-by: grapebaba <281165273@qq.com>
2023-03-14 18:34:11 -07:00
rakita
237fd5ce6e feat: BlockchainTree (#1212)
Co-authored-by: Dragan Rakita <draganrakita@192.168.1.4>
2023-03-14 11:17:14 -07:00
Matthias Seitz
ad5f9aa78c refactor: extract transaction consensus errors to standalone type (#1697) 2023-03-10 04:43:04 -08:00
Matthias Seitz
5844ce10f3 feat: add evm env provider (#1525)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-02-24 11:21:18 +01:00
Matthias Seitz
dba6b24bde chore: clippy fixes and make benches compile again (#1449) 2023-02-18 13:44:06 +01:00
Dan Cline
5c2f96ed65 fix: allow withdrawal root past shanghai (#1437) 2023-02-17 12:41:24 -08:00
Roman Krasiuk
9b81b4f20d chore: Header::seal and Header::seal_slow distinction (#1409) 2023-02-16 08:55:58 -08:00
Roman Krasiuk
e97753c768 feat: withdrawals (#1322)
Co-authored-by: rakita <rakita@users.noreply.github.com>
2023-02-16 04:44:05 -08:00
Alexey Shekhirin
94674f9c16 feat(rpc, storage): eth_feeHistory except reward field (#1275) 2023-02-16 11:33:14 +01:00
Roman Krasiuk
eba63b8f77 fix: chainspec ttd check (#1285)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-11 12:49:01 -08:00
Kim, JinSan
e833c861ea fix(consensus): has_block_reward() should return true before Paris (#1240) 2023-02-09 09:40:43 +01:00
Bjerg
02a6aec3fb feat: support time-based forking (#1128) 2023-02-06 12:55:41 -08:00
Roman Krasiuk
a3800c52c0 feat(consensus): beacon consensus builder (#1119) 2023-02-01 06:28:58 -08:00
Matthias Seitz
b178631bc1 chore: rm unused crate (#1114) 2023-02-01 04:33:54 -08:00
Roman Krasiuk
5da6b07d9e chore(consensus): crate refactor (#1094) 2023-01-31 10:29:26 -08:00
Georgios Konstantopoulos
0c341ed9ce Revert "feat: support time-based forking" (#1090) 2023-01-30 10:58:55 -08:00
Andrea Simeoni
e63d257f0a docs: consensus engine API (#1083) 2023-01-29 09:26:24 -08:00
Bjerg
87306f2892 ci: ensure docs build (#1073)
Co-authored-by: xqft <estefano.bargas@fing.edu.uy>
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-01-27 18:49:22 +01:00
Aurélien
9cdead5646 feat: support time-based forking (#985) 2023-01-27 10:49:54 -05:00
Bjerg
7905100f6d refactor: use dyn Consensus (#1007) 2023-01-24 14:33:48 +01:00
Georgios Konstantopoulos
d0e3741136 impl From for Status/SealedHeader (#927) 2023-01-18 19:23:02 -08:00
Aurélien
f9de425ad8 refactor: unify all chains confs (#747)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-01-17 07:47:34 -08:00
rakita
a1a08b26d8 feat: Add DAO hardfork irregular state change (#884) 2023-01-14 11:25:28 +01:00
rakita
e5e74cbc02 fix(execution): Increase cache scope, and apply block reward to cache (#793)
* bug: Apply block reward to evm cache

* Move cache to all blocks

* add tests

* Update crates/executor/src/executor.rs

Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>

Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-01-10 08:05:50 -08:00
joshieDo
2b5ee2b18d chore(primitives): use reth::Bytes and implements arbitrary (#776)
* clippy

* add arbitrary to reth Bytes

* clean

* add missing dependency
2023-01-09 12:09:18 +01:00
Dimitris Apostolou
31cb66902e fix: Fix typos (#773) 2023-01-09 01:43:51 +01:00
joshieDo
6407b5087e chore: use B160, B256 and U256 coming from revm and ruint (#676)
* use B256, B160 and U256 from revm

* fix U256 from_str

* use U256::ZERO

* use temporary commit for revm and interpreter

* more U256::ZERO

* more changes for revm/ruint types

* clippy

* change revm and revm-interpreter repo

* remove H160 wrap

* minor cleanup

* remove unused

* fix MIN_PROTOCOL_BASE_FEE
2023-01-04 11:11:48 +02:00
Aurélien
05cb56788d Change terminal_block_number type to U64 (#677) 2023-01-02 02:47:25 -08:00
Roman Krasiuk
a7d8059357 test(engine): consensus engine tests (#648) 2022-12-30 13:17:27 +02:00
rakita
c62574b2fd bug(consensus): Remove mixHash zero check after merge (#652)
* bug(consensus): Remove mixHash zero check after merge

* chore(clippy): make clippy happy

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2022-12-29 16:14:54 +01:00
Roman Krasiuk
565a0aa90b feat(engine): new payload execution (#631)
* feat(engine): new payload execution

* address PR comments

* rm unused dev deps

* add comment about lru

* remove par_iter
2022-12-29 02:36:56 -08:00
Bjerg
562e895f21 ci: unused dependencies sanity check (#590)
* ci: add unused deps sanity check

* ci: fix unused deps issue template title

* ci: rename udeps job

* chore: formatting

* chore: make `cargo-udeps` ignore `aquamarine`

* deps: resolve unused deps

* ci: check every feature and target in udeps job
2022-12-23 13:19:50 +01:00
Matthias Seitz
7ce22fd186 fix: SealedBlock rename (#583) 2022-12-22 15:19:40 +01:00
Genysys
0b1b5368e6 chore: Rename BlockLocked to SealedBlock (#573)
* chore: Rename BlockLocked to SealedBlock

* chore: fmt

Co-authored-by: Genysys <112424909+samtvlabs@users.noreply.github.com>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-12-22 14:45:36 +02:00
Roman Krasiuk
a85793cd9b feat(rpc): basic engine api (#551)
* feat(rpc): engine api

* change transition config exchange

* payload block construction

* pull out engine api logic

* linter

* clippy

* clippy

* Apply suggestions from code review

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

* import & map_err for RecvError

* move result

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2022-12-22 12:38:28 +01:00
Bjerg
6f6c4f61e0 refactor: rename EthConsensus (#572)
Closes #566
2022-12-22 12:05:49 +01:00
Roman Krasiuk
82197d08c6 fix(consensus): block reward check (#556) 2022-12-21 15:45:51 +02:00
Bjerg
13bb41517d feat: config (#496)
* feat: default reth dirs

* docs: clarify txpool config docs

* feat: `serde` feature for `reth-consensus`

* feat: add missing hardforks

* feat: full chain specification

* feat: `DbPath` type

* feat: custom chain specs

* feat: `--debug.tip` option

* feat: basic stage config

* fix: resize db geometry

* refactor: don't commit in headers stage

* chore: remove headers dl timeout

* feat: loading of config

* refactor(config): `stage` -> `stages`
2022-12-19 21:27:26 +01:00