Remove unneeded TryRuntime state call defs (#5176)

This commit is contained in:
Jaco
2022-08-21 08:46:02 +03:00
committed by GitHub
parent 17c6ef7527
commit aacebcabb5
19 changed files with 138 additions and 159 deletions
+4 -4
View File
@@ -24,16 +24,16 @@
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9",
"@polkadot/keyring": "^10.1.4",
"@polkadot/keyring": "^10.1.5",
"@polkadot/types-augment": "9.2.3-4-x",
"@polkadot/types-codec": "9.2.3-4-x",
"@polkadot/types-create": "9.2.3-4-x",
"@polkadot/util": "^10.1.4",
"@polkadot/util-crypto": "^10.1.4",
"@polkadot/util": "^10.1.5",
"@polkadot/util-crypto": "^10.1.5",
"rxjs": "^7.5.6"
},
"devDependencies": {
"@polkadot/keyring": "^10.1.4",
"@polkadot/keyring": "^10.1.5",
"@polkadot/types-support": "9.2.3-4-x"
}
}
@@ -80,27 +80,5 @@ export const runtime: DefinitionsCall = {
}, CORE_V1_TO_V2, CORE_V1_TO_V4),
version: 1
}
],
TryRuntime: [
{
methods: {
execute_block_no_check: {
description: "Execute the given block, but don't check that its state root matches that of yours.",
params: [
{
name: 'block',
type: 'Block'
}
],
type: 'Weight'
},
on_runtime_upgrade: {
description: 'dry-run runtime upgrades, returning the total weight consumed.',
params: [],
type: '(Weight, Weight)'
}
},
version: 1
}
]
};