Vid Kersic
aa6f2cb061
chore: export dupsort macro ( #1981 )
2023-03-25 19:37:26 -07:00
rakita
c4f80b2997
feat: Store receipts ( #1860 )
...
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
2023-03-21 12:27:37 +01:00
rakita
38b0bf6d1a
feat: Add transaction to block number index ( #1866 )
2023-03-20 11:16:28 -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
Chen Kai
06db495d96
fix: use string instead of Vec<u8> for stageId. ( #1495 )
...
Signed-off-by: Chen Kai <281165273grape@gmail.com >
2023-03-14 09:57:19 -07:00
joshieDo
5b90cbc411
fix(stages): add commit threshold to merkle stage v2 ( #1656 )
...
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
2023-03-13 21:47:16 -07:00
Bjerg
161de9aadf
feat: persist contract analysis in db ( #1640 )
2023-03-08 16:25:14 +01:00
Bjerg
1ae74feeb5
chore: remove unused config table ( #1611 )
...
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com >
2023-03-02 17:25:06 +01:00
joshieDo
6cdf0a3ea6
fix: seek_by_key_subkey usage on HistoricalStateProvider ( #1584 )
2023-02-28 16:45:04 +01:00
Tom French
cea56f1e1d
chore: silence unwanted clippy warning in test ( #1566 )
2023-02-27 02:22:11 -08:00
Matthias Seitz
dba6b24bde
chore: clippy fixes and make benches compile again ( #1449 )
2023-02-18 13:44:06 +01:00
Tomás
8547fbfaed
test: walk_back and walk_range ( #1407 )
...
Co-authored-by: lambdaclass-user <github@lambdaclass.com >
2023-02-16 12:25:21 -08:00
Tomás
db4c4fb8d1
chore(db): make database error codes signed ( #1236 )
...
Co-authored-by: lambdaclass-user <github@lambdaclass.com >
2023-02-16 10:39:30 -08:00
Roman Krasiuk
f979c6c1fb
chore: reexport bytes & bump version to 1.4 ( #1395 )
2023-02-16 10:33:28 -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
joshieDo
6da8967082
fix: use walk_range on import_table_with_range ( #1364 )
...
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com >
2023-02-15 11:22:24 -08:00
joshieDo
313bf28501
feat: add reth dump-stage command ( #1328 )
2023-02-14 09:23:33 -08:00
Alexey Shekhirin
3b732ad0db
feat(storage): make Database::view accept FnOnce instead of FnMut ( #1331 )
2023-02-13 22:31:58 -08:00
Georgios Konstantopoulos
49292091dd
Revert "feat: add reth dump-stage command" ( #1327 )
2023-02-13 19:10:58 -08:00
joshieDo
b3ff45229a
feat: add reth dump-stage command ( #1265 )
2023-02-13 19:07:43 -08:00
Alexey Shekhirin
e93cd206fe
feat(storage): accept any RangeBounds to walk_range ( #1309 )
2023-02-13 17:31:56 -08:00
Georgios Konstantopoulos
ea5633b3c3
feat: changed walk(), walk_dup() definitions and impls to accept Option<T::(sub)Key> #1197 ( #1283 )
...
Co-authored-by: Estéfano Bargas <estefano.bargas@fing.edu.uy >
Co-authored-by: lambdaclass-user <github@lambdaclass.com >
2023-02-10 21:10:31 -08:00
Roman Krasiuk
00a49f5ee7
chore(db): remove block numhash key ( #1242 )
2023-02-10 13:43:00 -08:00
rakita
b731bb9bb3
refactor: make SharableDatabase more relax ( #1274 )
2023-02-10 15:46:54 +01:00
Bjerg
a40745bab9
feat: add db.commit metric ( #1188 )
2023-02-06 12:30:49 +01: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
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
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
LambdaClass
3bd1458df6
Rename cursor functions ( #787 )
2023-01-10 20:08:30 +01:00
Dimitris Apostolou
31cb66902e
fix: Fix typos ( #773 )
2023-01-09 01:43:51 +01: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
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
Roman Krasiuk
0995ac2777
meta(sync): tracing ( #455 )
...
* meta(sync): tracing
* Apply suggestions from code review
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
* apply comments
* upd discv5 dep
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
2022-12-20 03:00:59 -08:00
Roman Krasiuk
c68a850c70
chore(db): modify state transition docs ( #515 )
2022-12-20 11:31:23 +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
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