Jacek Sieka
6fab826487
bump unittest2, clean up suite names ( #5384 )
...
Suite names were not being used because `test` has to have access to it
during instantiation - this PR cleans things up a little while at the
same time upgrading unittest2.
2023-09-04 13:05:11 +00:00
tersec
909a7c2d07
use v1.4.0-beta.1 consensus spec tests ( #5230 )
2023-07-31 21:51:06 +00:00
tersec
9dbf63d8ca
use v1.4.0-beta.0 consensus spec test vectors ( #5120 )
2023-06-24 12:27:15 +00:00
tersec
b25ca0833b
use v1.4.0-alpha.1 consensus spec test vectors ( #5026 )
2023-06-03 21:55:08 +00:00
tersec
10569ff2e9
use v1.4.0-alpha.0 consensus spec test vectors ( #4990 )
2023-05-25 07:55:00 +00:00
Etan Kissling
fb26e19de9
use v1.3.0-rc.4 consensus spec test vectors ( #4740 )
2023-03-16 21:35:20 +01:00
Etan Kissling
57b2151f95
rename `EIP4844` > `Deneb` for light client ( #4713 )
...
* rename `EIP4844` > `Deneb` for light client
* regenerate test logs
2023-03-10 17:16:26 +00:00
Etan Kissling
bc37a2d1a6
update transition test category from `EIP4844` to `Deneb` ( #4716 )
2023-03-10 17:12:46 +00:00
tersec
68cb9fe7b1
use consensus spec v1.3.0-rc.3 test vectors ( #4645 )
2023-02-21 12:58:08 +00:00
tersec
d12c32e988
EIP4844 -> Deneb in EF consensus spec test output ( #4618 )
2023-02-14 13:32:43 +00:00
tersec
f5e302f973
use 1.3.0-rc.2-hotfix consensus spec test vectors ( #4566 )
2023-01-30 22:54:16 +00:00
tersec
29ea42ce1a
use v1.3.0-rc.2 consensus spec test vectors ( #4564 )
2023-01-29 11:28:04 +00:00
Etan Kissling
258f151594
prepare LC update ranking test runner for Capella ( #4563 )
...
* prepare LC update ranking test runner for Capella
Adds missing Capella/EIP4844 support to LC update ranking runner.
* fix uncommitted typo
* skip capella / eip4844 tests
* cleanup test skip
2023-01-29 03:34:26 +00:00
Etan Kissling
65ca523482
support EIP4844 LC data format ( #4520 )
...
Implements the proposed light client data format for EIP4844:
- https://github.com/ethereum/consensus-specs/pull/3151
2023-01-19 23:53:37 +01:00
Etan Kissling
58f4c13e14
support Capella LC data format ( #4514 )
...
Implements the proposed light client data format for Capella:
- https://github.com/ethereum/consensus-specs/pull/3151
2023-01-18 15:32:57 +01:00
tersec
68e08c6f15
use v1.3.0-rc.1 consensus spec test vectors ( #4505 )
2023-01-14 04:20:51 +00:00
tersec
787703bd0c
use v1.3.0-rc.0 consensus spec test vectors ( #4472 )
2023-01-09 15:15:43 +01:00
tersec
110401394b
consolidate consensus spec transition test fixtures ( #4428 )
...
* consolidate consensus spec transition test fixtures
* include capella
* consoliate fork test fixtures
* note change in EIP-4844 process_block in alpha.2
2022-12-15 22:51:04 +00:00
tersec
617b1e0d93
add EIP4844 fork choice tests ( #4431 )
2022-12-15 10:54:41 +00:00
tersec
d269d82b71
use v1.3.0-alpha.2 EF consensus spec test vectors ( #4430 )
2022-12-15 01:51:06 +00:00
tersec
cd993ca418
consolidate slot sanity checks across forks ( #4418 )
...
* consolidate slot sanity checks across forks
* use `new` rather than `init` for constructor of `ref`s
2022-12-13 15:58:59 +00:00
tersec
dee5af58d6
eip4844 light client tests; avoid case object out-of-bound array reads ( #4404 )
2022-12-08 17:21:53 +01:00
tersec
50bcc48e17
eip4844 block/slot sanity and transition tests ( #4399 )
2022-12-08 02:07:41 +00:00
tersec
2932d3b808
extent `BeaconStateFork` enum ( #4396 )
2022-12-07 16:47:23 +00:00
tersec
7cf432b155
eip4844 fork and epoch transition tests; some eip4844 gossip ( #4393 )
2022-12-06 16:43:11 +00:00
tersec
031780b612
eip4844 operations tests ( #4392 )
2022-12-06 12:40:13 +00:00
tersec
415b11aa67
EIP4844 tweaks to pass SSZ consensus object tests ( #4390 )
2022-12-05 21:36:53 +00:00
tersec
1146470f7d
use v1.3.0-alpha.1 consensus spec test vectors ( #4338 )
2022-11-21 08:44:49 +01:00
tersec
a63ec842bc
add light client capella CI tests ( #4311 )
2022-11-10 10:23:46 +00:00
tersec
90eb2ccb20
database and fork choice test runner support for capella ( #4309 )
2022-11-09 17:32:10 +00:00
tersec
0919b8689e
run capella fork transition tests in CI ( #4307 )
2022-11-09 12:28:34 +00:00
tersec
0a43c89cd2
run capella block sanity tests in CI ( #4292 )
2022-11-07 18:37:48 +00:00
tersec
5b46f0b723
add Capella support to Forked* ( #4276 )
...
* add Capella support to Forked*
* remove cruft
* add `OnForkyBlockAdded`
2022-11-02 16:23:30 +00:00
tersec
0cfc1b776e
add all missing epoch transition tests ( #4269 )
2022-10-28 08:02:33 +00:00
tersec
48e351d672
run EF Capella consensus test fixtures ( #4267 )
2022-10-27 19:11:13 +00:00
tersec
7dd5c49c4e
use v1.3.0-alpha.0 test vectors ( #4263 )
2022-10-27 11:54:39 +00:00
tersec
0f6d19b4b3
implement v1.2.0 optimistic sync tests ( #4174 )
...
* implement v1.2.0 optimistic sync tests
* Update beacon_chain/consensus_object_pools/blockchain_dag.nim
Co-authored-by: Etan Kissling <etan@status.im>
* `lvh` -> `latestValidHash` and only invalidate one specific block"
* `getEarliestInvalidRoot` -> `getEarliestInvalidBlockRoot`; `defaultEarliestInvalidRoot` -> `defaultEarliestInvalidBlockRoot`
Co-authored-by: Etan Kissling <etan@status.im>
2022-09-27 15:11:47 +03:00
tersec
72e6b2021a
use v1.2.0 consensus spec test vectors ( #4163 )
2022-09-22 22:24:13 +00:00
tersec
b5b93e90c0
use v1.2.0-rc.3 test vectors ( #3995 )
2022-08-19 04:32:53 +00:00
tersec
e732b080f7
use v1.2.0-rc.2 test vectors ( #3975 )
2022-08-16 21:24:37 +00:00
Etan Kissling
3bc42994e4
update to latest LC test format ( #3879 )
...
The EF test format for the LC sync protocol is modified to verify checks
after each step: https://github.com/ethereum/consensus-specs/pull/2938 -
The test runner is updated accordingly.
2022-07-23 05:54:01 +00:00
Etan Kissling
2a2bcea70d
group justified and finalized `Checkpoint` ( #3841 )
...
The justified and finalized `Checkpoint` are frequently passed around
together. This introduces a new `FinalityCheckpoint` data structure that
combines them into one.
Due to the large usage of this structure in fork choice, also took this
opportunity to update fork choice tests to the latest v1.2.0-rc.1 spec.
Many additional tests enabled, some need more work, e.g. EL mock blocks.
Also implemented `discard_equivocations` which was skipped in #3661 ,
and improved code reuse across fork choice logic while at it.
2022-07-06 13:33:02 +03:00
tersec
bf1763fdef
consensus specs v1.2.0-rc.1 ( #3661 )
2022-05-25 13:49:29 +00:00
Etan Kissling
c808f17a37
update to latest light client libp2p protocol ( #3623 )
...
Incorporates the latest changes to the light client sync protocol based
on Devconnect AMS feedback. Note that this breaks compatibility with the
previous prototype, due to changes to data structures and endpoints.
See https://github.com/ethereum/consensus-specs/pull/2802
2022-05-23 14:02:54 +02:00
Etan Kissling
5a3ba5d968
update to pre-release light client sync protocol ( #3465 )
...
This adopts the spec sections of the pre-release proposal of the libp2p
based light client sync protocol, and also adds a test runner for the
new accompanying tests. While the release version of the light client
sync protocol contains conflicting definitions, it is currently unused,
and the code specific to the pre-release proposal is marked as such.
See https://github.com/ethereum/consensus-specs/pull/2802
2022-03-08 13:21:56 +01:00
tersec
60bf5b8bf4
use v1.1.9 test vectors ( #3337 )
2022-01-28 22:47:48 +00:00
tersec
cd77377375
add Bellatrix fork and transition tests; "Ethereum Foundation" -> EF ( #3242 )
2022-01-05 09:42:56 +01:00
tersec
3c63a78c01
use v1.1.8 test vectors ( #3236 )
2022-01-03 17:43:00 +00:00
tersec
8be1699014
use v1.1.7 test vectors ( #3231 )
...
* use v1.1.7 test vectors
2022-01-03 13:06:14 +00:00
tersec
a8c801eddd
fix Altair fork tests in minimal preset ( #3163 )
2021-12-06 05:56:46 +00:00