ethereum / consensus-specs

Ethereum Proof-of-Stake Consensus Specifications
Creative Commons Zero v1.0 Universal
3.58k stars 977 forks source link

Validator status transition issues #225

Closed hwwhww closed 5 years ago

hwwhww commented 5 years ago

Issues

Proposed solution

For issue 1

  1. @djrtwo suggested: https://github.com/ethereum/eth2.0-specs/pull/185/files#r237660001 get_changed_validators() needs to check if state == PENDING_EXIT and then immediately set state = EXITED_WITHOUT_PENALTY.
  2. Add the stub of the actual withdraw. For testing withdraw, maybe we can actually set v.balance=0 and note that the balance will be transferred to shard chain in phase 1.

potentially related to #198?

djrtwo commented 5 years ago

1, 2, and 4 addressed in #228

djrtwo commented 5 years ago

Closing. The rest of the penalty issues are reference in a specific penalty issue #196