0.9.0 (2021-07-27)
Chore
- bump crates to v0.9.0
- Forbid withdrawals exceeding nomination ratio
- Fix force refund compilation errors
- fix security test names
- upgrade substrate & orml deps
- clarify that slashing is proportional
- add example to unslashing section
- clarify force refund in staking readme
Feat
- add distribute reward event to reward pallet
- staking pallet readme
Fix
- vault-registry shouldn't depend on fee pallet
- only sweep funds if remaining is non-zero
- use upstream orml
- add DecreaseToBeReplacedTokens event
- wrong adjustment amount in staking readme
Refactor
- remove python code, use slashing in rewards example
- redeem: transfer whole punishment to user directly
Test
- spec-based postcondition tests of security module