* Bump deps

* Adjust bounties weights
This commit is contained in:
Jaco 2022-10-08 13:37:19 +03:00 committed by GitHub
parent b2731d1738
commit 3be558f1dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 508 additions and 522 deletions

View File

@ -69,7 +69,7 @@
"@babel/runtime": "^7.19.0",
"@crustio/crust-pin": "^1.0.0",
"@pinata/sdk": "^1.1.26",
"@polkadot/dev": "^0.67.135",
"@polkadot/dev": "^0.67.138",
"@types/chart.js": "^2.9.37",
"@types/file-saver": "^2.0.5",
"@types/jest": "^29.0.3",
@ -94,26 +94,26 @@
"styled-components": "^5.3.6"
},
"resolutions": {
"@polkadot/api": "^9.4.3",
"@polkadot/api-augment": "^9.4.3",
"@polkadot/api-base": "^9.4.3",
"@polkadot/api-contract": "^9.4.3",
"@polkadot/api-derive": "^9.4.3",
"@polkadot/hw-ledger": "^10.1.9",
"@polkadot/keyring": "^10.1.9",
"@polkadot/networks": "^10.1.9",
"@polkadot/phishing": "^0.18.9",
"@polkadot/rpc-augment": "^9.4.3",
"@polkadot/rpc-core": "^9.4.3",
"@polkadot/rpc-provider": "^9.4.3",
"@polkadot/types": "^9.4.3",
"@polkadot/types-augment": "^9.4.3",
"@polkadot/types-codec": "^9.4.3",
"@polkadot/types-create": "^9.4.3",
"@polkadot/types-known": "^9.4.3",
"@polkadot/types-support": "^9.4.3",
"@polkadot/util": "^10.1.9",
"@polkadot/util-crypto": "^10.1.9",
"@polkadot/api": "^9.5.1",
"@polkadot/api-augment": "^9.5.1",
"@polkadot/api-base": "^9.5.1",
"@polkadot/api-contract": "^9.5.1",
"@polkadot/api-derive": "^9.5.1",
"@polkadot/hw-ledger": "^10.1.10",
"@polkadot/keyring": "^10.1.10",
"@polkadot/networks": "^10.1.10",
"@polkadot/phishing": "^0.18.10",
"@polkadot/rpc-augment": "^9.5.1",
"@polkadot/rpc-core": "^9.5.1",
"@polkadot/rpc-provider": "^9.5.1",
"@polkadot/types": "^9.5.1",
"@polkadot/types-augment": "^9.5.1",
"@polkadot/types-codec": "^9.5.1",
"@polkadot/types-create": "^9.5.1",
"@polkadot/types-known": "^9.5.1",
"@polkadot/types-support": "^9.5.1",
"@polkadot/util": "^10.1.10",
"@polkadot/util-crypto": "^10.1.10",
"@polkadot/wasm-crypto": "^6.3.1",
"babel-core": "^7.0.0-bridge.0",
"styled-components": "^5.3.1",

View File

@ -31,12 +31,12 @@
"@metaverse-network-sdk/type-definitions": "^0.0.1-13",
"@parallel-finance/type-definitions": "1.7.13",
"@phala/typedefs": "0.2.31",
"@polkadot/api": "^9.4.3",
"@polkadot/api-derive": "^9.4.3",
"@polkadot/networks": "^10.1.9",
"@polkadot/types": "^9.4.3",
"@polkadot/util": "^10.1.9",
"@polkadot/x-fetch": "^10.1.9",
"@polkadot/api": "^9.5.1",
"@polkadot/api-derive": "^9.5.1",
"@polkadot/networks": "^10.1.10",
"@polkadot/types": "^9.5.1",
"@polkadot/util": "^10.1.10",
"@polkadot/x-fetch": "^10.1.10",
"@polymathnetwork/polymesh-types": "0.0.2",
"@snowfork/snowbridge-types": "0.2.7",
"@sora-substrate/type-definitions": "1.10.0-beta.7",
@ -47,7 +47,7 @@
"@zeitgeistpm/type-defs": "0.8.0",
"@zeroio/type-definitions": "0.0.14",
"lodash": "^4.17.21",
"moonbeam-types-bundle": "2.0.8",
"moonbeam-types-bundle": "2.0.9",
"pontem-types-bundle": "1.0.15",
"rxjs": "^7.5.7"
}

View File

@ -14,7 +14,7 @@
"dependencies": {
"@babel/core": "^7.19.3",
"@babel/polyfill": "^7.12.1",
"@polkadot/dev": "^0.67.135",
"@polkadot/dev": "^0.67.138",
"@polkadot/react-components": "^0.121.2-94-x",
"electron-log": "^4.4.8",
"electron-updater": "^4.6.5"

View File

@ -18,7 +18,7 @@
"@babel/runtime": "^7.19.0",
"@polkadot/apps-config": "^0.121.2-94-x",
"@polkadot/apps-routing": "^0.121.2-94-x",
"@polkadot/dev": "^0.67.135",
"@polkadot/dev": "^0.67.138",
"@polkadot/react-api": "^0.121.2-94-x",
"@polkadot/react-components": "^0.121.2-94-x",
"@polkadot/react-hooks": "^0.121.2-94-x",

View File

@ -14,12 +14,12 @@
"version": "0.121.2-94-x",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/hw-ledger": "^10.1.9",
"@polkadot/phishing": "^0.18.9",
"@polkadot/hw-ledger": "^10.1.10",
"@polkadot/phishing": "^0.18.10",
"@polkadot/react-components": "^0.121.2-94-x",
"@polkadot/react-hooks": "^0.121.2-94-x",
"@polkadot/util": "^10.1.9",
"@polkadot/vanitygen": "^0.52.10",
"@polkadot/util": "^10.1.10",
"@polkadot/vanitygen": "^0.52.11",
"detect-browser": "^5.3.0",
"file-saver": "^2.0.5"
},

View File

@ -19,6 +19,6 @@
},
"devDependencies": {
"@testing-library/react": "^13.4.0",
"testcontainers": "^8.14.0"
"testcontainers": "^8.15.0"
}
}

View File

@ -14,6 +14,6 @@
"version": "0.121.2-94-x",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/api-contract": "^9.4.3"
"@polkadot/api-contract": "^9.5.1"
}
}

View File

@ -18,11 +18,11 @@
},
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/api": "^9.4.3",
"@polkadot/api": "^9.5.1",
"@polkadot/extension-compat-metamask": "^0.44.6",
"@polkadot/extension-dapp": "^0.44.6",
"@polkadot/rpc-provider": "^9.4.3",
"fflate": "^0.7.3",
"@polkadot/rpc-provider": "^9.5.1",
"fflate": "^0.7.4",
"rxjs": "^7.5.7"
}
}

View File

@ -17,19 +17,19 @@
"@fortawesome/fontawesome-svg-core": "^6.2.0",
"@fortawesome/free-solid-svg-icons": "^6.2.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"@polkadot/keyring": "^10.1.9",
"@polkadot/keyring": "^10.1.10",
"@polkadot/react-api": "^0.121.2-94-x",
"@polkadot/react-identicon": "^2.9.10",
"@polkadot/react-qr": "^2.9.10",
"@polkadot/react-identicon": "^2.9.11",
"@polkadot/react-qr": "^2.9.11",
"@polkadot/react-query": "^0.121.2-94-x",
"@polkadot/ui-keyring": "^2.9.10",
"@polkadot/ui-settings": "^2.9.10",
"@polkadot/util": "^10.1.9",
"@polkadot/util-crypto": "^10.1.9",
"@polkadot/ui-keyring": "^2.9.11",
"@polkadot/ui-settings": "^2.9.11",
"@polkadot/util": "^10.1.10",
"@polkadot/util-crypto": "^10.1.10",
"chart.js": "^3.9.1",
"codeflask": "^1.4.1",
"i18next": "^21.9.2",
"i18next-browser-languagedetector": "^6.1.5",
"i18next-browser-languagedetector": "^6.1.8",
"owasp-password-strength-test": "^1.3.0",
"react": "^18.2.0",
"react-beautiful-dnd": "^13.1.1",
@ -40,8 +40,8 @@
"react-i18next": "^11.18.6",
"react-is": "^18.2.0",
"react-markdown": "^8.0.3",
"react-router": "^5.3.3",
"react-router-dom": "^5.3.3",
"react-router": "^5.3.4",
"react-router-dom": "^5.3.4",
"react-tooltip": "^4.2.21",
"rehype-raw": "^6.1.1",
"semantic-ui-css": "^2.4.1",

View File

@ -14,7 +14,7 @@
"version": "0.121.2-94-x",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/hw-ledger": "^10.1.9",
"@polkadot/hw-ledger": "^10.1.10",
"is-ipfs": "6.0.2"
}
}

View File

@ -14,7 +14,7 @@
"version": "0.121.2-94-x",
"dependencies": {
"@babel/runtime": "^7.19.0",
"@polkadot/hw-ledger": "^10.1.9",
"@polkadot/hw-ledger": "^10.1.10",
"@polkadot/react-components": "^0.121.2-94-x"
}
}

View File

@ -14,10 +14,10 @@
"version": "0.121.2-94-x",
"dependencies": {
"@testing-library/react": "^13.4.0",
"testcontainers": "^8.14.0"
"testcontainers": "^8.15.0"
},
"devDependencies": {
"@polkadot/types-support": "^9.4.3",
"@polkadot/types-support": "^9.5.1",
"@testing-library/jest-dom": "^5.16.5",
"tsconfig-paths": "^4.1.0"
}

View File

@ -19,7 +19,7 @@ export async function acceptMotion (api: ApiPromise, hash: Hash, index: number):
const ferdieVote = execute(api.tx.council.vote(hash, index, true), ferdieSigner());
await Promise.all([charlieVote, daveVote, eveVote, ferdieVote]);
await execute(api.tx.council.close(hash, index, WEIGHT_BOUND, LENGTH_BOUND), charlieSigner());
await execute(api.tx.council.close(hash, index, { refTime: WEIGHT_BOUND }, LENGTH_BOUND), charlieSigner());
}
export async function fillTreasury (api: ApiPromise, signer: KeyringPair): Promise<void> {
@ -71,7 +71,7 @@ async function multiVoteAye (acceptMotionSigners: KeyringPair[], api: ApiPromise
async function multiCloseMotion (api: ApiPromise, indexes: number[], hashes: Hash[]) {
await execute(
api.tx.utility.batch(
indexes.map((bountyIndex, i) => api.tx.council.close(hashes[i], bountyIndex, WEIGHT_BOUND, LENGTH_BOUND))),
indexes.map((bountyIndex, i) => api.tx.council.close(hashes[i], bountyIndex, { refTime: WEIGHT_BOUND }, LENGTH_BOUND))),
charlieSigner()
);
}

920
yarn.lock

File diff suppressed because it is too large Load Diff