refactor: define trait `HashOutput` for some Hash associate type (#14220)
* define trait `HashOutput` * improve * improve * Update primitives/runtime/src/traits.rs Co-authored-by:Bastian Köcher <git@kchr.de> * remove `Block::Hash: Ord` * fmt * add `MaybeFromStr` * cleanup * fix * remove useless `HashOutput` --------- Co-authored-by:
Bastian Köcher <git@kchr.de>
Showing
- substrate/bin/node/inspect/src/command.rs 0 additions, 2 deletionssubstrate/bin/node/inspect/src/command.rs
- substrate/client/api/src/in_mem.rs 7 additions, 25 deletionssubstrate/client/api/src/in_mem.rs
- substrate/client/cli/src/commands/check_block_cmd.rs 0 additions, 1 deletionsubstrate/client/cli/src/commands/check_block_cmd.rs
- substrate/client/cli/src/commands/export_state_cmd.rs 0 additions, 1 deletionsubstrate/client/cli/src/commands/export_state_cmd.rs
- substrate/client/cli/src/params/mod.rs 0 additions, 1 deletionsubstrate/client/cli/src/params/mod.rs
- substrate/client/consensus/grandpa/src/lib.rs 0 additions, 1 deletionsubstrate/client/consensus/grandpa/src/lib.rs
- substrate/client/db/src/bench.rs 2 additions, 8 deletionssubstrate/client/db/src/bench.rs
- substrate/client/db/src/lib.rs 2 additions, 8 deletionssubstrate/client/db/src/lib.rs
- substrate/client/db/src/record_stats_state.rs 2 additions, 8 deletionssubstrate/client/db/src/record_stats_state.rs
- substrate/primitives/runtime/src/generic/header.rs 17 additions, 29 deletionssubstrate/primitives/runtime/src/generic/header.rs
- substrate/primitives/runtime/src/traits.rs 54 additions, 49 deletionssubstrate/primitives/runtime/src/traits.rs
- substrate/utils/frame/benchmarking-cli/src/pallet/command.rs 0 additions, 1 deletionsubstrate/utils/frame/benchmarking-cli/src/pallet/command.rs
- substrate/utils/frame/try-runtime/cli/src/commands/create_snapshot.rs 1 addition, 1 deletion...ils/frame/try-runtime/cli/src/commands/create_snapshot.rs
- substrate/utils/frame/try-runtime/cli/src/commands/execute_block.rs 0 additions, 2 deletions...utils/frame/try-runtime/cli/src/commands/execute_block.rs
- substrate/utils/frame/try-runtime/cli/src/commands/fast_forward.rs 0 additions, 1 deletion.../utils/frame/try-runtime/cli/src/commands/fast_forward.rs
- substrate/utils/frame/try-runtime/cli/src/commands/follow_chain.rs 0 additions, 1 deletion.../utils/frame/try-runtime/cli/src/commands/follow_chain.rs
- substrate/utils/frame/try-runtime/cli/src/commands/offchain_worker.rs 0 additions, 2 deletions...ils/frame/try-runtime/cli/src/commands/offchain_worker.rs
- substrate/utils/frame/try-runtime/cli/src/commands/on_runtime_upgrade.rs 0 additions, 1 deletion.../frame/try-runtime/cli/src/commands/on_runtime_upgrade.rs
- substrate/utils/frame/try-runtime/cli/src/lib.rs 0 additions, 4 deletionssubstrate/utils/frame/try-runtime/cli/src/lib.rs
Please register or sign in to comment