Roman Krasiuk
eba63b8f77
fix: chainspec ttd check ( #1285 )
...
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
2023-02-11 12:49:01 -08:00
rakita
23848df73a
chore: update revm to v3.0.0 ( #1248 )
...
Co-authored-by: Francisco Krause Arnim <fkrausear@gmail.com >
Co-authored-by: lambdaclass-user <github@lambdaclass.com >
2023-02-10 11:56:59 -08:00
Bjerg
440718288d
feat: add reth init and reth import ( #877 )
...
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com >
2023-02-09 15:08:10 -05:00
Bjerg
02a6aec3fb
feat: support time-based forking ( #1128 )
2023-02-06 12:55:41 -08:00
Kim, JinSan
6dce98cfa8
chore(execution): Refactor unused executor ( #1096 )
...
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
2023-02-03 16:36:30 -08:00
Georgios Konstantopoulos
1f64d8e9d7
refactor: pull reth/common/rlp up to reth/rlp ( #1146 )
2023-02-02 13:54:13 -08:00
rakita
0e24093b0b
fix: dont insert empty accounts after spurious dragon ( #1089 )
2023-01-30 22:21:18 +01:00
Georgios Konstantopoulos
0c341ed9ce
Revert "feat: support time-based forking" ( #1090 )
2023-01-30 10:58:55 -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
rakita
c7289bd9e8
feat: Selfdestruct storage changeset ( #974 )
2023-01-23 14:04:45 +01:00
Dan Cline
78ffd0a7c0
fix(primitives): remove Hardfork::Eip150, Eip158 ( #926 )
2023-01-18 19:38:25 -08:00
Dan Cline
82b10fae41
feat(primitives): add Hardfork::Eip150 and Eip158 ( #925 )
2023-01-18 15:04:16 -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
joshieDo
aabbe4923b
chore(codecs): add proptest roundtrip to all main_codec ( #803 )
2023-01-10 22:06:01 -08: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
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
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
rakita
bfe2fd6221
ci: add eth chain test. Set prevrandao after merge ( #621 )
...
* Small changes
* feat: Add eth chain test to ci. Set prevrandao after merge
* Update .github/workflows/ci.yml
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* move env
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
2022-12-26 22:55:46 +01:00
rakita
f21a4020b1
feat(execution): Add ommers reward ( #611 )
...
* feat(execution): Add ommers reward
* Refactor and add comments
2022-12-26 15:44:51 +01:00
Namra Patel
bb10305d09
Fix typo and rename remaining ExecutorDb to StateProvider ( #608 )
...
* Fix typo
* ExecuterDb -> StateProvider
2022-12-26 13:41:29 +02:00
rakita
284391c181
test(execution): chain test state check, execution bug fixes/upgrades ( #472 )
...
* temp: header stage backoff stand-in
* feat(execution): Check chain post state, fix StateProviderLatest and evm return
* Disable receipt merkle tree check
* update and merge
* Fix storage double values in dup table
* fmt
* Update bin/reth/src/test_eth_chain/runner.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
* Enable receipt root check after byzantium
* Receipt inner rlp without header for proof root
* some cleanup nits
* nit
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me >
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
2022-12-23 18:42:19 +01: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
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
daaf039fbf
feat(sync): state transition indexes ( #449 )
...
* introduce state transitions and revert/modify block bodies table
* init refactor
* revamp transaction iteration based on bodies and add state transition mappings
* change expected return on empty db execution
* interim commit
* fix body downloader & stage
* refactor(bodies/dl): make fetch bodies fn more clear
* chore: disable unused vars/fns temporarily until exec is back
* chore: fmt
* test: fix tests
* use transitions in execution stage
* clarify empty unwind test
* remove last_tx_index fn
* rename fn and var names
* fix full block response comment
* rename fetcher`s get_block_body to get_block_bodies
* Update crates/stages/src/db.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
* fmt
* fix index overlap check error
* uncomment eth chain command
* fix doc comment
* typos
* cleanup
* any_last_tx_index -> last_tx_index
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me >
2022-12-16 08:37:49 -08:00
Roman Krasiuk
9208f2fd9b
test(execution): execution test runner ( #426 )
...
* wip run chain test
* dump pre test state
* bug: fix casting to revm spec
* wip move execution to std thread
* wip scoped thread execution
* fmt clippy
* Update crates/stages/src/stages/execution.rs
* Update bin/reth/Cargo.toml
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
* Update bin/reth/src/test_eth_chain/models.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
* Correct models for chain tests
Co-authored-by: rakita <dragan0rakita@gmail.com >
Co-authored-by: rakita <rakita@users.noreply.github.com >
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
2022-12-15 13:39:55 +01:00
Bjerg
d949e2ae18
chore: fix some typos ( #402 )
2022-12-13 10:20:47 +01:00
rakita
e014eaad33
feat(db): Refactor storage libraries ( #371 )
2022-12-09 23:14:07 -08:00
rakita
4fb3626546
chore: Last PR cleanup, nits ( #353 )
...
* chore: cleanup, tests and nits
* fmt
2022-12-08 11:16:01 +01:00
rakita
d66138e143
feat(execution): Account NotExisting and block reward changesets ( #349 )
2022-12-07 21:10:06 -08:00
Georgios Konstantopoulos
4d718bbf33
s/foundry-rs/paradigmxyz
2022-12-07 00:00:45 -08:00
rakita
a68cb3f357
feat(stage): Add execution stage ( #287 )
...
* Execution stage
* StorageProviderRef. cleanup, fmt/clippy
* block inclusion
* insert blocks for execution stage
* Sanity test for execution stage
* nits
* Update crates/stages/src/stages/execution.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
* Update crates/stages/Cargo.toml
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
* Update crates/stages/src/stages/execution.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
* Update crates/stages/src/stages/execution.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
* feat(execution) Execution change diff. (#323 )
* Insert to execution changediffs
* progress on exec stage unwind
* wip
* Remove tables:BlockBody from execution stage
* unwind passing
* Nits cleanup and refactoring
* DatabaseIntegrity errors
* KECCAK_EMPTY acc to None
* Update crates/interfaces/src/db/tables.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
* Update crates/interfaces/src/provider/block.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
* Update crates/stages/src/stages/execution.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
* nits
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
2022-12-06 18:02:04 -08:00
joshieDo
3efc6ee67e
feat(db): Make TransactionSigned compactable ( #252 )
2022-11-27 23:29:30 -08:00
Matthias Seitz
d6a11c7f48
chore(deps): bump ethers + ethereum types + revm ( #228 )
...
* chore(deps): bump ethers + ethereum types
* bump revm
* chore(clippy): make clippy happy
2022-11-23 11:54:54 +01:00
rakita
7e693046c6
feat(executor): Execute block of transactions and return tx patches ( #238 )
...
* wip executor commit
* finish commit, make execution as functions
* rlp block encoding, fixing proof
* Block execution and test example
2022-11-22 22:57:22 +01:00
rakita
09c5c3449e
feat(executor): transaction and receipts verification ( #195 )
...
* transaction verification
* Add providers to interfaces
* add receipt check in executor verify
* Removed receipts, added bloom
* post merge header checks
* fmt clippy
* gas price type removal
* rm leftover
* move consts to contstant.rs
2022-11-16 11:10:36 -08:00
rakita
9e35d58b05
feat(primitive): Signer recovery ( #179 )
...
* feat(consensus): Signer recovery and tx validation
* Signature hash and use seckp256k1 over k256
* use deref_more for transactions
* cleanup and fix for eip1559 hash
* fix hash calculation on decoding
2022-11-09 18:11:32 +01:00
rakita
7ecbe01741
feat(provider): Add StorageProvider impl, table changes ( #172 )
...
* feat(provider): Add StorageProvider impl, table changes
* unwind header numbers by walker (#174 )
* readme, fmt
* fix tests
* Update crates/interfaces/src/provider/db_provider/storage.rs
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com >
* Update crates/interfaces/src/provider/db_provider/storage.rs
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com >
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com >
2022-11-08 15:55:45 +01:00
rakita
ac2f3fcd8a
feat: Consensus crate and verification functions. ( #152 )
...
* wip executor
* wip
* Cleanup added some checks and structure to executor
* adding additional block/header checks
* add basefee calculation and check
* some cleanup
* Sanity check test
* Test for sanity check
* move verification to consensus crate
* cleanup
* Better Error handling
2022-11-02 12:59:51 +01:00
Dan Cline
7e26ba5090
feat(primitives): transaction encoding and decoding ( #102 )
...
* feat(core): transaction encoding and decoding
* cargo fmt
* remove printlns
* fix tx conversion
2022-10-19 13:31:41 -04:00
rakita
ae5935e6b2
feat: reth binary and parsing of eth chain tests ( #38 )
...
* Scaffolding for reth test binary. wip for blockchain tests
* wip models for chain json tests
* reth binary and chain test
* fmt,clippy
* Update bin/reth/src/lib.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/lib.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/test_eth_chain/mod.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/test_eth_chain/mod.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/test_eth_chain/mod.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/test_eth_chain/models.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/test_eth_chain/models.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/test_eth_chain/mod.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Update bin/reth/src/test_eth_chain/runner.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* Move JsonU256 to primitives
* fmt
* Use eyre
* nits
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
2022-10-12 17:43:01 +02:00
rakita
95ed994fd1
Transaction type and some wrap over revm ( #19 )
...
* Transaction and wip db binding
* simple revm wrapper
* nits and small sig change
2022-10-07 13:56:11 +02:00
rakita
074f452275
Small skeleton for executor abstraction ( #14 )
2022-10-06 16:01:23 +02:00
rakita
bc30cbce61
Skeleton primitives and interface crate ( #13 )
...
* wip interface primitives
* wip
* Integrate it inside rpc- crates
* fmt
* move tx to mod.rs
* Add interfaces, executor to toml
* Added nits, comments fix
2022-10-06 14:48:57 +02:00