Skip to content

Commit 0b8b38f

Browse files
authored
chore: release 0.35.0 (#836)
2 parents cb0b8e1 + 958a0b7 commit 0b8b38f

34 files changed

+2194
-3222
lines changed

dc.build.node.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ version: '3.2'
22

33
services:
44
dev-node:
5-
image: local/mashnet-node
5+
image: local/standalone-node
66
build:
7-
context: https://github.com/KILTprotocol/mashnet-node.git
7+
context: https://github.com/KILTprotocol/kilt-node.git
88
cache_from:
9-
- kiltprotocol/mashnet-node
10-
- local/mashnet-node
9+
- kiltprotocol/standalone-node
10+
- local/standalone-node

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# allows running tests and integration tests in a dockerized environment
22
# `docker-compose run sdk` will run integration tests using the latest
3-
# mashnet-node image on dockerhub. The src/ directory is mounted, so rebuilding
3+
# standalone-node image on dockerhub. The src/ directory is mounted, so rebuilding
44
# is not required to integrate changes in this directory.
55
# `docker-compose run sdk yarn test:integration:run Attestation` would run specific tests.
6-
# In order to test against the current state of the develop branch, you can build a mashnet-node
6+
# In order to test against the current state of the develop branch, you can build a standalone-node
77
# image locally by telling docker-compose to use the override file `dc.build.node.yml` like so:
88
# `docker-compose -f docker-compose.yml -f dc.build.node.yml run sdk`. Alternatively you could
99
# rename `dc.build.node.yml` to `docker-compose.override.yml`, in which case docker-compose
@@ -13,7 +13,7 @@ version: '3.2'
1313

1414
services:
1515
dev-node:
16-
image: kiltprotocol/mashnet-node:develop
16+
image: kiltprotocol/standalone-node:develop
1717
command: '--dev --ws-port 9944 --ws-external'
1818

1919
sdk:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"test:integration": "jest -c tests/integration/jest.config.integration.js",
2727
"build:esm-tests": "rimraf tests/integration/dist && tsc -p tests/integration/tsconfig.esm.json && echo '{\"type\":\"module\"}' > tests/integration/dist/package.json",
2828
"test:integration:esm": "yarn build:esm-tests && yarn node --experimental-vm-modules $(yarn bin jest) -c tests/integration/jest.config.integration.esm.js",
29-
"test:integration:latest-develop": "TESTCONTAINERS_NODE_IMG=kiltprotocol/mashnet-node:latest-develop yarn test:integration",
29+
"test:integration:latest-develop": "TESTCONTAINERS_NODE_IMG=kiltprotocol/standalone-node:latest-develop yarn test:integration",
3030
"test:watch": "yarn test --watch",
3131
"test:bundle": "tsc -p tests/bundle/tsconfig.json && yarn ./tests/bundle playwright test --config playwright.config.ts",
3232
"test:ci:bundle": "yarn test:ci:bundle:preparation && yarn test:bundle",
@@ -68,6 +68,6 @@
6868
"typedoc": "^0.23.0",
6969
"typescript": "^4.8.3"
7070
},
71-
"version": "0.34.0",
71+
"version": "0.35.0",
7272
"packageManager": "[email protected]"
7373
}

packages/asset-did/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kiltprotocol/asset-did",
3-
"version": "0.34.0",
3+
"version": "0.35.0",
44
"description": "",
55
"main": "./lib/cjs/index.js",
66
"module": "./lib/esm/index.js",

packages/augment-api/metadata/spiritnet.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

packages/augment-api/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kiltprotocol/augment-api",
3-
"version": "0.34.0",
3+
"version": "0.35.0",
44
"description": "",
55
"types": "./lib/index.d.ts",
66
"type": "module",
@@ -40,8 +40,8 @@
4040
"bugs": "https://github.com/KILTprotocol/sdk-js/issues",
4141
"homepage": "https://github.com/KILTprotocol/sdk-js#readme",
4242
"devDependencies": {
43-
"@polkadot/api": "^10.4.0",
44-
"@polkadot/typegen": "^10.4.0",
43+
"@polkadot/api": "^10.7.3",
44+
"@polkadot/typegen": "^10.7.3",
4545
"glob": "^7.1.1",
4646
"rimraf": "^3.0.2",
4747
"ts-node": "^10.4.0",

packages/augment-api/src/interfaces/augment-api-consts.ts

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,24 @@ declare module '@polkadot/api-base/types/consts' {
2727
};
2828
balances: {
2929
/**
30-
* The minimum amount required to keep an account open.
30+
* The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
31+
*
32+
* If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
33+
* this pallet. However, you do so at your own risk: this will open up a major DoS vector.
34+
* In case you have multiple sources of provider references, you may also get unexpected
35+
* behaviour if you set this to zero.
36+
*
37+
* Bottom line: Do yourself a favour and make it at least one!
3138
**/
3239
existentialDeposit: u128 & AugmentedConst<ApiType>;
40+
/**
41+
* The maximum number of individual freeze locks that can exist on an account at any time.
42+
**/
43+
maxFreezes: u32 & AugmentedConst<ApiType>;
44+
/**
45+
* The maximum number of holds that can exist on an account at any time.
46+
**/
47+
maxHolds: u32 & AugmentedConst<ApiType>;
3348
/**
3449
* The maximum number of locks that should exist on an account.
3550
* Not strictly enforced, but used for weight estimation.
@@ -40,6 +55,12 @@ declare module '@polkadot/api-base/types/consts' {
4055
**/
4156
maxReserves: u32 & AugmentedConst<ApiType>;
4257
};
58+
council: {
59+
/**
60+
* The maximum weight of a dispatch call that can be proposed and executed.
61+
**/
62+
maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
63+
};
4364
delegation: {
4465
/**
4566
* The deposit that is required for storing a delegation.
@@ -229,6 +250,12 @@ declare module '@polkadot/api-base/types/consts' {
229250
**/
230251
initialPeriodReward: u128 & AugmentedConst<ApiType>;
231252
};
253+
migration: {
254+
/**
255+
* The max amount on migrations for each pallet
256+
**/
257+
maxMigrationsPerPallet: u32 & AugmentedConst<ApiType>;
258+
};
232259
multisig: {
233260
/**
234261
* The base amount of currency needed to reserve for creating a multisig execution or to
@@ -398,6 +425,10 @@ declare module '@polkadot/api-base/types/consts' {
398425
maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
399426
/**
400427
* The maximum number of scheduled calls in the queue for a single block.
428+
*
429+
* NOTE:
430+
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
431+
* higher limit under `runtime-benchmarks` feature.
401432
**/
402433
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
403434
};
@@ -431,6 +462,12 @@ declare module '@polkadot/api-base/types/consts' {
431462
**/
432463
version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;
433464
};
465+
technicalCommittee: {
466+
/**
467+
* The maximum weight of a dispatch call that can be proposed and executed.
468+
**/
469+
maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
470+
};
434471
timestamp: {
435472
/**
436473
* The minimum period between blocks. Beware that this is different to the *expected*

packages/augment-api/src/interfaces/augment-api-errors.ts

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,35 +43,43 @@ declare module '@polkadot/api-base/types/errors' {
4343
};
4444
balances: {
4545
/**
46-
* Beneficiary account must pre-exist
46+
* Beneficiary account must pre-exist.
4747
**/
4848
DeadAccount: AugmentedError<ApiType>;
4949
/**
50-
* Value too low to create account due to existential deposit
50+
* Value too low to create account due to existential deposit.
5151
**/
5252
ExistentialDeposit: AugmentedError<ApiType>;
5353
/**
54-
* A vesting schedule already exists for this account
54+
* A vesting schedule already exists for this account.
5555
**/
5656
ExistingVestingSchedule: AugmentedError<ApiType>;
57+
/**
58+
* Transfer/payment would kill account.
59+
**/
60+
Expendability: AugmentedError<ApiType>;
5761
/**
5862
* Balance too low to send value.
5963
**/
6064
InsufficientBalance: AugmentedError<ApiType>;
6165
/**
62-
* Transfer/payment would kill account
66+
* Account liquidity restrictions prevent withdrawal.
6367
**/
64-
KeepAlive: AugmentedError<ApiType>;
68+
LiquidityRestrictions: AugmentedError<ApiType>;
6569
/**
66-
* Account liquidity restrictions prevent withdrawal
70+
* Number of freezes exceed `MaxFreezes`.
6771
**/
68-
LiquidityRestrictions: AugmentedError<ApiType>;
72+
TooManyFreezes: AugmentedError<ApiType>;
6973
/**
70-
* Number of named reserves exceed MaxReserves
74+
* Number of holds exceed `MaxHolds`.
75+
**/
76+
TooManyHolds: AugmentedError<ApiType>;
77+
/**
78+
* Number of named reserves exceed `MaxReserves`.
7179
**/
7280
TooManyReserves: AugmentedError<ApiType>;
7381
/**
74-
* Vesting balance too high to send value
82+
* Vesting balance too high to send value.
7583
**/
7684
VestingBalance: AugmentedError<ApiType>;
7785
};
@@ -507,6 +515,9 @@ declare module '@polkadot/api-base/types/errors' {
507515
**/
508516
Permanent: AugmentedError<ApiType>;
509517
};
518+
migration: {
519+
KeyParse: AugmentedError<ApiType>;
520+
};
510521
multisig: {
511522
/**
512523
* Call is already approved by this signatory.
@@ -793,7 +804,7 @@ declare module '@polkadot/api-base/types/errors' {
793804
**/
794805
Filtered: AugmentedError<ApiType>;
795806
/**
796-
* The unlock operation cannot succeed because there are still users of the lock.
807+
* The unlock operation cannot succeed because there are still consumers of the lock.
797808
**/
798809
InUse: AugmentedError<ApiType>;
799810
/**

0 commit comments

Comments
 (0)