Update with new consumed Weight structures (#2928)

* Update with new consumed Weight structures

* dispatch(Info, Error} optional in result

* Update for maximumBlockWeight
This commit is contained in:
Jaco Greeff
2020-12-08 17:26:13 +01:00
committed by GitHub
parent a74382c539
commit 0cb7b34ff0
11 changed files with 85 additions and 77 deletions
@@ -39,9 +39,9 @@
"name": "BlockWeight",
"modifier": "Default",
"type": {
"Plain": "ExtrinsicsWeight"
"Plain": "ConsumedWeight"
},
"fallback": "0x00000000000000000000000000000000",
"fallback": "0x000000000000000000000000000000000000000000000000",
"documentation": [
" The current weight for the block."
]
@@ -462,14 +462,6 @@
" The maximum number of blocks to allow in mortal eras."
]
},
{
"name": "MaximumBlockWeight",
"type": "Weight",
"value": "0x00204aa9d1010000",
"documentation": [
" The maximum weight of a block."
]
},
{
"name": "DbWeight",
"type": "RuntimeDbWeight",
@@ -479,27 +471,11 @@
]
},
{
"name": "BlockExecutionWeight",
"type": "Weight",
"value": "0x00f2052a01000000",
"name": "BlockWeights",
"type": "BlockWeights",
"value": "0x00f2052a0100000000204aa9d1010000405973070000000001c06e96a62e010000010098f73e5d010000010000000000000000405973070000000001c0f6e810a30100000100204aa9d1010000010088526a740000004059730700000000000000",
"documentation": [
" The base weight of executing a block, independent of the transactions in the block."
]
},
{
"name": "ExtrinsicBaseWeight",
"type": "Weight",
"value": "0x4059730700000000",
"documentation": [
" The base weight of an Extrinsic in the block, independent of the of extrinsic being executed."
]
},
{
"name": "MaximumBlockLength",
"type": "u32",
"value": "0x00005000",
"documentation": [
" The maximum length of a block (in bytes)."
" The weight configuration (limits & base values) for each class of extrinsics and block."
]
}
],
File diff suppressed because one or more lines are too long