Bump API (w/ bridges types) (#5335)

* Bump API (w/ bridges types)

* Disable all parachains on Rococo

* Consistency in flag

* Statemint paraid
This commit is contained in:
Jaco 2021-05-20 16:44:46 +03:00 committed by GitHub
parent 9404cd11af
commit a3cba3014d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 466 additions and 429 deletions

View File

@ -12,17 +12,17 @@
"packages/*"
],
"resolutions": {
"@polkadot/api": "^4.10.2-2",
"@polkadot/api-contract": "^4.10.2-2",
"@polkadot/hw-ledger": "^6.4.1",
"@polkadot/keyring": "^6.4.1",
"@polkadot/networks": "^6.4.1",
"@polkadot/phishing": "^0.6.144",
"@polkadot/types": "^4.10.2-2",
"@polkadot/util": "^6.4.1",
"@polkadot/util-crypto": "^6.4.1",
"@polkadot/api": "^4.10.2-4",
"@polkadot/api-contract": "^4.10.2-4",
"@polkadot/hw-ledger": "^6.4.2-0",
"@polkadot/keyring": "^6.4.2-0",
"@polkadot/networks": "^6.4.2-0",
"@polkadot/phishing": "^0.6.153",
"@polkadot/types": "^4.10.2-4",
"@polkadot/util": "^6.4.2-0",
"@polkadot/util-crypto": "^6.4.2-0",
"@polkadot/wasm-crypto": "^4.0.2",
"@polkadot/x-rxjs": "^6.4.1",
"@polkadot/x-rxjs": "^6.4.2-0",
"babel-core": "^7.0.0-bridge.0",
"styled-components": "^5.2.0",
"typescript": "^4.2.4"
@ -69,7 +69,7 @@
"@babel/runtime": "^7.14.0",
"@crustio/crust-pin": "^0.0.1",
"@pinata/sdk": "^1.1.20",
"@polkadot/dev": "^0.62.14",
"@polkadot/dev": "^0.62.15",
"@polkadot/ts": "^0.3.66",
"@types/bn.js": "^4.11.6",
"@types/chart.js": "^2.9.32",

View File

@ -17,7 +17,7 @@
"@kiltprotocol/type-definitions": "^0.1.3",
"@laminar/type-definitions": "^0.3.1",
"@phala/typedefs": "^0.1.1",
"@polkadot/networks": "^6.4.1",
"@polkadot/networks": "^6.4.2-0",
"@polymathnetwork/polymesh-types": "^0.0.2",
"@snowfork/snowbridge-types": "^0.2.3",
"@sora-substrate/type-definitions": "^1.3.4",

View File

@ -55,7 +55,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoStatemint',
paraId: 1,
paraId: 1000,
text: t('rpc.rococo.statemint', 'Statemint', { ns: 'apps-config' }),
providers: {
Parity: 'wss://statemint-rococo-rpc.parity.io'
@ -64,6 +64,7 @@ export function createRococo (t: TFunction): EndpointOption {
// add any additional parachains here, alphabetical
{
info: 'rococoApron',
isDisabled: true, // Rococo reset
paraId: 2048,
text: t('rpc.rococo.apron', 'Apron PC1', { ns: 'apps-config' }),
providers: {
@ -72,6 +73,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoAres',
isDisabled: true, // Rococo reset
paraId: 1006,
text: t('rpc.rococo.ares', 'Ares PC1', { ns: 'apps-config' }),
providers: {
@ -80,6 +82,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoBifrost',
isDisabled: true, // Rococo reset
paraId: 1024,
text: t('rpc.rococo.bifrost', 'Bifrost PC1', { ns: 'apps-config' }),
providers: {
@ -88,6 +91,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoBitCountry',
isDisabled: true, // Rococo reset
paraId: 1008,
text: t('rpc.rococo.bitcountry', 'Bit.Country PC1', { ns: 'apps-config' }),
providers: {
@ -96,6 +100,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoCentrifuge',
isDisabled: true, // Rococo reset
paraId: 10001,
text: t('rpc.rococo.centrifuge', 'Centrifuge Charcoal', { ns: 'apps-config' }),
providers: {
@ -104,9 +109,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoClover',
// Needs paraId >= 1000, below that is reserved for system parachains
// Update paraId to new selection, remove this flag to enable
isDisabled: true,
isDisabled: true, // Rococo reset
paraId: 229,
text: t('rpc.rococo.clover', 'Clover PC1', { ns: 'apps-config' }),
providers: {
@ -115,9 +118,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoCrab',
// Needs paraId >= 1000, below that is reserved for system parachains
// Update paraId to new selection, remove this flag to enable
isDisabled: true,
isDisabled: true, // Rococo reset
paraId: 9,
text: t('rpc.rococo.crab', 'Darwinia Crab PC2', { ns: 'apps-config' }),
providers: {
@ -126,6 +127,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoCrust',
isDisabled: true, // Rococo reset
paraId: 2001,
text: t('rpc.rococo.crust', 'Crust PC1', { ns: 'apps-config' }),
providers: {
@ -134,6 +136,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoChainX',
isDisabled: true, // Rococo reset
paraId: 1059,
text: t('rpc.rococo.chainx', 'ChainX PC1', { ns: 'apps-config' }),
providers: {
@ -142,9 +145,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoDarwinia',
// Needs paraId >= 1000, below that is reserved for system parachains
// Update paraId to new selection, remove this flag to enable
isDisabled: true,
isDisabled: true, // Rococo reset
paraId: 18,
text: t('rpc.rococo.darwinia', 'Darwinia PC2', { ns: 'apps-config' }),
providers: {
@ -153,9 +154,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoDataHighway',
// Needs paraId >= 1000, below that is reserved for system parachains
// Update paraId to new selection, remove this flag to enable
isDisabled: true,
isDisabled: true, // Rococo reset
paraId: 2,
text: t('rpc.rococo.datahighway', 'DataHighway', { ns: 'apps-config' }),
providers: {
@ -164,6 +163,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoEave',
isDisabled: true, // Rococo reset
paraId: 2003,
text: t('rpc.rococo.eave', 'Steam PC', { ns: 'apps-config' }),
providers: {
@ -172,6 +172,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoEncointer',
isDisabled: true, // Rococo reset
paraId: 1862,
text: t('rpc.rococo.encointer', 'Encointer PC1', { ns: 'apps-config' }),
providers: {
@ -180,9 +181,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoEquilibrium',
// Needs paraId >= 1000, below that is reserved for system parachains
// Update paraId to new selection, remove this flag to enable
isDisabled: true,
isDisabled: true, // Rococo reset
paraId: 42,
text: t('rpc.rococo.equilibrium', 'Equilibrium', { ns: 'apps-config' }),
providers: {
@ -191,6 +190,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoGalital',
isDisabled: true, // Rococo reset
paraId: 1230,
text: t('rpc.rococo.galital', 'Galital PC1', { ns: 'apps-config' }),
providers: {
@ -199,6 +199,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoHydrate',
isDisabled: true, // Rococo reset
paraId: 82406,
text: t('rpc.rococo.hydrate', 'Hydrate', { ns: 'apps-config' }),
providers: {
@ -207,6 +208,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoIdavoll',
isDisabled: true, // Rococo reset
paraId: 7766,
text: t('rpc.rococo.idavoll', 'Idavoll', { ns: 'apps-config' }),
providers: {
@ -215,6 +217,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoIntegritee',
isDisabled: true, // Rococo reset
paraId: 1983,
text: t('rpc.rococo.integritee', 'IntegriTEE PC1', { ns: 'apps-config' }),
providers: {
@ -223,6 +226,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoKilt',
isDisabled: true, // Rococo reset
paraId: 12623,
text: t('rpc.rococo.kilt', 'KILT PC1', { ns: 'apps-config' }),
providers: {
@ -231,6 +235,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoKonomi',
isDisabled: true, // Rococo reset
paraId: 18403,
text: t('rpc.rococo.konomi', 'Komomi Network', { ns: 'apps-config' }),
providers: {
@ -239,6 +244,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoLitentry',
isDisabled: true, // Rococo reset
paraId: 1984,
text: t('rpc.rocco.litentry', 'Litentry Rostock', { ns: 'apps-config' }),
providers: {
@ -247,6 +253,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoAcala',
isDisabled: true, // Rococo reset
paraId: 1000,
text: t('rpc.rococo.acala', 'Mandala PC2', { ns: 'apps-config' }),
providers: {
@ -255,9 +262,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoMathChain',
// Needs paraId >= 1000, below that is reserved for system parachains
// Update paraId to new selection, remove this flag to enable
isDisabled: true,
isDisabled: true, // Rococo reset
paraId: 40,
text: t('rpc.rococo.mathchain', 'MathChain PC1', { ns: 'apps-config' }),
providers: {
@ -266,6 +271,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoManta',
isDisabled: true, // Rococo reset
paraId: 2021,
text: t('rpc.rococo.manta', 'Manta PC1', { ns: 'apps-config' }),
providers: {
@ -274,6 +280,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoMoonrock',
isDisabled: true, // Rococo reset
paraId: 1286,
text: t('rpc.rococo.moonrock', 'Moonrock', { ns: 'apps-config' }),
providers: {
@ -282,6 +289,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoParami',
isDisabled: true, // Rococo reset
paraId: 18888,
text: t('rpc.rococo.parami', 'Parami PC2', { ns: 'apps-config' }),
providers: {
@ -290,6 +298,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoJupiter',
isDisabled: true, // Rococo reset
paraId: 1010,
text: t('rpc.rococo.jupiter', 'Patract Jupiter PC1', { ns: 'apps-config' }),
providers: {
@ -298,6 +307,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoPhala',
isDisabled: true, // Rococo reset
paraId: 1030,
text: t('rpc.rococo.phala', 'Phala PC1', { ns: 'apps-config' }),
providers: {
@ -306,6 +316,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoPhoenix',
isDisabled: true, // Rococo reset
paraId: 6806,
text: t('rpc.rococo.phoenix', 'PHOENIX PC1', { ns: 'apps-config' }),
providers: {
@ -314,6 +325,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoPlasm',
isDisabled: true, // Rococo reset
paraId: 5000,
text: t('rpc.rococo.plasm', 'Plasm PC2', { ns: 'apps-config' }),
providers: {
@ -322,9 +334,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoPolkabtc',
// Needs paraId >= 1000, below that is reserved for system parachains
// Update paraId to new selection, remove this flag to enable
isDisabled: true,
isDisabled: true, // Rococo reset
paraId: 21,
text: t('rpc.rococo.polkabtc', 'PolkaBTC PC1', { ns: 'apps-config' }),
providers: {
@ -333,6 +343,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoPolkaFoundry',
isDisabled: true, // Rococo reset
paraId: 1111,
text: t('rpc.rococo.polkafoundry', 'PolkaFoundry PC1', { ns: 'apps-config' }),
providers: {
@ -341,6 +352,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoPrism',
isDisabled: true, // Rococo reset
paraId: 2002,
text: t('rpc.rococo.prism', 'Prism PC1', { ns: 'apps-config' }),
providers: {
@ -349,6 +361,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoRobonomics',
isDisabled: true, // Rococo reset
paraId: 3000,
text: t('rpc.rococo.robonomics', 'Robonomics PC2', { ns: 'apps-config' }),
providers: {
@ -357,9 +370,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoSubDAO',
// Needs paraId >= 1000, below that is reserved for system parachains
// Update paraId to new selection, remove this flag to enable
isDisabled: true,
isDisabled: true, // Rococo reset
paraId: 888,
text: t('rpc.rococo.subdao', 'SubDAO PC1', { ns: 'apps-config' }),
providers: {
@ -368,9 +379,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoSubsocial',
// Needs paraId >= 1000, below that is reserved for system parachains
// Update paraId to new selection, remove this flag to enable
isDisabled: true,
isDisabled: true, // Rococo reset
paraId: 28,
text: t('rpc.rococo.subsocial', 'Subsocial PC1', { ns: 'apps-config' }),
providers: {
@ -379,6 +388,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoTrustBase',
isDisabled: true, // Rococo reset
paraId: 6633,
text: t('rpc.rococo.trustbase', 'TrustBase PC1', { ns: 'apps-config' }),
providers: {
@ -387,9 +397,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoUnitv',
// Needs paraId >= 1000, below that is reserved for system parachains
// Update paraId to new selection, remove this flag to enable
isDisabled: true,
isDisabled: true, // Rococo reset
paraId: 3,
text: t('rpc.rococo.unitv', 'Unit Network', { ns: 'apps-config' }),
providers: {
@ -398,6 +406,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoVln',
isDisabled: true, // Rococo reset
paraId: 3586,
text: t('rpc.rococo.vln', 'Valiu Liquidity Network PC', { ns: 'apps-config' }),
providers: {
@ -406,6 +415,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoZeitgeist',
isDisabled: true, // Rococo reset
paraId: 9123,
text: t('rpc.rococo.zeitgeist', 'Zeitgeist PC', { ns: 'apps-config' }),
providers: {
@ -414,6 +424,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoZenlink',
isDisabled: true, // Rococo reset
paraId: 1188,
text: t('rpc.rococo.zenlink', 'Zenlink PC1', { ns: 'apps-config' }),
providers: {

View File

@ -6,7 +6,7 @@
"dependencies": {
"@babel/core": "^7.14.2",
"@babel/polyfill": "^7.12.1",
"@polkadot/dev": "^0.62.14",
"@polkadot/dev": "^0.62.15",
"@polkadot/react-components": "^0.91.3-13",
"electron-log": "^4.3.5",
"electron-updater": "^4.3.9"

View File

@ -10,7 +10,7 @@
"@babel/runtime": "^7.14.0",
"@polkadot/apps-config": "^0.91.3-13",
"@polkadot/apps-routing": "^0.91.3-13",
"@polkadot/dev": "^0.62.14",
"@polkadot/dev": "^0.62.15",
"@polkadot/react-api": "^0.91.3-13",
"@polkadot/react-components": "^0.91.3-13",
"@polkadot/react-hooks": "^0.91.3-13",

View File

@ -5,7 +5,7 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.0",
"@polkadot/phishing": "^0.6.144",
"@polkadot/phishing": "^0.6.153",
"@polkadot/react-components": "^0.91.3-13",
"@polkadot/vanitygen": "^0.34.1",
"detect-browser": "^5.2.0",

View File

@ -5,6 +5,6 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.0",
"@polkadot/api-contract": "^4.10.2-2"
"@polkadot/api-contract": "^4.10.2-4"
}
}

View File

@ -5,9 +5,9 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.0",
"@polkadot/api": "^4.10.2-2",
"@polkadot/api": "^4.10.2-4",
"@polkadot/extension-dapp": "^0.37.3-19",
"@polkadot/x-rxjs": "^6.4.1",
"@polkadot/x-rxjs": "^6.4.2-0",
"fflate": "^0.6.10"
}
}

View File

@ -8,15 +8,15 @@
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.14",
"@polkadot/keyring": "^6.4.1",
"@polkadot/keyring": "^6.4.2-0",
"@polkadot/react-api": "^0.91.3-13",
"@polkadot/react-identicon": "^0.76.1",
"@polkadot/react-qr": "^0.76.1",
"@polkadot/react-query": "^0.91.3-13",
"@polkadot/ui-keyring": "^0.76.1",
"@polkadot/ui-settings": "^0.76.1",
"@polkadot/util": "^6.4.1",
"@polkadot/util-crypto": "^6.4.1",
"@polkadot/util": "^6.4.2-0",
"@polkadot/util-crypto": "^6.4.2-0",
"chart.js": "^2.9.4",
"codeflask": "^1.4.1",
"i18next": "^19.9.2",

780
yarn.lock

File diff suppressed because it is too large Load Diff