parent
7640f3c905
commit
3b5272bfaa
43
package.json
43
package.json
@ -61,8 +61,7 @@
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@crustio/crust-pin": "^1.0.0",
|
||||
"@pinata/sdk": "^1.1.23",
|
||||
"@polkadot/dev": "^0.65.50",
|
||||
"@types/bn.js": "^4.11.6",
|
||||
"@polkadot/dev": "^0.65.51",
|
||||
"@types/chart.js": "^2.9.35",
|
||||
"@types/file-saver": "^2.0.5",
|
||||
"@types/jest": "^27.4.0",
|
||||
@ -89,26 +88,26 @@
|
||||
"webpack-cli": "^4.9.2"
|
||||
},
|
||||
"resolutions": {
|
||||
"@polkadot/api": "^7.7.1",
|
||||
"@polkadot/api-augment": "^7.7.1",
|
||||
"@polkadot/api-base": "^7.7.1",
|
||||
"@polkadot/api-contract": "^7.7.1",
|
||||
"@polkadot/api-derive": "^7.7.1",
|
||||
"@polkadot/hw-ledger": "^8.3.3",
|
||||
"@polkadot/keyring": "^8.3.3",
|
||||
"@polkadot/networks": "^8.3.3",
|
||||
"@polkadot/phishing": "^0.8.126",
|
||||
"@polkadot/rpc-augment": "^7.7.1",
|
||||
"@polkadot/rpc-core": "^7.7.1",
|
||||
"@polkadot/rpc-provider": "^7.7.1",
|
||||
"@polkadot/types": "^7.7.1",
|
||||
"@polkadot/types-augment": "^7.7.1",
|
||||
"@polkadot/types-codec": "^7.7.1",
|
||||
"@polkadot/types-create": "^7.7.1",
|
||||
"@polkadot/types-known": "^7.7.1",
|
||||
"@polkadot/types-support": "^7.7.1",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"@polkadot/util-crypto": "^8.3.3",
|
||||
"@polkadot/api": "^7.7.2-6",
|
||||
"@polkadot/api-augment": "^7.7.2-6",
|
||||
"@polkadot/api-base": "^7.7.2-6",
|
||||
"@polkadot/api-contract": "^7.7.2-6",
|
||||
"@polkadot/api-derive": "^7.7.2-6",
|
||||
"@polkadot/hw-ledger": "^8.3.4-8",
|
||||
"@polkadot/keyring": "^8.3.4-8",
|
||||
"@polkadot/networks": "^8.3.4-8",
|
||||
"@polkadot/phishing": "^0.8.136",
|
||||
"@polkadot/rpc-augment": "^7.7.2-6",
|
||||
"@polkadot/rpc-core": "^7.7.2-6",
|
||||
"@polkadot/rpc-provider": "^7.7.2-6",
|
||||
"@polkadot/types": "^7.7.2-6",
|
||||
"@polkadot/types-augment": "^7.7.2-6",
|
||||
"@polkadot/types-codec": "^7.7.2-6",
|
||||
"@polkadot/types-create": "^7.7.2-6",
|
||||
"@polkadot/types-known": "^7.7.2-6",
|
||||
"@polkadot/types-support": "^7.7.2-6",
|
||||
"@polkadot/util": "^8.3.4-8",
|
||||
"@polkadot/util-crypto": "^8.3.4-8",
|
||||
"@polkadot/wasm-crypto": "^4.5.1",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"styled-components": "^5.3.1",
|
||||
|
||||
@ -28,12 +28,12 @@
|
||||
"@metaverse-network-sdk/type-definitions": "^0.0.1-6",
|
||||
"@parallel-finance/type-definitions": "1.4.4",
|
||||
"@phala/typedefs": "0.2.30",
|
||||
"@polkadot/api": "^7.7.1",
|
||||
"@polkadot/api-derive": "^7.7.1",
|
||||
"@polkadot/networks": "^8.3.3",
|
||||
"@polkadot/types": "^7.7.1",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"@polkadot/x-fetch": "^8.3.3",
|
||||
"@polkadot/api": "^7.7.2-6",
|
||||
"@polkadot/api-derive": "^7.7.2-6",
|
||||
"@polkadot/networks": "^8.3.4-8",
|
||||
"@polkadot/types": "^7.7.2-6",
|
||||
"@polkadot/util": "^8.3.4-8",
|
||||
"@polkadot/x-fetch": "^8.3.4-8",
|
||||
"@polymathnetwork/polymesh-types": "0.0.2",
|
||||
"@snowfork/snowbridge-types": "0.2.7",
|
||||
"@sora-substrate/type-definitions": "1.7.28",
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.17.0",
|
||||
"@babel/polyfill": "^7.12.1",
|
||||
"@polkadot/dev": "^0.65.50",
|
||||
"@polkadot/dev": "^0.65.51",
|
||||
"@polkadot/react-components": "^0.105.2-6",
|
||||
"electron-log": "^4.4.6",
|
||||
"electron-updater": "^4.6.5"
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/apps-config": "^0.105.2-6",
|
||||
"@polkadot/apps-routing": "^0.105.2-6",
|
||||
"@polkadot/dev": "^0.65.50",
|
||||
"@polkadot/dev": "^0.65.51",
|
||||
"@polkadot/react-api": "^0.105.2-6",
|
||||
"@polkadot/react-components": "^0.105.2-6",
|
||||
"@polkadot/react-hooks": "^0.105.2-6",
|
||||
|
||||
@ -14,11 +14,11 @@
|
||||
"version": "0.105.2-6",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/hw-ledger": "^8.3.3",
|
||||
"@polkadot/phishing": "^0.8.128",
|
||||
"@polkadot/hw-ledger": "^8.3.4-8",
|
||||
"@polkadot/phishing": "^0.8.136",
|
||||
"@polkadot/react-components": "^0.105.2-6",
|
||||
"@polkadot/react-hooks": "^0.105.2-6",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"@polkadot/util": "^8.3.4-8",
|
||||
"@polkadot/vanitygen": "^0.49.2",
|
||||
"detect-browser": "^5.3.0",
|
||||
"file-saver": "^2.0.5"
|
||||
|
||||
@ -14,6 +14,6 @@
|
||||
"version": "0.105.2-6",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/api-contract": "^7.7.1"
|
||||
"@polkadot/api-contract": "^7.7.2-6"
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
"version": "0.105.2-6",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/api": "^7.7.1",
|
||||
"@polkadot/api": "^7.7.2-6",
|
||||
"@polkadot/extension-compat-metamask": "^0.42.8-3",
|
||||
"@polkadot/extension-dapp": "^0.42.8-3",
|
||||
"@substrate/connect": "0.4.6",
|
||||
|
||||
@ -17,15 +17,15 @@
|
||||
"@fortawesome/fontawesome-svg-core": "^1.2.36",
|
||||
"@fortawesome/free-solid-svg-icons": "^5.15.4",
|
||||
"@fortawesome/react-fontawesome": "^0.1.17",
|
||||
"@polkadot/keyring": "^8.3.3",
|
||||
"@polkadot/keyring": "^8.3.4-8",
|
||||
"@polkadot/react-api": "^0.105.2-6",
|
||||
"@polkadot/react-identicon": "^1.0.2-1",
|
||||
"@polkadot/react-qr": "^1.0.2-1",
|
||||
"@polkadot/react-query": "^0.105.2-6",
|
||||
"@polkadot/ui-keyring": "^1.0.2-1",
|
||||
"@polkadot/ui-settings": "^1.0.2-1",
|
||||
"@polkadot/util": "^8.3.3",
|
||||
"@polkadot/util-crypto": "^8.3.3",
|
||||
"@polkadot/util": "^8.3.4-8",
|
||||
"@polkadot/util-crypto": "^8.3.4-8",
|
||||
"chart.js": "^2.9.4",
|
||||
"codeflask": "^1.4.1",
|
||||
"i18next": "^21.6.10",
|
||||
|
||||
@ -14,6 +14,6 @@
|
||||
"version": "0.105.2-6",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/hw-ledger": "^8.3.3"
|
||||
"@polkadot/hw-ledger": "^8.3.4-8"
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
"version": "0.105.2-6",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.0",
|
||||
"@polkadot/hw-ledger": "^8.3.3",
|
||||
"@polkadot/hw-ledger": "^8.3.4-8",
|
||||
"@polkadot/react-components": "^0.105.2-6"
|
||||
}
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
"testcontainers": "^8.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types-support": "^7.7.1",
|
||||
"@polkadot/types-support": "^7.7.2-6",
|
||||
"@testing-library/jest-dom": "^5.16.2",
|
||||
"tsconfig-paths": "^3.12.0"
|
||||
}
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
// Copyright 2017-2022 @polkadot/test-support authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { BN } from '@polkadot/util';
|
||||
import { BN_ONE, BN_ZERO } from '@polkadot/util';
|
||||
|
||||
import { balanceOf } from '../balance';
|
||||
|
||||
export const defaultTreasury = {
|
||||
burn: new BN(1),
|
||||
spendPeriod: new BN(0),
|
||||
burn: BN_ONE,
|
||||
spendPeriod: BN_ZERO,
|
||||
value: balanceOf(1)
|
||||
};
|
||||
|
||||
@ -1,10 +1,11 @@
|
||||
// Copyright 2017-2022 @polkadot/test-support authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { defaultTreasury } from '@polkadot/test-support/creation/treasury/defaults';
|
||||
import { defaultMembers } from '@polkadot/test-support/keyring/addresses';
|
||||
import { extractTime } from '@polkadot/util';
|
||||
|
||||
import { defaultTreasury } from '../creation/treasury/defaults';
|
||||
import { defaultMembers } from '../keyring/addresses';
|
||||
|
||||
export const mockHooks = {
|
||||
blockTime: [50, '', extractTime(1)],
|
||||
members: defaultMembers,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user