nimbus-eth1/tests/test_sync_snap
Jordan Hrycaj f40a066cc6
Update snap sync ready to succeed at lab test (#1556)
* Extract RocksDB timing tests from snap unit tests as separate module

why:
  Declutter, make space for more snap related unit tests.

* Renamed `undumpNextGroup()` => `undumpBlocks()`

why:
  Source file name is called `undump_blocks.nim` which should be sort
  of in sync with the method name(s).

* Implement snap/1 server method `getByteCodes()`

* Implement snap/1 client method `getByteCodes()`

* Implement faculty for handling contract code fetching via snap/1

* Provide persistent storage for contract code records

* Implement contract code snap sync fetch & store

* Code massage, cosmetics

* Unit tests for verifying snap sync snapshot dump

details:
  Use `undump_kvp.dumpAllDb()` to dump any database.
2023-04-21 22:11:04 +01:00
..
sample0.txt.gz Update snap offline tests (#1199) 2022-08-24 14:44:18 +01:00
sample1.txt.gz Update snap offline tests (#1199) 2022-08-24 14:44:18 +01:00
sample2.txt.gz Snap fetch account storage data (#1211) 2022-09-02 19:16:09 +01:00
sample3.txt.gz Snap fetch account storage data (#1211) 2022-09-02 19:16:09 +01:00
snap_other_xx.nim Snap sync accounts healing (#1225) 2022-09-16 08:24:12 +01:00
snap_storage_xx.nim Snap sync fix trie interpolation fringe condition (#1457) 2023-02-01 18:56:06 +00:00
snap_syncdb_xx.nim Update snap sync ready to succeed at lab test (#1556) 2023-04-21 22:11:04 +01:00
snap_test_xx.nim Snap fetch account storage data (#1211) 2022-09-02 19:16:09 +01:00
test_accounts.nim Prepare snap server client test scenario cont4 (#1507) 2023-03-17 14:46:50 +00:00
test_calc.nim Remove local block body rlp fix (#1555) 2023-04-21 20:08:18 +01:00
test_helpers.nim Update snap sync ready to succeed at lab test (#1556) 2023-04-21 22:11:04 +01:00
test_inspect.nim Snap sync interval range extractor (#1449) 2023-01-30 17:50:58 +00:00
test_node_range.nim Update snap client account healing (#1521) 2023-03-25 10:44:48 +00:00
test_pivot.nim Prepare snap client for continuing with full sync (#1534) 2023-04-06 20:42:07 +01:00
test_storage.nim Snap sync fix trie interpolation fringe condition (#1457) 2023-02-01 18:56:06 +00:00
test_syncdb.nim Update snap sync ready to succeed at lab test (#1556) 2023-04-21 22:11:04 +01:00
test_types.nim Update snap sync ready to succeed at lab test (#1556) 2023-04-21 22:11:04 +01:00