* CC3

* Bumps

* Bump API

* CC3 metadata

* Remove multi export (Mac keyboard... what can I say...)

* Add ValidatorPrefs override to edgeware

* Bump deps
This commit is contained in:
Jaco Greeff
2019-12-05 11:43:07 +01:00
committed by GitHub
parent ae433d4ab5
commit ed57fa6a6c
10 changed files with 377 additions and 434 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ class MessagingFake {
get onDisconnect (): any {
return {
addListener: (): any => {}
addListener: (): any => undefined
};
}
+8 -8
View File
@@ -12,13 +12,13 @@
"yarn": "^1.10.1"
},
"resolutions": {
"@polkadot/api": "^0.97.0-beta.33",
"@polkadot/keyring": "^1.7.0-beta.8",
"@polkadot/types": "^0.97.0-beta.33",
"@polkadot/util": "^1.7.0-beta.8",
"@polkadot/util-crypto": "^1.7.0-beta.8",
"@polkadot/api": "^0.99.0-beta.1",
"@polkadot/keyring": "^1.7.1",
"@polkadot/types": "^0.99.0-beta.1",
"@polkadot/util": "^1.7.1",
"@polkadot/util-crypto": "^1.7.1",
"babel-core": "^7.0.0-bridge.0",
"typescript": "^3.7.2"
"typescript": "^3.7.3"
},
"scripts": {
"build": "NODE_ENV=production polkadot-dev-build-ts",
@@ -32,7 +32,7 @@
},
"devDependencies": {
"@babel/core": "^7.7.4",
"@polkadot/dev-react": "^0.32.0-beta.15",
"@polkadot/ts": "^0.1.86"
"@polkadot/dev-react": "^0.32.0-beta.16",
"@polkadot/ts": "^0.1.87"
}
}
+2 -1
View File
@@ -18,7 +18,8 @@ export default {
tokenDecimals: 18,
tokenSymbol: 'EDG',
types: {
Keys: 'SessionKeysSubstrate',
Keys: 'SessionKeys3',
ValidatorPrefs: 'ValidatorPrefsTo196',
...IdentityTypes,
...SignalingTypes,
...TreasuryRewardTypes,
+2 -2
View File
@@ -10,10 +10,10 @@ import { Metadata, TypeRegistry } from '@polkadot/types';
// inside the api, run `yarn chain:info --ws <url>`
import alexander from './alexander';
import edgeware from './edgeware';
import kusamaCC2 from './kusama-cc2';
import kusamaCC3 from './kusama-cc3';
const chains: Map<string, Chain> = new Map(
[alexander, edgeware, kusamaCC2].map(({ chain, genesisHash, icon, metaCalls, specVersion, ss58Format, tokenDecimals, tokenSymbol, types }): [string, Chain] => {
[alexander, edgeware, kusamaCC3].map(({ chain, genesisHash, icon, metaCalls, specVersion, ss58Format, tokenDecimals, tokenSymbol, types }): [string, Chain] => {
let metadata: Metadata | undefined;
const registry = new TypeRegistry();
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -6,8 +6,8 @@
"license": "Apache-2",
"dependencies": {
"@babel/runtime": "^7.7.4",
"@polkadot/react-identicon": "^0.47.0-beta.11",
"@polkadot/react-qr": "^0.47.0-beta.11",
"@polkadot/react-identicon": "^0.48.0-beta.0",
"@polkadot/react-qr": "^0.48.0-beta.0",
"@types/react-router": "^5.1.3",
"@types/react-router-dom": "^5.1.3",
"react-router": "^5.1.2",
@@ -7,7 +7,7 @@ import { AccountJson, AuthorizeRequest, SigningRequest } from '@polkadot/extensi
import React from 'react';
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const noop = (to?: string): void => {};
const noop = (to?: string): void => undefined;
const AccountContext = React.createContext<AccountJson[]>([]);
const ActionContext = React.createContext<(to?: string) => void>(noop);
+3 -3
View File
@@ -5,13 +5,13 @@
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2",
"dependencies": {
"@polkadot/api": "^0.97.0-beta.33",
"@polkadot/api": "^0.99.0-beta.1",
"@polkadot/extension-ui": "^0.14.0-beta.6",
"@polkadot/ui-keyring": "^0.47.0-beta.11"
"@polkadot/ui-keyring": "^0.48.0-beta.0"
},
"devDependencies": {
"@babel/runtime": "^7.7.4",
"@polkadot/keyring": "^1.7.0-beta.8",
"@polkadot/keyring": "^1.7.1",
"@types/chrome": "^0.0.91",
"@types/firefox-webext-browser": "^70.0.1",
"extensionizer": "^1.0.1",
+339 -397
View File
File diff suppressed because it is too large Load Diff