New, more flexible try-runtime
runtime apis
#3499
Labels
T1-FRAME
This PR/Issue is related to core FRAME, the framework.
T4-runtime_API
This PR/Issue is related to runtime APIs.
Existing
try-runtime
apis accept little to no configuration.This means when we want to change the behavior of calling one of these apis, it requires adding complexity to the runtime, and in some cases waiting for new runtime upgrades to occur.
e.g.
try-state
checks to run should be configurable by the user, instead of us getting stuck with inoperable checks until the next runtime upgradeSystem::Events
inTryDecodeEntireState
#2560 requiring a new pallet macro, the user should be able to pass a whilelist and/or blacklist of storage items they want to attempt to decodeThis is less than ideal. It would be better if runtime apis allowed greater customisation of what happens. Once added, old runtime apis should be deprecated and eventually removed.
also see discussion at #2108
The text was updated successfully, but these errors were encountered: