Improve CheckMetadataHash: make it constant time and compile error on wrong env variable (#6141)
* The compilation now panics if the optional compile-time environment variable `RUNTIME_METADATA_HASH` contains an invalid value. * The weight for the `CheckMetadataHash` transaction extension is more accurate as it is almost compile-time.
Please register or sign in to comment