Skip to content

Releases: ethereum/casper

Partial Slashing and Friends

16 May 03:24
6a171e1
Compare
Choose a tag to compare

Semi-major version bump due to changing previous deploy method and some methods/vars on the API.

Changelog:

  • Implement partial slashing
  • Remove contract constructor in favor of an explicit one-time method -- init
  • add warm_up_period to stall contract functionality after deploy for warm_up_period blocks to allow time for initial validators to make deposits
  • add public method slashable(vote_msg_1, vote_msg_2) to expose slashable logic to clients
  • SIGHASHER to MSG_HASHER. Change all vars from sighash to msg_hash
  • validate contract params passed into init
  • increase test coverage
  • Add resources to README

v0.2.0 contract abi
v0.2.0 runtime bytecode

First release

08 May 11:38
3b5914d
Compare
Choose a tag to compare

v0.1.0 marks us more clearly tagging releases to help clients and external auditors more easily track the contract and changes.

Recent Changes:

  • rename votes to checkpoints
  • rename total_*dyn_deposits_scaled() to total_*dyn_deposits_in_wei()
  • add vars VALIDATION_GAS_LIMIT and SIGHASHER_GAS_LIMIT
  • reduce VALIDATION_GAS_LIMIT to 200k
  • remove owner backdoor
  • add fork choice helpers
    • memoize size of deposits at each checkpoint in the checkpoints struct
    • add START_EPOCH
    • add highest_justified_epoch(min_deposits)
    • add highest_finalized_epoch(min_deposits)

v0.1.0 contract abi