Skip to content

Partial Slashing and Friends

Latest
Compare
Choose a tag to compare
@djrtwo djrtwo released this 16 May 03:24
· 67 commits to master since this release
6a171e1

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