Skip to content

Commit

Permalink
chore: release 0.35.0 (#836)
Browse files Browse the repository at this point in the history
  • Loading branch information
rflechtner authored Feb 14, 2024
2 parents cb0b8e1 + 958a0b7 commit 0b8b38f
Show file tree
Hide file tree
Showing 34 changed files with 2,194 additions and 3,222 deletions.
8 changes: 4 additions & 4 deletions dc.build.node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ version: '3.2'

services:
dev-node:
image: local/mashnet-node
image: local/standalone-node
build:
context: https://github.com/KILTprotocol/mashnet-node.git
context: https://github.com/KILTprotocol/kilt-node.git
cache_from:
- kiltprotocol/mashnet-node
- local/mashnet-node
- kiltprotocol/standalone-node
- local/standalone-node
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# allows running tests and integration tests in a dockerized environment
# `docker-compose run sdk` will run integration tests using the latest
# mashnet-node image on dockerhub. The src/ directory is mounted, so rebuilding
# standalone-node image on dockerhub. The src/ directory is mounted, so rebuilding
# is not required to integrate changes in this directory.
# `docker-compose run sdk yarn test:integration:run Attestation` would run specific tests.
# In order to test against the current state of the develop branch, you can build a mashnet-node
# In order to test against the current state of the develop branch, you can build a standalone-node
# image locally by telling docker-compose to use the override file `dc.build.node.yml` like so:
# `docker-compose -f docker-compose.yml -f dc.build.node.yml run sdk`. Alternatively you could
# rename `dc.build.node.yml` to `docker-compose.override.yml`, in which case docker-compose
Expand All @@ -13,7 +13,7 @@ version: '3.2'

services:
dev-node:
image: kiltprotocol/mashnet-node:develop
image: kiltprotocol/standalone-node:develop
command: '--dev --ws-port 9944 --ws-external'

sdk:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"test:integration": "jest -c tests/integration/jest.config.integration.js",
"build:esm-tests": "rimraf tests/integration/dist && tsc -p tests/integration/tsconfig.esm.json && echo '{\"type\":\"module\"}' > tests/integration/dist/package.json",
"test:integration:esm": "yarn build:esm-tests && yarn node --experimental-vm-modules $(yarn bin jest) -c tests/integration/jest.config.integration.esm.js",
"test:integration:latest-develop": "TESTCONTAINERS_NODE_IMG=kiltprotocol/mashnet-node:latest-develop yarn test:integration",
"test:integration:latest-develop": "TESTCONTAINERS_NODE_IMG=kiltprotocol/standalone-node:latest-develop yarn test:integration",
"test:watch": "yarn test --watch",
"test:bundle": "tsc -p tests/bundle/tsconfig.json && yarn ./tests/bundle playwright test --config playwright.config.ts",
"test:ci:bundle": "yarn test:ci:bundle:preparation && yarn test:bundle",
Expand Down Expand Up @@ -68,6 +68,6 @@
"typedoc": "^0.23.0",
"typescript": "^4.8.3"
},
"version": "0.34.0",
"version": "0.35.0",
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion packages/asset-did/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kiltprotocol/asset-did",
"version": "0.34.0",
"version": "0.35.0",
"description": "",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/augment-api/metadata/spiritnet.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/augment-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kiltprotocol/augment-api",
"version": "0.34.0",
"version": "0.35.0",
"description": "",
"types": "./lib/index.d.ts",
"type": "module",
Expand Down Expand Up @@ -40,8 +40,8 @@
"bugs": "https://github.com/KILTprotocol/sdk-js/issues",
"homepage": "https://github.com/KILTprotocol/sdk-js#readme",
"devDependencies": {
"@polkadot/api": "^10.4.0",
"@polkadot/typegen": "^10.4.0",
"@polkadot/api": "^10.7.3",
"@polkadot/typegen": "^10.7.3",
"glob": "^7.1.1",
"rimraf": "^3.0.2",
"ts-node": "^10.4.0",
Expand Down
39 changes: 38 additions & 1 deletion packages/augment-api/src/interfaces/augment-api-consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,24 @@ declare module '@polkadot/api-base/types/consts' {
};
balances: {
/**
* The minimum amount required to keep an account open.
* The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
*
* If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
* this pallet. However, you do so at your own risk: this will open up a major DoS vector.
* In case you have multiple sources of provider references, you may also get unexpected
* behaviour if you set this to zero.
*
* Bottom line: Do yourself a favour and make it at least one!
**/
existentialDeposit: u128 & AugmentedConst<ApiType>;
/**
* The maximum number of individual freeze locks that can exist on an account at any time.
**/
maxFreezes: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of holds that can exist on an account at any time.
**/
maxHolds: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of locks that should exist on an account.
* Not strictly enforced, but used for weight estimation.
Expand All @@ -40,6 +55,12 @@ declare module '@polkadot/api-base/types/consts' {
**/
maxReserves: u32 & AugmentedConst<ApiType>;
};
council: {
/**
* The maximum weight of a dispatch call that can be proposed and executed.
**/
maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
};
delegation: {
/**
* The deposit that is required for storing a delegation.
Expand Down Expand Up @@ -229,6 +250,12 @@ declare module '@polkadot/api-base/types/consts' {
**/
initialPeriodReward: u128 & AugmentedConst<ApiType>;
};
migration: {
/**
* The max amount on migrations for each pallet
**/
maxMigrationsPerPallet: u32 & AugmentedConst<ApiType>;
};
multisig: {
/**
* The base amount of currency needed to reserve for creating a multisig execution or to
Expand Down Expand Up @@ -398,6 +425,10 @@ declare module '@polkadot/api-base/types/consts' {
maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
/**
* The maximum number of scheduled calls in the queue for a single block.
*
* NOTE:
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
* higher limit under `runtime-benchmarks` feature.
**/
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
};
Expand Down Expand Up @@ -431,6 +462,12 @@ declare module '@polkadot/api-base/types/consts' {
**/
version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;
};
technicalCommittee: {
/**
* The maximum weight of a dispatch call that can be proposed and executed.
**/
maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
};
timestamp: {
/**
* The minimum period between blocks. Beware that this is different to the *expected*
Expand Down
31 changes: 21 additions & 10 deletions packages/augment-api/src/interfaces/augment-api-errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,35 +43,43 @@ declare module '@polkadot/api-base/types/errors' {
};
balances: {
/**
* Beneficiary account must pre-exist
* Beneficiary account must pre-exist.
**/
DeadAccount: AugmentedError<ApiType>;
/**
* Value too low to create account due to existential deposit
* Value too low to create account due to existential deposit.
**/
ExistentialDeposit: AugmentedError<ApiType>;
/**
* A vesting schedule already exists for this account
* A vesting schedule already exists for this account.
**/
ExistingVestingSchedule: AugmentedError<ApiType>;
/**
* Transfer/payment would kill account.
**/
Expendability: AugmentedError<ApiType>;
/**
* Balance too low to send value.
**/
InsufficientBalance: AugmentedError<ApiType>;
/**
* Transfer/payment would kill account
* Account liquidity restrictions prevent withdrawal.
**/
KeepAlive: AugmentedError<ApiType>;
LiquidityRestrictions: AugmentedError<ApiType>;
/**
* Account liquidity restrictions prevent withdrawal
* Number of freezes exceed `MaxFreezes`.
**/
LiquidityRestrictions: AugmentedError<ApiType>;
TooManyFreezes: AugmentedError<ApiType>;
/**
* Number of named reserves exceed MaxReserves
* Number of holds exceed `MaxHolds`.
**/
TooManyHolds: AugmentedError<ApiType>;
/**
* Number of named reserves exceed `MaxReserves`.
**/
TooManyReserves: AugmentedError<ApiType>;
/**
* Vesting balance too high to send value
* Vesting balance too high to send value.
**/
VestingBalance: AugmentedError<ApiType>;
};
Expand Down Expand Up @@ -507,6 +515,9 @@ declare module '@polkadot/api-base/types/errors' {
**/
Permanent: AugmentedError<ApiType>;
};
migration: {
KeyParse: AugmentedError<ApiType>;
};
multisig: {
/**
* Call is already approved by this signatory.
Expand Down Expand Up @@ -793,7 +804,7 @@ declare module '@polkadot/api-base/types/errors' {
**/
Filtered: AugmentedError<ApiType>;
/**
* The unlock operation cannot succeed because there are still users of the lock.
* The unlock operation cannot succeed because there are still consumers of the lock.
**/
InUse: AugmentedError<ApiType>;
/**
Expand Down
Loading

0 comments on commit 0b8b38f

Please sign in to comment.