nimbus-eth1/tests/test_sync_snap
Jordan Hrycaj 10ad7867e4
Prepare snap server client test scenario cont1 (#1485)
* Renaming androgynous sub-object names according to where they belong

why:
  These objects are not explicitly dealt with. They give meaning to
  some generic wrapper objects. Naming them after their origin may
  help troubleshooting.

* Redefine proof nodes list data type for `snap/1` wire protocol

why:
  The current specification suffered from the fact that the basic data
  type for a proof node is an RLP encoded hexary node. This slightly
  confused the encoding/decoding magic.

details:
  This is the second attempt, now wrapping the `seq[Blob]` into a
  wrapper object of `seq[SnapProof]` for a distinct alias sequence.

  In the previous attempt, `SnapProof` was a wrapper object holding the
  `Blob` with magic applied to the `seq[]`. This needed the `append`
  mixin to strip the outer wrapper that was applied to the `Blob` already
  when it was passed as argument.

* Fix some prototype inconsistency

why:
  For easy reading, `getAccountRange()` handler return code should
  resemble the `accoundRange()` anruments prototype.
2023-03-03 20:01:59 +00:00
..
bulk_test_xx.nim Snap sync extractor and sub range proofs cont1 (#1468) 2023-02-15 10:14:40 +00: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_test_xx.nim Snap fetch account storage data (#1211) 2022-09-02 19:16:09 +01:00
test_accounts.nim Snap sync extractor and sub range proofs cont1 (#1468) 2023-02-15 10:14:40 +00:00
test_calc.nim Prepare snap server client test scenario cont1 (#1485) 2023-03-03 20:01:59 +00:00
test_db_timing.nim Snap sync interval range extractor (#1449) 2023-01-30 17:50:58 +00:00
test_helpers.nim Snap sync extractor test sub range proofs (#1460) 2023-02-02 13:27:09 +00:00
test_inspect.nim Snap sync interval range extractor (#1449) 2023-01-30 17:50:58 +00:00
test_node_range.nim Prepare snap server client test scenario cont1 (#1485) 2023-03-03 20:01:59 +00:00
test_pivot.nim Silence compiler gossip after nim upgrade cont3 (#1466) 2023-02-14 20:27:17 +00:00
test_storage.nim Snap sync fix trie interpolation fringe condition (#1457) 2023-02-01 18:56:06 +00:00
test_types.nim Bump nim-eth and remove all now unneeded p2p related imports (#1273) 2022-10-20 10:34:59 +02:00