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

Weekly release dev into master #631

Merged
merged 88 commits into from
Feb 15, 2019
Merged

Weekly release dev into master #631

merged 88 commits into from
Feb 15, 2019

Conversation

djrtwo
Copy link
Contributor

@djrtwo djrtwo commented Feb 14, 2019

Changelog coming in associated release

djrtwo and others added 30 commits January 30, 2019 18:22
`hash32` -> `bytes32`
['uint384'] -> `bytes96`
…d_proof` variable contains a valid proof as opposed to just being a bool.

Co-Authored-By: Nashatyrev <[email protected]>
…d_proof` variable contains a valid proof as opposed to just being a bool.

Co-Authored-By: Nashatyrev <[email protected]>
vbuterin and others added 19 commits February 12, 2019 22:41
1. Use `+` to concatenate the merkle roots in `hash` function.
2. Fix `pad_to_power_of_2`: padding with `[b'\x00' * SHARD_BLOCK_SIZE]`,
not `[SHARD_BLOCK_SIZE]`.
* Bring forward changes to withdrawability from phase 1

* The `WITHDRAWABLE` flag is removed; instead, a validator's withdrawability is determined through the `withdrawable_epoch` field (renamed and re-purposed from `withdrawal_epoch` which was not used)
* When a validator passes through the withdrawal queue, the `prepare_validator_for_withdrawal` function does not let them withdraw immediately; instead, they have to wait `MIN_VALIDATOR_WITHDRAWAL_EPOCHS`. This extra minimum delay serves no value in phase 0, but is crucial for phase 1 as the period between a validator passing through the queue and the validator being eligible to withdraw is where proof of custody challenges can come in; adding it in phase 0 is only half a line of code so easier to add it now.
* If a validator is penalized, they are no longer subject to the exit queue; instead, their `withdrawable_epoch` is set `LATEST_PENALIZED_EXIT_LENGTH` into the future and this is used to determine when the validator can withdraw
* Changes the eligibility condition for a transfer to use the `withdrawable_epoch`
Quick fix on epoch boundary root
name changes in validator doc and phase 1 doc
hwwhww and others added 5 commits February 15, 2019 18:25
Define `validator` before using it.
replace vote_data with slashable_attestation in verify_slashable_attestation()
@djrtwo djrtwo merged commit c00d1d6 into master Feb 15, 2019
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.

10 participants