github interlay/interbtc 1.1.0

latest releases: 1.25.4, 1.25.3, 1.25.2-hotfix2...
2 years ago

1.1.0 (2021-10-11)

Chore

  • upgrade crates to v1.1.0
  • revert btc-relay doc comment change
  • disable difficulty check in integration tests
  • remove serialization on Vault
  • use polkadot-v0.9.10 for supply pallet
  • update actions toolchain to nightly-2021-08-01
  • remove unused btc-relay consts
  • derive Hash on VaultId
  • separate block version error
  • derive eq on vault
  • upgrade to polkadot 0.9.10
  • fmt
  • update ext.rs files
  • remove unused vault querying rpcs
  • parachain is limited to 12s block times
  • add missing benchmarks and re-run all
  • one maximum vesting schedule (per account)
  • remove redundant dead_code attributes
  • fmt
  • remove unused get_total_backing_collateral function
  • upgrade to polkadot-v0.9.9
  • use nightly-2021-08-01

Feat

  • add supply pallet to mint KINT and inflate
  • rpc for getting all vaults registered by a specific accountId
  • add governance to standalone node runtime
  • integrate pallet-elections-phragmen for general council voting
  • integrate orml-vesting for kint distribution
  • add kintsugi raw genesis to res directory

Fix

  • block difficulty calculations
  • upper-bound tx outputs in issue payments
  • metadata alias
  • use correct currency-id for relay chain currency
  • outdated refund integration tests
  • explicitly track vault griefing collateral
  • limit KSM on kusama
  • count Reserved balance towards TotalUserVaultCollateral
  • update TotalUserVaultCollateral when opting out of nomination
  • benchmarks
  • undo chain spec change
  • undo duplicate total_backing_collateral update

Refactor

  • add additional safety checks to GetCompact and SetCompact
  • more directly translate bitcoin core for GetCompact and SetCompact
  • make get_vaults_by_account_id return vaultids
  • Move replace testing utils in own module
  • make liquidation_redeem take currency pair instead of separate currencies
  • GetGovernanceTokenCurrency -> GetNativeCurrencyId
  • slight cleanup
  • cleanup benchmark by using vault_id constructor convenience function
  • [Option, ValueQuery] -> [x, OptionQuery]
  • move Amount into separate file
  • remove ParachainCurrency
  • cleanup currency
  • cleanup chain spec by adding one() helper
  • rename ReservedBalance -> LiquidatedCollateral and update total backing when changed in transfer_funds
  • rename CollateralCurrencyCeilingExceeded -> CurrencyCeilingExceeded
  • use decimals() instead of hardcoding constant in chainspec
  • wrapped getters for TotalUserVaultCollateral and system_collateral_ceiling
  • add default request type aliases
  • remove unused security errors

Test

  • GetCompact and SetCompact
  • initialize should fail on invalid start height
  • Double-spending replace and refund
  • vault should still execute redeem after being banned
  • ensure replace only works for same backing currency
  • Wrong btc amounts for redeem, refund, replace
  • report double payment as theft
  • fix broken tests
  • test vault isolation
  • update tests for new vault_id
  • fix broken test build
  • fund limiting integration test
  • integration tests for TotalUserVaultCollateral

Don't miss a new interbtc release

NewReleases is sending notifications on new releases.