Skip to content

Commit

Permalink
Merge pull request #620 from bvotteler/chore-bump-polkadot-version
Browse files Browse the repository at this point in the history
Chore: bump polkadot version
  • Loading branch information
bvotteler authored Mar 27, 2023
2 parents a62c101 + a68630a commit 8fc6219
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@interlay/interbtc-api",
"version": "2.0.2",
"version": "2.0.3",
"description": "JavaScript library to interact with interBTC",
"main": "build/src/index.js",
"typings": "build/src/index.d.ts",
Expand Down Expand Up @@ -55,7 +55,7 @@
"@interlay/esplora-btc-api": "0.4.0",
"@interlay/interbtc-types": "1.12.0",
"@interlay/monetary-js": "0.7.2",
"@polkadot/api": "9.11.1",
"@polkadot/api": "9.14.2",
"big.js": "6.1.1",
"bitcoin-core": "^3.0.0",
"bitcoinjs-lib": "^5.2.0",
Expand All @@ -65,7 +65,7 @@
"regtest-client": "^0.2.0"
},
"devDependencies": {
"@polkadot/typegen": "9.11.1",
"@polkadot/typegen": "9.14.2",
"@types/big.js": "6.1.2",
"@types/chai": "^4.2.12",
"@types/chai-as-promised": "^7.1.3",
Expand Down
7 changes: 4 additions & 3 deletions src/parachain/constants.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { BlockNumber, Moment, RuntimeDbWeight } from "@polkadot/types/interfaces/runtime";
import { BlockNumber, Moment } from "@polkadot/types/interfaces/runtime";
import { ApiPromise } from "@polkadot/api";
import { SpWeightsRuntimeDbWeight } from "@polkadot/types/lookup";

/**
* @category BTC Bridge
Expand All @@ -14,7 +15,7 @@ export interface ConstantsAPI {
/**
* @returns The weight of database operations that the runtime can invoke.
*/
getSystemDbWeight(): RuntimeDbWeight;
getSystemDbWeight(): SpWeightsRuntimeDbWeight;
/**
* @returns The minimum period between blocks. Beware that this is different to the *expected* period
* that the block production apparatus provides. Your chosen consensus system will generally
Expand All @@ -31,7 +32,7 @@ export class DefaultConstantsAPI implements ConstantsAPI {
return this.api.consts.system.blockHashCount;
}

getSystemDbWeight(): RuntimeDbWeight {
getSystemDbWeight(): SpWeightsRuntimeDbWeight {
return this.api.consts.system.dbWeight;
}

Expand Down

0 comments on commit 8fc6219

Please sign in to comment.