Commit Graph

67 Commits

Author SHA1 Message Date
Roman Krasiuk
00a49f5ee7 chore(db): remove block numhash key (#1242) 2023-02-10 13:43:00 -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
rakita
b731bb9bb3 refactor: make SharableDatabase more relax (#1274) 2023-02-10 15:46:54 +01:00
Matthias Seitz
07ed660cae chore: unify provider delegate macro (#1273) 2023-02-10 14:51:27 +01:00
Matthias Seitz
de0ecb036b feat: add ChainState type (#1249) 2023-02-10 14:07:37 +01:00
joshieDo
7e68373f2d perf(stages): Adds benchmark to TransactionLookupStage (#1130)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-02-09 13:10:12 -08:00
Matthias Seitz
ebd5d3c1a2 chore: move StateProvider impls to state module (#1251) 2023-02-09 16:41:14 +01:00
Matthias Seitz
314ea0883b feat(cli): integrate rpc server (#1213) 2023-02-07 15:53:39 -08:00
Tomás
1d1d90bd19 feat: optional serde features (#1214)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-07 15:52:32 -08:00
Bjerg
02a6aec3fb feat: support time-based forking (#1128) 2023-02-06 12:55:41 -08:00
naviechan
c77de627d1 Impl state and account trait for NoopProvider (#1198) 2023-02-06 17:25:54 +01:00
Chirag Baghasingh
5e97b4e28e feat: Add account_code helper function to AccountProvider (#1169)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-02-06 15:06:08 +01:00
Bjerg
a40745bab9 feat: add db.commit metric (#1188) 2023-02-06 12:30:49 +01:00
Roman Krasiuk
952ec83aed chore(rpc): update forkchoice state in fork_choice_updated handler (#1177) 2023-02-06 00:56:43 -08:00
Tomás
fd7dc11960 feat(sync): MerkleStage (#994)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: Francisco Krause Arnim <fkrausear@gmail.com>
2023-02-03 18:50:33 -08:00
Kim, JinSan
e7cc50038f test(db): cursor write operations are working properly wherever cursor is (#1161) 2023-02-03 12:02:33 -08:00
Georgios Konstantopoulos
e048718ea2 refactor: pull out rpc/ from net/rpc (#1147) 2023-02-02 14:17:26 -08:00
Matthias Seitz
e683197eac docs(provider): More context about Stateprovider (#1124) 2023-02-01 17:16:25 +01:00
joshieDo
cc43b72835 chore(db): microbenchmarking for table serialization and db insertion (#513)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-30 20:08:51 -08:00
Kim, JinSan
d865db49d5 chore(stages): Helper for walking over table range (#1025)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-01-30 19:52:10 -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
rakita
71dc531e68 feat: HistoryStateProvider (#1057) 2023-01-27 11:28:30 +01:00
rakita
a9c75d2fc7 bug(db): move seek fn from DubTable to Table (#1031) 2023-01-26 17:39:28 +01:00
rakita
6dcced0cfb feat: index account/storage history (#978)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-01-26 17:03:02 +01:00
Roman Krasiuk
25b0e53268 test(db): dupsort append & append_dup (#1043) 2023-01-26 00:18:12 -08:00
Roman Krasiuk
c23a2215b0 chore(db): restructure providers crate (#1003) 2023-01-25 04:55:34 -08:00
rakita
c7289bd9e8 feat: Selfdestruct storage changeset (#974) 2023-01-23 14:04:45 +01:00
Mariano A. Nicolini
25e9b399f3 refactor: use reverse walker (#938)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-01-20 09:38:26 -08:00
rakita
899d011bfd feat: add AccountHashingStage and StorageHashingStage (#756)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-18 10:22:39 -08:00
clabby
a8b7a089b6 feat(bin): Format db list & db status subcommands (#667)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-18 09:59:09 -08:00
rakita
4f91344b5b feat: BlockTransition remove hash from NumHash db index (#894) 2023-01-17 16:18:31 -08:00
TurboFish
9482c551c5 feat: add a reverse db walker (#841) 2023-01-16 10:27:22 -08:00
joshieDo
d50d9bd0fe chore(net): Add proptest roundtrip to rlp types (#829) 2023-01-16 09:50:58 -08:00
rakita
db24d3ae9e chore: enable arbitrary in db tests (#833) 2023-01-12 14:19:36 +01:00
joshieDo
aabbe4923b chore(codecs): add proptest roundtrip to all main_codec (#803) 2023-01-10 22:06:01 -08:00
LambdaClass
3bd1458df6 Rename cursor functions (#787) 2023-01-10 20:08:30 +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
Dimitris Apostolou
31cb66902e fix: Fix typos (#773) 2023-01-09 01:43:51 +01:00
LambdaClass
e654d1ded6 fix: add missing match arms in mdbx Error::to_err_code (#732) 2023-01-08 12:49:02 +01:00
Matthias Seitz
acb0753812 chore(deps): remove unused ether-core (#760) 2023-01-07 12:12:48 +02:00
joshieDo
258431aac8 primitives: add own Bloom type with arbitrary (#746)
* add own Bloom type with arbitrary

* use impl_hash_compact instead

* add doc to exported macro

* remove unused crate and code

* fix rlp encode length for Bloom

* use RlpDecodableWrapper and RlpEncodableWrapper instead
2023-01-06 13:10:19 +02:00
joshieDo
528c19f079 fix vec of type with buf (#727) 2023-01-04 23:48:10 -08: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
Sanket Shanbhag
24d5612027 rename StateProvider structs (#663) 2022-12-30 13:58:44 +02:00
Roman Krasiuk
a7d8059357 test(engine): consensus engine tests (#648) 2022-12-30 13:17:27 +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
19a618e3a4 fix(db): Dont compress DupSort SubKey (#594)
* bug(db): Dont compress DupSort SubKey

* unwrap or default config, Added notes

* fmt empty lines
2022-12-25 01:13:03 +01: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