Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests based on K cov from #1420, updated to get into v08x before release. #1442

Merged
merged 11 commits into from
Oct 24, 2019

Conversation

protolambda
Copy link
Contributor

See #1420

This PR includes the suggested code de-duplication, a few minor fixes, and only enables a new minimal-mode generator, as the mainnet mode for it is not fast enough yet (full filled 64-slot long epochs are too heavy for unoptimized pyspec)

denis-bogdanas and others added 9 commits October 7, 2019 13:54
…ring going on

on line `if a.data.target.root == get_block_root(state, epoch)`.

Discovered by K coverage tool.
…lidator_indices in get_attestation_deltas() != state.validators. In this test some validators were just never active.
…tations are slashed. Modifies attesting_balance and consequently rewards/penalties.
Copy link
Contributor

@djrtwo djrtwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome! a couple of super nitpicky comments

@djrtwo djrtwo mentioned this pull request Oct 24, 2019
@djrtwo djrtwo merged commit 07e86ea into v08x Oct 24, 2019
@djrtwo djrtwo deleted the k-cov-improv branch October 24, 2019 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants