Skip to content

Releases: interlay/interbtc

0.8.3

14 Jul 20:50
39565ae
Compare
Choose a tag to compare

0.8.3 (2021-07-14)

Feat

  • add rpc calls to compute vault collateral with and without nomination

Fix

  • add index to staking event metadata

Refactor

  • no fees on duplicate payment report
  • simplify duplication payment report logic

0.8.2

14 Jul 18:57
f77d5f2
Compare
Choose a tag to compare

0.8.2 (2021-07-13)

Chore

  • fix docker build

Fix

  • no need to insert replace request twice

0.7.5

01 Jun 15:42
0.7.5
094479f
Compare
Choose a tag to compare

0.7.5 (2021-06-01)

Chore

  • move all scripts to root dir
  • extract primitives into their own crate
  • use CI_COMMIT_REF_NAME for tagging docker images

Feat

  • rpc for checking block inclusion

Fix

  • prevent issuing below dust value

Style

  • cargo fmt

0.7.4

27 May 14:08
7c02930
Compare
Choose a tag to compare

0.7.4 (2021-05-27)

Feat

  • withdraw all stake on liquidation
  • Nominator withdrawal

Fix

  • wrong number of params in state test

Test

  • fee_pool deposit when there are non-liquidated vaults remaining

0.7.2

26 May 13:23
a06ada7
Compare
Choose a tag to compare

0.7.2 (2021-05-24)

Feat

  • added MintTokensForReimbursedRedeem event

Fix

  • CancelRedeem status to differentiate between Reimbursed(true)&Reimbursed(false)

Test

  • mint_tokens_for_reimbursed_redeem equivalence to immediate Reimbursed(true) result

0.7.1

24 May 12:23
5d0df77
Compare
Choose a tag to compare

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

24 May 09:22
976ee96
Compare
Choose a tag to compare

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 of repatriate_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

12 Apr 11:15
7a42bcc
Compare
Choose a tag to compare

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

25 Mar 17:08
6d4fc0e
Compare
Choose a tag to compare

0.6.1 (2021-03-25)

Fix

  • re-order refund request event fee to preserve backwards compatability

0.5.6

24 Mar 17:35
ac9848c
Compare
Choose a tag to compare

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