nimbus-eth1/tests/replay
Jordan Hrycaj b793f0de8d
Snap sync extractor and sub range proofs cont1 (#1468)
* Redefine `seq[Blob]` => `seq[SnapProof]` for `snap/1` protocol

why:
  Proof nodes are traded as `Blob` type items rather than Nim objects. So
  the RLP transcoder must not extra wrap proofs which are of type
  seq[Blob]. Without custom encoding one would produce a
  `list(blob(item1), blob(item2) ..)` instead of `list(item1, item2 ..)`.

* Limit leaf extractor by RLP size rather than number of items

why:
  To be used serving `snap/1` requests, the result of function
  `hexaryRangeLeafsProof()` is limited by the maximal space
  needed to serialise the result which will be part of the
  `snap/1` repsonse.

* Let the range extractor `hexaryRangeLeafsProof()` return RLP list sizes

why:
  When collecting accounts, the size oft the accounts list when encoded
  as RLP is continually updated. So the summed up value is available
  anyway. For the proof nodes list, there are not many (~ 10) so summing
  up is not expensive here.
2023-02-15 10:14:40 +00:00
..
goerli68161.txt.gz Redesign of BaseVMState descriptor (#923) 2022-01-18 16:19:32 +00:00
gunzip.nim bump submodules to further reduce compiler warnings 2023-02-02 09:29:02 +07:00
mainspecs2k.txt.gz Exported blobs and some scripts to parallel project nimbus-eth1-blobs (#995) 2022-03-16 09:13:17 +00:00
pp.nim update for `excessDataGas` type chaneg 2022-12-14 11:04:13 +02:00
pp_light.nim eth: adapt to smaller eth_types (#1210) 2022-09-03 20:15:35 +02:00
undump_accounts.nim Snap sync extractor and sub range proofs cont1 (#1468) 2023-02-15 10:14:40 +00:00
undump_blocks.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
undump_storages.nim Snap sync extractor and sub range proofs cont1 (#1468) 2023-02-15 10:14:40 +00:00