1.5.0 (2021-12-10)
Chore
- update Kaniko to 1.7.0
- update github action
- bump spec version to 6 for 1.5.0
- lower collateral thresholds
- cargo fmt
- describe escrow balance getters
- remove unused constants
- disable call on reward pallet
- rename staked relayers integration test file
- replace old gitlab spec links
- cleanup unused democracy code
- rename kinBTC -> kBTC
- use rust toolchain from config
- regenerate polkadot root key
Feat
- integrate escrow reward stake
- collateralization thresholds upgrade
- enable reception of kint/kbtc over xcm
- add withdraw mechanism for escrow annuity
- add escrow account blocks
- integrate escrow annuity distribution
- restrict some escrow deposits
- add annuity pallet to distribute block rewards
- add fast-track event to democracy
- separate interlay parachain runtime
- add orml-vesting to standalone runtime
- add multisig pallet
- send transaction fees to treasury
- remove collator-setter, integrate collator-selection and session pallets
- integrate governance pallets into standalone and parachain
- re-add cancel_proposal root dispatchable fn
- add escrow pallet to vote lock KINT
- fork pallet-democracy from frame
- add interlay (polkadot) chain spec
Fix
- annuity amount
- add required vKINT and vINTR amounts for proposals
- naming of runtimes and unused constants
- set launch and voting period to 7 days
- prevent divide-by-zero panic when electorate size is 0
- standalone docker build image
- escrow docs should use an automatic link
- governance integration tests
- democracy benchmarks
Refactor
- revert collator selection & session again but keep authorship
- assign explicit indices to TokenSymbol items
- wrap CurrencyId in Token
- use polkadot constants for interlay runtime currencies
- add BalanceToFixedPoint conversion trait
- consider rounding errors in supply inflation
- distinguish reward id for separate stake-to-vote rewards
- reward pallet should be instantiable
- remove separate democracy operational origin
- launch_public should be SuperMajorityAgainst by default
- escrow pallet shouldn't implement LockableCurrency
- use safe math for all escrow operations
- remove split voting
- remove prior lock
- remove vote conviction
- remove vote delegation
- remove external proposals, cancellations and vetos
Test
- wrap CurrencyId in Token
- governance tests
- batched multisig
- multisig should transfer vested
- lock vested tokens in escrow
- verify that we can recover from shutdown using sudo
- ensure governance participation only possible with staked tokens