Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kulupu #2092

Merged
merged 5 commits into from
Jan 8, 2020
Merged

Kulupu #2092

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 packages/app-accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@babel/runtime": "^7.7.7",
"@polkadot/react-components": "^0.39.0-beta.32",
"@polkadot/react-qr": "^0.48.0-beta.7",
"@polkadot/react-qr": "^0.48.0-beta.8",
"@types/file-saver": "^2.0.0",
"@types/yargs": "^13.0.2",
"detect-browser": "^4.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@babel/runtime": "^7.7.7",
"@polkadot/react-components": "^0.39.0-beta.32",
"@polkadot/react-signer": "^0.39.0-beta.32",
"@polkadot/ui-assets": "^0.48.0-beta.7",
"@polkadot/ui-assets": "^0.48.0-beta.8",
"query-string": "^6.8.3"
}
}
4 changes: 3 additions & 1 deletion packages/react-api/src/overrides/spec/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
// of the Apache-2.0 license. See the LICENSE file for details.

import edgeware from './edgeware';
import kulupu from './kulupu';

export default {
edgeware
edgeware,
kulupu
};
17 changes: 17 additions & 0 deletions packages/react-api/src/overrides/spec/kulupu.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2017-2020 @polkadot/react-api authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

export default {
Difficulty: 'U256',
DifficultyAndTimestamp: {
difficulty: 'Difficulty',
timestamp: 'Moment'
},
DispatchError: 'DispatchErrorTo198',
DispatchResult: 'DispatchResultTo198',
DispatchInfo: {
weight: 'Weight',
class: 'DispatchClass'
}
Comment on lines +11 to +16
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @sorpaas - There can be removed once bumped to latest Substrate master

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small note, the bump will probably take several months due to the infrequent fork schedule. (It currently uses a hard fork module and has not yet transitioned to on-chain voting.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues, I saw that. No issues, the types are there, nothing will break in the meantime, we should just keep it somewhere in the memory banks to update once there are changes.

};
6 changes: 3 additions & 3 deletions packages/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"@babel/runtime": "^7.7.6",
"@polkadot/keyring": "^1.7.1",
"@polkadot/react-api": "^0.39.0-beta.32",
"@polkadot/react-identicon": "^0.48.0-beta.7",
"@polkadot/react-identicon": "^0.48.0-beta.8",
"@polkadot/react-query": "^0.39.0-beta.32",
"@polkadot/ui-keyring": "^0.48.0-beta.7",
"@polkadot/ui-settings": "^0.48.0-beta.7",
"@polkadot/ui-keyring": "^0.48.0-beta.8",
"@polkadot/ui-settings": "^0.48.0-beta.8",
"@types/chart.js": "^2.9.8",
"@types/i18next": "^13.0.0",
"@types/react-copy-to-clipboard": "^4.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-signer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dependencies": {
"@babel/runtime": "^7.7.7",
"@polkadot/react-components": "^0.39.0-beta.32",
"@polkadot/react-qr": "^0.48.0-beta.7"
"@polkadot/react-qr": "^0.48.0-beta.8"
}
}
91 changes: 33 additions & 58 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2252,24 +2252,24 @@
"@polkadot/util" "^1.7.1"
"@polkadot/util-crypto" "^1.7.1"

"@polkadot/react-identicon@^0.48.0-beta.7":
version "0.48.0-beta.7"
resolved "https://registry.npmjs.org/@polkadot/react-identicon/-/react-identicon-0.48.0-beta.7.tgz#8c5e3761c47e351be9ce2054930e77f58da2b1fe"
integrity sha512-Ian0p5wocv7znDUJdd+BGyCe1vJ+nGBtd2wt6TLJJek+YvgzwFSTlCyXs/eZwcjIGg5JWAqftDaOBjQW8+Pz6g==
"@polkadot/react-identicon@^0.48.0-beta.8":
version "0.48.0-beta.8"
resolved "https://registry.npmjs.org/@polkadot/react-identicon/-/react-identicon-0.48.0-beta.8.tgz#e44c5b56ac94c9181ec3cfd3f09cde96fb1171cd"
integrity sha512-qPIls+k9UMoIxG8opCbm0tnaGeGW65urHt7IH98L5KCszEGzrVAuL4lhtKnVtHn7aE9mFXeEzV5i9CLFXuVvIQ==
dependencies:
"@babel/runtime" "^7.7.7"
"@polkadot/ui-settings" "^0.48.0-beta.7"
"@polkadot/ui-shared" "^0.48.0-beta.7"
"@polkadot/ui-settings" "^0.48.0-beta.8"
"@polkadot/ui-shared" "^0.48.0-beta.8"
"@types/react-copy-to-clipboard" "^4.3.0"
color "^3.1.2"
jdenticon "2.2.0"
react-copy-to-clipboard "^5.0.2"
styled-components "^4.4.1"

"@polkadot/react-qr@^0.48.0-beta.7":
version "0.48.0-beta.7"
resolved "https://registry.npmjs.org/@polkadot/react-qr/-/react-qr-0.48.0-beta.7.tgz#74e4677c5472e4ffd5fb56edc33417fef43ab0b0"
integrity sha512-lGbN/e0pA9bLw3FEc9VX/u+Vjx0URkz9fxS5k9d5gBW34F+LhgV3O5eiWyGsQ3W3jZt8V0L3+eEsaSCfcH84Kw==
"@polkadot/react-qr@^0.48.0-beta.8":
version "0.48.0-beta.8"
resolved "https://registry.npmjs.org/@polkadot/react-qr/-/react-qr-0.48.0-beta.8.tgz#4add2757db42fcf93572e7755b1cef74859139e2"
integrity sha512-Hbk+s65OEY5csYejK2vE5lmYgj8NFezU8BkTK9iN89y9hqqV2jTCdDctXQ3ChqliJTyBR3XwOLnylBWQuYlfMQ==
dependencies:
"@babel/runtime" "^7.7.7"
"@types/react-qr-reader" "^2.1.1"
Expand Down Expand Up @@ -2320,17 +2320,17 @@
"@types/memoizee" "^0.4.3"
memoizee "^0.4.14"

"@polkadot/ui-assets@^0.48.0-beta.7":
version "0.48.0-beta.7"
resolved "https://registry.npmjs.org/@polkadot/ui-assets/-/ui-assets-0.48.0-beta.7.tgz#c64e622e62511cdb246991f527ebb63f899a9122"
integrity sha512-UtCqZZKl+A2nU643A/R/DKg0eExGNUOBncR8VxtY6bKfwlQQgVcfR89tBmXEN3lYrNaAadmiZ5cw6/t3mIwWOw==
"@polkadot/ui-assets@^0.48.0-beta.8":
version "0.48.0-beta.8"
resolved "https://registry.npmjs.org/@polkadot/ui-assets/-/ui-assets-0.48.0-beta.8.tgz#89c3f6cbe5a4e30d1491285a41e2db374f0de2fe"
integrity sha512-bfZhymsFl+fhBZgPUzB3o+Dd+L9HEMcs5hA5uDr+/W33VeIVxAY2T4WabvSOAdUzsokYUe0raifdmMxSUmvFHg==
dependencies:
"@babel/runtime" "^7.7.7"

"@polkadot/ui-keyring@^0.48.0-beta.7":
version "0.48.0-beta.7"
resolved "https://registry.npmjs.org/@polkadot/ui-keyring/-/ui-keyring-0.48.0-beta.7.tgz#6b357312fdefa8ffe72f3909cbc2c6f5a40baf39"
integrity sha512-SG1tDq1+ka66PFyTboKegvx0JYbjNooMLE3FdJWKalxOLWU4ErJfCp1GQbYeCFQFn4K0+QNB+ctOJwh7rcWKxQ==
"@polkadot/ui-keyring@^0.48.0-beta.8":
version "0.48.0-beta.8"
resolved "https://registry.npmjs.org/@polkadot/ui-keyring/-/ui-keyring-0.48.0-beta.8.tgz#7fd05bcebcd6fe9cbfcfe0dfd1652308febfa468"
integrity sha512-g571+sVEzGEqdNlTFUByrLDL09bZIVD9mAigXNTfmRxgGpD21tPrjDF24x5QU7zsVEApUJ4XXJU0cxhxwpTx6g==
dependencies:
"@babel/runtime" "^7.7.7"
"@ledgerhq/hw-transport-u2f" "^5.3.0"
Expand All @@ -2346,19 +2346,19 @@
optionalDependencies:
"@ledgerhq/hw-transport-node-hid" "^5.3.0"

"@polkadot/ui-settings@^0.48.0-beta.7":
version "0.48.0-beta.7"
resolved "https://registry.npmjs.org/@polkadot/ui-settings/-/ui-settings-0.48.0-beta.7.tgz#b3863deb9b33fce0eb3e962361e57f26ee2a4966"
integrity sha512-utXiKSSOYUGN45VDfNNuq25JxY4Sm0goalNTNr8yWRLOig8YxbKbMTph7PtdaQNpU9jv7ANzZsVLBbw+VEWz2A==
"@polkadot/ui-settings@^0.48.0-beta.8":
version "0.48.0-beta.8"
resolved "https://registry.npmjs.org/@polkadot/ui-settings/-/ui-settings-0.48.0-beta.8.tgz#6e04dd610d25da7a075bcf00447151def0b8eafd"
integrity sha512-ZzJ9h83PCah5wlcYia2q+dDD/Qp5YdpB2DqwYR7cvq5Fbmsbxf4a9cFtzEykvXJc0mhRRSNzrgOdbiPY3nqWlA==
dependencies:
"@babel/runtime" "^7.7.7"
"@types/store" "^2.0.2"
store "^2.0.12"

"@polkadot/ui-shared@^0.48.0-beta.7":
version "0.48.0-beta.7"
resolved "https://registry.npmjs.org/@polkadot/ui-shared/-/ui-shared-0.48.0-beta.7.tgz#7ae40265998ee59e79d664303b54c66cdf32fdfc"
integrity sha512-8l+ssfpcLYAyrqWVnns9KuD433wL+DNNu/TOd+M58XVmj7/QK84aYrP+NFWKxjlSf/vAZdoviznEY5RlPjHzNw==
"@polkadot/ui-shared@^0.48.0-beta.8":
version "0.48.0-beta.8"
resolved "https://registry.npmjs.org/@polkadot/ui-shared/-/ui-shared-0.48.0-beta.8.tgz#8100c05977256850650c9c6ac5099d8b42610d46"
integrity sha512-tMQnMIp2rCTFVjiBsLR++4tY9BBRT3XuXt8ImubkYSt2UNASyV0CcSfDAgvNDB2eoc9qsqFBD1Ly3Knop7l4vg==
dependencies:
"@babel/runtime" "^7.7.7"
"@types/color" "^3.0.1"
Expand Down Expand Up @@ -5600,7 +5600,7 @@ debug@3.1.0, debug@~3.1.0:
dependencies:
ms "2.0.0"

debug@^3.0.0, debug@^3.1.0, debug@^3.1.1, debug@^3.2.5, debug@^3.2.6:
debug@^3.0.0, debug@^3.1.0, debug@^3.1.1, debug@^3.2.5:
version "3.2.6"
resolved "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==
Expand Down Expand Up @@ -5823,7 +5823,7 @@ detect-indent@^5.0.0:
resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d"
integrity sha1-OHHMCmoALow+Wzz38zYmRnXwa50=

detect-libc@^1.0.2, detect-libc@^1.0.3:
detect-libc@^1.0.3:
version "1.0.3"
resolved "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b"
integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=
Expand Down Expand Up @@ -8360,7 +8360,7 @@ i18next@*, i18next@^19.0.0:
dependencies:
"@babel/runtime" "^7.3.1"

iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@^0.4.5, iconv-lite@~0.4.13:
iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.5, iconv-lite@~0.4.13:
version "0.4.24"
resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==
Expand Down Expand Up @@ -10961,15 +10961,6 @@ nearley@^2.7.10:
randexp "0.4.6"
semver "^5.4.1"

needle@^2.2.1:
version "2.4.0"
resolved "https://registry.npmjs.org/needle/-/needle-2.4.0.tgz#6833e74975c444642590e15a750288c5f939b57c"
integrity sha512-4Hnwzr3mi5L97hMYeNl8wRW/Onhy4nUKR/lVemJ8gJedxxUyBLm9kkrDColJvoSfwi0jCNhD+xCdOtiGDQiRZg==
dependencies:
debug "^3.2.6"
iconv-lite "^0.4.4"
sax "^1.2.4"

negotiator@0.6.2:
version "0.6.2"
resolved "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"
Expand Down Expand Up @@ -11107,22 +11098,6 @@ node-notifier@^5.4.2:
shellwords "^0.1.1"
which "^1.3.0"

node-pre-gyp@*:
version "0.14.0"
resolved "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.14.0.tgz#9a0596533b877289bcad4e143982ca3d904ddc83"
integrity sha512-+CvDC7ZttU/sSt9rFjix/P05iS43qHCOOGzcr3Ry99bXG7VX953+vFyEuph/tfqoYu8dttBkE86JSKBO2OzcxA==
dependencies:
detect-libc "^1.0.2"
mkdirp "^0.5.1"
needle "^2.2.1"
nopt "^4.0.1"
npm-packlist "^1.1.6"
npmlog "^4.0.2"
rc "^1.2.7"
rimraf "^2.6.1"
semver "^5.3.0"
tar "^4.4.2"

node-releases@^1.1.44:
version "1.1.44"
resolved "https://registry.npmjs.org/node-releases/-/node-releases-1.1.44.tgz#cd66438a6eb875e3eb012b6a12e48d9f4326ffd7"
Expand Down Expand Up @@ -11251,7 +11226,7 @@ npm-normalize-package-bin@^1.0.0, npm-normalize-package-bin@^1.0.1:
semver "^5.6.0"
validate-npm-package-name "^3.0.0"

npm-packlist@^1.1.6, npm-packlist@^1.4.4:
npm-packlist@^1.4.4:
version "1.4.7"
resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.7.tgz#9e954365a06b80b18111ea900945af4f88ed4848"
integrity sha512-vAj7dIkp5NhieaGZxBJB8fF4R0078rqsmhJcAfXZ6O7JJhjhPK96n5Ry1oZcfLXgfun0GWTZPOxaEyqv8GBykQ==
Expand Down Expand Up @@ -11282,7 +11257,7 @@ npm-run-path@^4.0.0:
dependencies:
path-key "^3.0.0"

npmlog@^4.0.1, npmlog@^4.0.2, npmlog@^4.1.2:
npmlog@^4.0.1, npmlog@^4.1.2:
version "4.1.2"
resolved "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==
Expand Down Expand Up @@ -14026,7 +14001,7 @@ rimraf@2.6.3, rimraf@~2.6.2:
dependencies:
glob "^7.1.3"

rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3:
rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3:
version "2.7.1"
resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
Expand Down Expand Up @@ -15211,7 +15186,7 @@ tar-stream@^2.0.0:
inherits "^2.0.3"
readable-stream "^3.1.1"

tar@^4.4.10, tar@^4.4.12, tar@^4.4.2, tar@^4.4.8:
tar@^4.4.10, tar@^4.4.12, tar@^4.4.8:
version "4.4.13"
resolved "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525"
integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==
Expand Down