Update to latest metadata for 2.x (#1142)

* Update to latest metadata for 2.x

* ... now with .json saved :)

* Common
This commit is contained in:
Jaco Greeff
2019-07-17 23:59:01 +02:00
committed by GitHub
parent 13adf14de6
commit ff69c4378d
9 changed files with 59 additions and 63 deletions
+3 -3
View File
@@ -27,10 +27,10 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
"dependencies": {
"@babel/runtime": "^7.5.4",
"@polkadot/util": "^0.94.0-beta.12",
"@polkadot/util-crypto": "^0.94.0-beta.12"
"@polkadot/util": "^0.94.0-beta.15",
"@polkadot/util-crypto": "^0.94.0-beta.15"
},
"devDependencies": {
"@polkadot/keyring": "^0.94.0-beta.12"
"@polkadot/keyring": "^0.94.0-beta.15"
}
}
@@ -311,31 +311,6 @@
" Current time for the current block."
]
},
{
"name": "BlockPeriod",
"modifier": "Optional",
"type": {
"PlainType": "Moment"
},
"fallback": "0x00",
"documentation": [
" Old storage item provided for compatibility. Remove after all networks upgraded."
]
},
{
"name": "MinimumPeriod",
"modifier": "Default",
"type": {
"PlainType": "Moment"
},
"fallback": "0x0300000000000000",
"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",
" work with this to determine a sensible block time. e.g. For Aura, it will be double this",
" period on default settings."
]
},
{
"name": "DidUpdate",
"modifier": "Default",
@@ -360,17 +335,30 @@
"documentation": [
" Set the current time.",
"",
" This call should be invoked exactly once per block. It will panic at the finalization phase,",
" if this call hasn't been invoked by that time.",
" This call should be invoked exactly once per block. It will panic at the finalization",
" phase, if this call hasn't been invoked by that time.",
"",
" The timestamp should be greater than the previous one by the amount specified by `minimum_period`.",
" The timestamp should be greater than the previous one by the amount specified by",
" `MinimumPeriod`.",
"",
" The dispatch origin for this call must be `Inherent`."
]
}
],
"events": null,
"constants": []
"constants": [
{
"name": "MinimumPeriod",
"type": "Moment",
"value": "0x0300000000000000",
"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",
" work with this to determine a sensible block time. e.g. For Aura, it will be double this",
" period on default settings."
]
}
]
},
{
"name": "authorship",
@@ -3838,6 +3826,14 @@
" value is 100."
]
},
{
"name": "MaxValueSize",
"type": "u32",
"value": "0x00400000",
"documentation": [
" The maximum size of a storage value in bytes. A reasonable default is 16 KiB."
]
},
{
"name": "BlockGasLimit",
"type": "Gas",
File diff suppressed because one or more lines are too long