use v1.1.0-beta.3 test vectors (#2825)

This commit is contained in:
tersec 2021-08-26 16:01:21 +00:00 committed by GitHub
parent 9725d15a3e
commit 8de2342f60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 16 deletions

View File

@ -185,6 +185,10 @@ FixtureAll-mainnet
+ [Valid] Official - Altair - Sanity - Blocks - deposit_top_up [Preset: mainnet] OK + [Valid] Official - Altair - Sanity - Blocks - deposit_top_up [Preset: mainnet] OK
+ [Valid] Official - Altair - Sanity - Blocks - empty_block_transition [Preset: mainnet] OK + [Valid] Official - Altair - Sanity - Blocks - empty_block_transition [Preset: mainnet] OK
+ [Valid] Official - Altair - Sanity - Blocks - empty_epoch_transition [Preset: mainnet] OK + [Valid] Official - Altair - Sanity - Blocks - empty_epoch_transition [Preset: mainnet] OK
+ [Valid] Official - Altair - Sanity - Blocks - full_random_operations_0 [Preset: mainnet] OK
+ [Valid] Official - Altair - Sanity - Blocks - full_random_operations_1 [Preset: mainnet] OK
+ [Valid] Official - Altair - Sanity - Blocks - full_random_operations_2 [Preset: mainnet] OK
+ [Valid] Official - Altair - Sanity - Blocks - full_random_operations_3 [Preset: mainnet] OK
+ [Valid] Official - Altair - Sanity - Blocks - high_proposer_index [Preset: mainnet] OK + [Valid] Official - Altair - Sanity - Blocks - high_proposer_index [Preset: mainnet] OK
+ [Valid] Official - Altair - Sanity - Blocks - historical_batch [Preset: mainnet] OK + [Valid] Official - Altair - Sanity - Blocks - historical_batch [Preset: mainnet] OK
+ [Valid] Official - Altair - Sanity - Blocks - multiple_attester_slashings_no_overlap [Pr OK + [Valid] Official - Altair - Sanity - Blocks - multiple_attester_slashings_no_overlap [Pr OK
@ -238,11 +242,6 @@ FixtureAll-mainnet
+ [Valid] incorrect_target_epoch_delay OK + [Valid] incorrect_target_epoch_delay OK
+ [Valid] incorrect_target_min_inclusion_delay OK + [Valid] incorrect_target_min_inclusion_delay OK
+ [Valid] incorrect_target_sqrt_epoch_delay OK + [Valid] incorrect_target_sqrt_epoch_delay OK
+ [Valid] random_all_but_one_participating_with_duplicates OK
+ [Valid] random_high_participation_with_duplicates OK
+ [Valid] random_low_participation_with_duplicates OK
+ [Valid] random_misc_balances_and_half_participation_with_duplicates OK
+ [Valid] random_only_one_participant_with_duplicates OK
+ [Valid] success OK + [Valid] success OK
+ [Valid] success_already_exited_long_ago OK + [Valid] success_already_exited_long_ago OK
+ [Valid] success_already_exited_recent OK + [Valid] success_already_exited_recent OK
@ -279,7 +278,7 @@ FixtureAll-mainnet
+ fork_random_low_balances OK + fork_random_low_balances OK
+ fork_random_misc_balances OK + fork_random_misc_balances OK
``` ```
OK: 276/276 Fail: 0/276 Skip: 0/276 OK: 275/275 Fail: 0/275 Skip: 0/275
## Official - Altair - Epoch Processing - Effective balance updates [Preset: mainnet] ## Official - Altair - Epoch Processing - Effective balance updates [Preset: mainnet]
```diff ```diff
+ Effective balance updates - effective_balance_hysteresis [Preset: mainnet] OK + Effective balance updates - effective_balance_hysteresis [Preset: mainnet] OK
@ -312,12 +311,13 @@ OK: 1/1 Fail: 0/1 Skip: 0/1
+ Inactivity - random_inactivity_scores_full_participation_leaking [Preset: mainnet] OK + Inactivity - random_inactivity_scores_full_participation_leaking [Preset: mainnet] OK
+ Inactivity - random_inactivity_scores_random_participation [Preset: mainnet] OK + Inactivity - random_inactivity_scores_random_participation [Preset: mainnet] OK
+ Inactivity - random_inactivity_scores_random_participation_leaking [Preset: mainnet] OK + Inactivity - random_inactivity_scores_random_participation_leaking [Preset: mainnet] OK
+ Inactivity - some_exited_full_random_leaking [Preset: mainnet] OK
+ Inactivity - some_slashed_full_random [Preset: mainnet] OK + Inactivity - some_slashed_full_random [Preset: mainnet] OK
+ Inactivity - some_slashed_full_random_leaking [Preset: mainnet] OK + Inactivity - some_slashed_full_random_leaking [Preset: mainnet] OK
+ Inactivity - some_slashed_zero_scores_full_participation [Preset: mainnet] OK + Inactivity - some_slashed_zero_scores_full_participation [Preset: mainnet] OK
+ Inactivity - some_slashed_zero_scores_full_participation_leaking [Preset: mainnet] OK + Inactivity - some_slashed_zero_scores_full_participation_leaking [Preset: mainnet] OK
``` ```
OK: 18/18 Fail: 0/18 Skip: 0/18 OK: 19/19 Fail: 0/19 Skip: 0/19
## Official - Altair - Epoch Processing - Justification & Finalization [Preset: mainnet] ## Official - Altair - Epoch Processing - Justification & Finalization [Preset: mainnet]
```diff ```diff
+ Justification & Finalization - 123_ok_support [Preset: mainnet] OK + Justification & Finalization - 123_ok_support [Preset: mainnet] OK

View File

@ -181,6 +181,10 @@ FixtureAll-minimal
+ [Valid] Official - Altair - Sanity - Blocks - empty_epoch_transition [Preset: minimal] OK + [Valid] Official - Altair - Sanity - Blocks - empty_epoch_transition [Preset: minimal] OK
+ [Valid] Official - Altair - Sanity - Blocks - empty_epoch_transition_large_validator_set OK + [Valid] Official - Altair - Sanity - Blocks - empty_epoch_transition_large_validator_set OK
+ [Valid] Official - Altair - Sanity - Blocks - empty_epoch_transition_not_finalizing [Pre OK + [Valid] Official - Altair - Sanity - Blocks - empty_epoch_transition_not_finalizing [Pre OK
+ [Valid] Official - Altair - Sanity - Blocks - full_random_operations_0 [Preset: minimal] OK
+ [Valid] Official - Altair - Sanity - Blocks - full_random_operations_1 [Preset: minimal] OK
+ [Valid] Official - Altair - Sanity - Blocks - full_random_operations_2 [Preset: minimal] OK
+ [Valid] Official - Altair - Sanity - Blocks - full_random_operations_3 [Preset: minimal] OK
+ [Valid] Official - Altair - Sanity - Blocks - high_proposer_index [Preset: minimal] OK + [Valid] Official - Altair - Sanity - Blocks - high_proposer_index [Preset: minimal] OK
+ [Valid] Official - Altair - Sanity - Blocks - historical_batch [Preset: minimal] OK + [Valid] Official - Altair - Sanity - Blocks - historical_batch [Preset: minimal] OK
+ [Valid] Official - Altair - Sanity - Blocks - multiple_attester_slashings_no_overlap [Pr OK + [Valid] Official - Altair - Sanity - Blocks - multiple_attester_slashings_no_overlap [Pr OK
@ -239,11 +243,6 @@ FixtureAll-minimal
+ [Valid] incorrect_target_sqrt_epoch_delay OK + [Valid] incorrect_target_sqrt_epoch_delay OK
+ [Valid] proposer_in_committee_with_participation OK + [Valid] proposer_in_committee_with_participation OK
+ [Valid] proposer_in_committee_without_participation OK + [Valid] proposer_in_committee_without_participation OK
+ [Valid] random_all_but_one_participating_without_duplicates OK
+ [Valid] random_high_participation_without_duplicates OK
+ [Valid] random_low_participation_without_duplicates OK
+ [Valid] random_misc_balances_and_half_participation_without_duplicates OK
+ [Valid] random_only_one_participant_without_duplicates OK
+ [Valid] success OK + [Valid] success OK
+ [Valid] success_already_exited_long_ago OK + [Valid] success_already_exited_long_ago OK
+ [Valid] success_already_exited_recent OK + [Valid] success_already_exited_recent OK
@ -265,7 +264,7 @@ FixtureAll-minimal
+ [Valid] sync_committee_rewards_not_full_participants OK + [Valid] sync_committee_rewards_not_full_participants OK
+ [Valid] valid_signature_future_committee OK + [Valid] valid_signature_future_committee OK
``` ```
OK: 262/262 Fail: 0/262 Skip: 0/262 OK: 261/261 Fail: 0/261 Skip: 0/261
## Official - Altair - Epoch Processing - Effective balance updates [Preset: minimal] ## Official - Altair - Epoch Processing - Effective balance updates [Preset: minimal]
```diff ```diff
+ Effective balance updates - effective_balance_hysteresis [Preset: minimal] OK + Effective balance updates - effective_balance_hysteresis [Preset: minimal] OK
@ -298,12 +297,13 @@ OK: 1/1 Fail: 0/1 Skip: 0/1
+ Inactivity - random_inactivity_scores_full_participation_leaking [Preset: minimal] OK + Inactivity - random_inactivity_scores_full_participation_leaking [Preset: minimal] OK
+ Inactivity - random_inactivity_scores_random_participation [Preset: minimal] OK + Inactivity - random_inactivity_scores_random_participation [Preset: minimal] OK
+ Inactivity - random_inactivity_scores_random_participation_leaking [Preset: minimal] OK + Inactivity - random_inactivity_scores_random_participation_leaking [Preset: minimal] OK
+ Inactivity - some_exited_full_random_leaking [Preset: minimal] OK
+ Inactivity - some_slashed_full_random [Preset: minimal] OK + Inactivity - some_slashed_full_random [Preset: minimal] OK
+ Inactivity - some_slashed_full_random_leaking [Preset: minimal] OK + Inactivity - some_slashed_full_random_leaking [Preset: minimal] OK
+ Inactivity - some_slashed_zero_scores_full_participation [Preset: minimal] OK + Inactivity - some_slashed_zero_scores_full_participation [Preset: minimal] OK
+ Inactivity - some_slashed_zero_scores_full_participation_leaking [Preset: minimal] OK + Inactivity - some_slashed_zero_scores_full_participation_leaking [Preset: minimal] OK
``` ```
OK: 18/18 Fail: 0/18 Skip: 0/18 OK: 19/19 Fail: 0/19 Skip: 0/19
## Official - Altair - Epoch Processing - Justification & Finalization [Preset: minimal] ## Official - Altair - Epoch Processing - Justification & Finalization [Preset: minimal]
```diff ```diff
+ Justification & Finalization - 123_ok_support [Preset: minimal] OK + Justification & Finalization - 123_ok_support [Preset: minimal] OK

View File

@ -39,7 +39,7 @@ type
const const
FixturesDir* = FixturesDir* =
currentSourcePath.rsplit(DirSep, 1)[0] / ".." / ".." / "vendor" / "nim-eth2-scenarios" currentSourcePath.rsplit(DirSep, 1)[0] / ".." / ".." / "vendor" / "nim-eth2-scenarios"
SszTestsDir* = FixturesDir / "tests-v1.1.0-beta.2" SszTestsDir* = FixturesDir / "tests-v1.1.0-beta.3"
MaxObjectSize* = 3_000_000 MaxObjectSize* = 3_000_000
proc parseTest*(path: string, Format: typedesc[Json], T: typedesc): T = proc parseTest*(path: string, Format: typedesc[Json], T: typedesc): T =

@ -1 +1 @@
Subproject commit 422afe809c4705576423e7b79f82ef47c2c543f7 Subproject commit 414261b3f21a246dae8ab4ef3ce29ba6f1be33a7