Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"no-useless-constructor": "off",
"@typescript-eslint/no-useless-constructor": "error"
},
"plugins": ["@typescript-eslint", "simple-import-sort", "node", "import", "prettier", "promise"],
"plugins": ["@typescript-eslint", "simple-import-sort", "n", "import", "prettier", "promise"],
"parserOptions": {
"sourceType": "module",
"project": "./tsconfig.json"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
cp yarn.lock dist/yarn.lock
cp .yarnrc.yml dist/.yarnrc.yml
cp README.md dist/README.md
cp release.config.js dist/release.config.js
- name: release
env:
GITHUB_TOKEN: ${{ secrets.ASSOCIATION_RELEASE_TOKEN }}
Expand Down
62 changes: 29 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,47 +33,43 @@
"@polkadot/types-codec": "16.5.2"
},
"devDependencies": {
"@commitlint/cli": "13.1.0",
"@commitlint/config-conventional": "13.1.0",
"@polkadot/dev": "^0.83.2",
"@polkadot/dev-ts": "^0.83.2",
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@polkadot/dev": "^0.83.3",
"@polkadot/dev-ts": "^0.83.3",
"@polkadot/typegen": "16.5.2",
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.7",
"@semantic-release/npm": "^9.0.2",
"@types/jest": "26.0.24",
"@semantic-release/changelog": "^6.0.3",
"@types/jest": "^27.5.2",
"@types/lodash": "^4.17.16",
"@types/node": "^18.15.3",
"@typescript-eslint/eslint-plugin": "4.29.0",
"@typescript-eslint/parser": "4.29.0",
"@types/node": "^18.19.130",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@zerollup/ts-transform-paths": "1.7.18",
"cross-env": "7.0.3",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-config-semistandard": "16.0.0",
"eslint-config-standard": "16.0.3",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-promise": "5.1.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"cross-env": "^10.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^10.1.8",
"eslint-config-semistandard": "^17.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-promise": "^6.6.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-standard": "5.0.0",
"husky": "7.0.1",
"jest": "27.0.6",
"jest-diff": "^27.2.0",
"jest": "^27.5.1",
"jest-diff": "^27.5.1",
"lint-staged": "11.1.1",
"lodash": "^4.17.21",
"prettier": "2.3.2",
"prettier-eslint": "13.0.0",
"prettier-eslint-cli": "5.0.1",
"rimraf": "^6.0.1",
"semantic-release": "22.0.12",
"ts-jest": "27.0.4",
"prettier": "^3.7.4",
"prettier-eslint": "^16.4.2",
"prettier-eslint-cli": "^8.0.1",
"rimraf": "^6.1.2",
"semantic-release": "24.2.9",
"ts-jest": "^27.1.5",
"ts-node": "^10.9.1",
"ttypescript": "1.5.12",
"typedoc": "0.16.8",
"typedoc": "0.24.8",
"typescript": "^4.9.5"
},
"config": {
Expand All @@ -84,5 +80,5 @@
"publishConfig": {
"access": "public"
},
"packageManager": "yarn@4.9.2+sha512.1fc009bc09d13cfd0e19efa44cbfc2b9cf6ca61482725eb35bbc5e257e093ebf4130db6dfe15d604ff4b79efd8e1e8e99b25fa7d0a6197c9f9826358d4d65c3c"
"packageManager": "yarn@4.12.0"
}
21 changes: 21 additions & 0 deletions spec_diffs/8000000-8999999
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
- Expected
+ Received

@@ -508,6 +508,8 @@
"PalletPermissions": Object {
"extrinsics": "ExtrinsicNames",
},
+ "PalletPipsPipId": "u32",
+ "PalletProtocolFeeRpcRuntimeApiCappedFee": "u64",
"Percentage": "Permill",
"Permissions": Object {
"asset": "AssetPermissions",
@@ -517,6 +519,8 @@
"PipId": "u32",
"PolymeshAssetId": "[u8; 16]",
"PolymeshMoment": "u64",
+ "PolymeshPrimitivesSettlementInstructionId": "u64",
+ "PolymeshRuntimeDevelopRuntimeRuntimeCall": "Call",
"PortfolioId": Object {
"did": "IdentityId",
"kind": "PortfolioKind",
19 changes: 17 additions & 2 deletions src/polkadot/augment-api-consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,13 @@ declare module '@polkadot/api-base/types/consts' {
**/
betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
/**
* The maximum number of winners that can be elected by this `ElectionProvider`
* implementation.
* Maximum number of voters that can support a winner in an election solution.
*
* This is needed to ensure election computation is bounded.
**/
maxBackersPerWinner: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of winners that an election supports.
*
* Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
**/
Expand Down Expand Up @@ -358,6 +363,12 @@ declare module '@polkadot/api-base/types/consts' {
**/
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
};
session: {
/**
* The amount to be held when setting keys.
**/
keyDeposit: u128 & AugmentedConst<ApiType>;
};
settlement: {
/**
* The maximum time period that an instruction can be held in the `LockedForExecution` status.
Expand Down Expand Up @@ -447,6 +458,10 @@ declare module '@polkadot/api-base/types/consts' {
* this effect.
**/
maxUnlockingChunks: u32 & AugmentedConst<ApiType>;
/**
* The absolute maximum of winner validators this pallet should return.
**/
maxValidatorSet: u32 & AugmentedConst<ApiType>;
/**
* Number of sessions per era.
**/
Expand Down
6 changes: 0 additions & 6 deletions src/polkadot/augment-api-errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2128,12 +2128,6 @@ declare module '@polkadot/api-base/types/errors' {
**/
Unauthorized: AugmentedError<ApiType>;
};
sudo: {
/**
* Sender must be the Sudo account
**/
RequireSudo: AugmentedError<ApiType>;
};
system: {
/**
* The origin filter prevent the call to be dispatched.
Expand Down
Loading