Bump metadata (#1354)

* Bump metadata

* Update for metadata constants
This commit is contained in:
Jaco Greeff
2019-09-02 07:39:12 +02:00
committed by GitHub
parent 08f6b14701
commit 096aa83dd7
12 changed files with 47 additions and 45 deletions
+3 -3
View File
@@ -27,12 +27,12 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
"dependencies": {
"@babel/runtime": "^7.5.5",
"@polkadot/util": "^1.2.0-beta.3",
"@polkadot/util-crypto": "^1.2.0-beta.3",
"@polkadot/util": "^1.2.0-beta.6",
"@polkadot/util-crypto": "^1.2.0-beta.6",
"@types/memoizee": "^0.4.2",
"memoizee": "^0.4.14"
},
"devDependencies": {
"@polkadot/keyring": "^1.2.0-beta.3"
"@polkadot/keyring": "^1.2.0-beta.6"
}
}
@@ -471,7 +471,7 @@
{
"name": "EpochDuration",
"type": "u64",
"value": "0x6400000000000000",
"value": "0xc800000000000000",
"documentation": [
" The number of **slots** that an epoch takes. We couple sessions to",
" epochs, i.e. we start a new session once the new epoch begins."
@@ -480,7 +480,7 @@
{
"name": "ExpectedBlockTime",
"type": "Moment",
"value": "0x7017000000000000",
"value": "0xb80b000000000000",
"documentation": [
" The expected average block time at which BABE should be creating",
" blocks. Since BABE is probabilistic it is not trivial to figure out",
@@ -547,7 +547,7 @@
{
"name": "MinimumPeriod",
"type": "Moment",
"value": "0xb80b000000000000",
"value": "0xdc05000000000000",
"documentation": [
" The minimum period between blocks. Beware that this is different to the *expected* period",
" that the block production apparatus provides. Your chosen consensus system will generally",
@@ -2262,7 +2262,7 @@
{
"name": "EnactmentPeriod",
"type": "BlockNumber",
"value": "0x80970600",
"value": "0x002f0d00",
"documentation": [
" The minimum period of locking and the period between a proposal being approved and enacted.",
"",
@@ -2274,7 +2274,7 @@
{
"name": "LaunchPeriod",
"type": "BlockNumber",
"value": "0x00270600",
"value": "0x004e0c00",
"documentation": [
" How often (in blocks) new public referenda are launched."
]
@@ -2282,7 +2282,7 @@
{
"name": "VotingPeriod",
"type": "BlockNumber",
"value": "0x00270600",
"value": "0x004e0c00",
"documentation": [
" How often (in blocks) to check for new votes."
]
@@ -2298,7 +2298,7 @@
{
"name": "EmergencyVotingPeriod",
"type": "BlockNumber",
"value": "0xc0a80000",
"value": "0x80510100",
"documentation": [
" Minimum voting period allowed for an emergency referendum."
]
@@ -2306,7 +2306,7 @@
{
"name": "CooloffPeriod",
"type": "BlockNumber",
"value": "0x00270600",
"value": "0x004e0c00",
"documentation": [
" Period in blocks where an external proposal may not be re-submitted after being vetoed."
]
@@ -3289,7 +3289,7 @@
{
"name": "VotingPeriod",
"type": "BlockNumber",
"value": "0x80700000",
"value": "0x00e10000",
"documentation": [
" How often (in blocks) to check for new votes. A reasonable default value",
" is 1000."
@@ -3794,7 +3794,7 @@
{
"name": "SpendPeriod",
"type": "BlockNumber",
"value": "0x40380000",
"value": "0x80700000",
"documentation": [
" Period between successive spends."
]
@@ -4372,7 +4372,7 @@
},
{
"name": "signature",
"type": "AuthoritySignature"
"type": "Signature"
}
],
"documentation": []
File diff suppressed because one or more lines are too long
+2
View File
@@ -52,6 +52,8 @@ export default class Type extends Text {
Type._alias('session::SessionIndex', 'SessionIndex'),
// HACK duplication between contracts & primitives, however contracts prefixed with exec
Type._alias('exec::StorageKey', 'ContractStorageKey'),
// Phantom
Type._alias('rstd::marker::PhantomData', 'PhantomData'),
// flattens tuples with one value, `(AccountId)` -> `AccountId`
Type._flattenSingleTuple(),
// converts ::Type to Type, <T as Trait<I>>::Proposal -> ::Proposal