Expand description

Some tests require the hashed keys of the storage. As the values of hashed keys are not trivial to guess, this small module provides the values of the keys, and the code which is required to generate the keys.

Functions§

  • Generate the hashed storage keys from the raw literals. These keys are expected to be in storage with given substrate-test runtime.
  • Provides the commented list of hashed keys. This contains a hard-coded list of hashed keys that would be generated by generate_expected_storage_hashed_keys. This list is provided for the debugging convenience only. Value of each hex-string is documented with the literal origin.