Skip to content

Live chain checking for storage state #656

Description

@renauter

The idea is to have a kind of script (like for a migration) that we could run against chain and check the current state of the storage to see if everything is as expected (ex: compatibility between values in different storage maps for a specific pallet).
Because, as chain is getting more and more complex, it could be useful to have this kind of quick check available to be able to identify unexpected cases (ex: #632 ).
Something like a live chain checking.

A first guess on how to do it would be taking advantage of the try-runtime tool in a context which is not a migration, just a checking
https://docs.substrate.io/test/check-runtime/

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions