Releases: interlay/interbtc
Releases · interlay/interbtc
0.8.3
0.8.2
0.7.5
0.7.4
0.7.2
0.7.1
0.7.1 (2021-05-24)
Chore
- Remove unused SlashingError member
- upgrade rococo-v1 dependencies to polkadot-v0.9.1
- upgrade crate versions to 0.7.0
- remove all runtime upgrades
Doc
- remove duplicate (outdated) comments
- add radicle
Feat
- implement scriptSig builders for the public key type
- Deposit nominated collateral
- implement reward crate for constant-time distribution
- slashable vault for scalable nominator slashing
Fix
- expose rpc handlers
- initialize liquidationVaultId
- use local cumulus import queue
- don't subtract to-be-redeemed in liquidation threshold check
Refactor
- upgrade parachain-tokens to FRAME v2
- lockAdditionalCollateral > depositCollateral
- convert exchange rate oracle pallet to FRAME v2
- trim btc-relay mock runtime
- rename currency type alias
- remove unused sla rpc crate
- rename slash_collateral to transfer_funds
- trim nomination pallet for vault improvements
0.7.0
0.7.0 (2021-05-12)
Chore
- update remaining references to gitlab
- update readme to point to github
- use checked math
- further detail witness address extraction
- describe witness conditional logic, length already checked
- Simplify nomination state in tests
- Remove redundant storage updates and fix vault liquidation function
- remove unused function
- add tarpaulin command to parachain/README.md
- fix clippy warnings
- add build dependencies to README
- Refactor vault nomination into new crate
- simplify gitlab-ci.yml
- add release step to gitlab-ci
- added gitlab-ci.yml
- fix Jenkinsfile syntax
Feat
- vault liquidation from off-chain worker
- extract p2wsh addresses
- dispatchable amounts should be compact
- emit event when issue amount changes
- vault nomination
Fix
- remove nomination liquidation
- correct txid calculation when there is witness data
- RedeemRequest serialization
- broken unit tests
- Merge errors
- average issue size calculation
- don't check parachain status in internal vault_reg functions
- only increment active_block_count when status is running
- check parachain status in on_initialize
- use status_not_shutdown through the project
- calculate tx_id rather than using user input
- make replaceRequest storage non-optional
- don't allow issues while btc-relay is initializing
- vault auto liquidation weight + small optimization + missing benchmark
- benchmarking
- reject transactions with duplicate recipients
- Nomination merge errors
- filter banned vaults in get_vaults_below_premium_collateralization
- don't allow vault to accept/auction replace themselves
- merge vault v3 into v2
Refactor
- inline initiate_replace
- convert btc-relay pallet to FRAME v2
- convert vault-registry pallet to FRAME v2
- use checked math for increase / decrease total locked
- use consts for name, symbol and decimal in currency
- simplify nomination conversions
- set decimals at genesis, use on exchange-rate calculation
- rename other helper methods
- calculate expected redeem size based on input&outputs
- rename DOT and PolkaBTC to Backing and Issuing
- merge collateral and treasury wrappers into currency pallet
- convert collateral pallet to FRAME v2
- convert treasury pallet to FRAME v2
- derive sovereign account for modules
- convert security pallet to FRAME v2
- Use
slash_collateral
instead ofrepatriate_reserved
- more consistently use Pallet instead of Module
- move checks into dispatchable functions
- rename Module -> Pallet
- rename weights->default_weights
- use active_block_number everywhere
- don't use newtype for ActiveBlockNumber
Test
- txid with and without witness
- redeem underpayment
- oracle when parachain is shutdown
- increment_active_block
- check that oracle usage fails when oracle is offline
- parachain shutdown check
- forged raw_tx
- withdraw and add collateral
- issue/redeem/replace expiry
Wip
- Begin work on fee distribution
0.6.2
0.6.2 (2021-03-29)
Chore
- upgrade to nightly-2021-03-15
- upgrade to nightly-2021-02-15
- upgrade rococo-v1 dependencies
- use target spacing to calculate parachain confirmations
- more authorized oracles on dev, parameterise parachain confirmations
Chore
- post jenkins notifications to discord
- clean old build artifacts
- fix automated github release
0.6.1
0.5.6
0.5.6 (2021-03-19)
Chore
- remove unused liquidation error state
- gitignore vscode dir
- add rustfmt config
- upgrade rococo-v1 dependencies
- rm .gitlab-ci.yml
- remove dev branch from ci scripts
- fix creating github draft releases
Feat
- separate duplicate block delta, only reward duplicate on best block, sudo set_relayer_sla
- allow partial issue execution
- automatic oracle offline reporting on_initialize
- update relayer sla on duplicate block
Fix
- slash issue griefing collateral to fee pool instead of vault
- don't allow auction_replace below dust amount
- slash fee to pool in cancel_redeem with reimburse=true
- calc slashed collateral based on BACKING only
- prevent integer underflow by limiting used_collateral() to actually availably collateral
- issue tokens in refund
- runtime upgrade
- set correct thresholds
Refactor
- don't use mutable var
- vault token forwarding to liquidation vault
Style
- formatting
Test
- check we can not withdraw more fees than we have been awarded
- fix broken tests
- test fee pool withdrawal in both polkabtc and dot
- refactored and added fee&sla tests