Commit Graph

16 Commits

Author SHA1 Message Date
Etan Kissling bc3f164b97
bump `nim-eth` for `withdrawalsRoot` support (#1326)
The `BlockHeader` structure in `nim-eth` was updated with support for
EIP-4895 (withdrawals). To enable the `nim-eth` bump, the ingress of
`BlockHeader` structures has been hardened to reject headers that have
the new `withdrawalsRoot` field until proper withdrawals support exists.
https://github.com/status-im/nim-eth/pull/562
2022-11-26 15:59:19 +01:00
Jordan Hrycaj d53eacb854
Prep for full sync after snap (#1253)
* Split fetch accounts into sub-modules

details:
  There will be separated modules for accounts snapshot, storage snapshot,
  and healing for either.

* Allow to rebase pivot before negotiated header

why:
  Peers seem to have not too many snapshots available. By setting back the
  pivot block header slightly, the chances might be higher to find more
  peers to serve this pivot. Experiment on mainnet showed that setting back
  too much (tested with 1024), the chances to find matching snapshot peers
  seem to decrease.

* Add accounts healing

* Update variable/field naming in `worker_desc` for readability

* Handle leaf nodes in accounts healing

why:
  There is no need to fetch accounts when they had been added by the
  healing process. On the flip side, these accounts must be checked for
  storage data and the batch queue updated, accordingly.

* Reorganising accounts hash ranges batch queue

why:
  The aim is to formally cover as many accounts as possible for different
  pivot state root environments. Formerly, this was tried by starting the
  accounts batch queue at a random value for each pivot (and wrapping
  around.)

  Now, each pivot environment starts with an interval set mutually
  disjunct from any interval set retrieved with other pivot state roots.

also:
  Stop fishing for more pivots in `worker` if 100% download is reached

* Reorganise/update accounts healing

why:
  Error handling was wrong and the (math. complexity of) whole process
  could be better managed.

details:
  Much of the algorithm is now documented at the top of the file
  `heal_accounts.nim`
2022-10-08 18:20:50 +01:00
jangko 16bc2de1cf
update EF test fixtures and fixes to pass all tests 2022-10-03 16:41:32 +07:00
jangko 480d77d3c9
update test logs 2022-02-10 15:48:38 +07:00
jangko 09dbe15eba
update test logs 2021-09-29 10:55:32 +07:00
jangko dff5799a5b
update test logs for London hard fork additional test cases 2021-06-30 20:44:35 +07:00
jangko 6055e0bd0f
update tests logs
recent EIP2718 and EIP2930 inclusion and ethereum/tests update
add and remove many entries
2021-05-17 11:14:33 +07:00
Jamie Lokier e4bd5532c5
Tests: Rename incorrect case `newBlockChainTests.md` file in repo
Commit 3d468a7 (`fixes path pointing to eth_tests`) renamed a test output
file subtly, changing just the capitalisation:

    - jsonTest(newFolder, "newBlockChainTests", testFixture, skipNewBCTests)
    + jsonTest(newFolder, "newBlockchainTests", testFixture, skipNewBCTests)

However, the file checked into the repo continued to be the old name, uppercase
`C`.  Of course, Mac and Windows have a sort of case insensitivity and Linux
does not.

This meant, on Linux, both files were created, test differences didn't make
themselves visible in `git diff`, and the repo would not get updates with
changed test output.  On Mac and Windows it worked.

Signed-off-by: Jamie Lokier <jamie@shareable.org>
2021-04-08 10:27:11 +01:00
Ștefan Talpalaru ea38893416
fix test dir name 2020-01-31 22:53:28 +01:00
Ștefan Talpalaru fb4d3a57c7
update newBlockchainTests.md 2020-01-27 16:30:37 +01:00
Ștefan Talpalaru 3ae82f8644
update test logs 2020-01-27 16:02:40 +01:00
andri lim 52fffa6e25 fixes long standing bug create2nocash 2020-01-20 18:36:58 +02:00
andri lim 2535219830 reenable previously OOM tests 2020-01-20 18:36:58 +02:00
andri lim 7bdbf85a7a update tests log 2019-12-10 12:34:48 +02:00
andri lim 05c57f93f3 update tests log 2019-12-10 12:34:48 +02:00
andri lim 19803bd685
skip incorrect and slow tests 2019-11-18 20:49:24 +07:00