Files
pezkuwi-subxt/prdoc
tmpolaczyk de6d02591b Use generic hash for runtime wasm in resolve_state_version_from_wasm (#3447)
Changes the runtime hash algorithm used in
`resolve_state_version_from_wasm` from `DefaultHasher` to a
caller-provided one (usually `HashingFor<Block>`), to match the one used
elsewhere.

This fixes an issue where the runtime wasm is compiled 3 times when
starting the `tanssi-node` with `--dev`. With this fix, the runtime wasm
is only compiled 2 times. The other redundant compilation is caused by
the `GenesisConfigBuilderRuntimeCaller` struct, which ignores the
runtime cache.

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
2024-02-24 10:34:05 +00:00
..
2023-12-12 14:29:56 +00:00
2023-12-12 14:29:56 +00:00
2023-12-12 18:51:54 +02:00
2023-09-06 11:25:47 +03:00
2023-12-04 14:25:57 +00:00
2024-02-23 14:09:49 +00:00
2024-02-19 13:25:19 +00:00
2024-02-20 23:32:56 +00:00