-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Adds ability to use default hasher in dev_mode
for explicit key binding
#14164
Adds ability to use default hasher in dev_mode
for explicit key binding
#14164
Conversation
…dev-mode-explict-binding
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me once those two are changed to parse_quote!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall 👍
frame/support/test/tests/pallet_ui/dev_mode_explicit_key_without_arg_default_hasher.rs
Outdated
Show resolved
Hide resolved
And please add some description to the MR. |
bot fmt |
@gupnik https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2859409 was started for your command Comment |
@gupnik Command |
frame/support/test/tests/pallet_ui/dev_mode_explicit_key_without_arg_default_hasher.rs
Outdated
Show resolved
Hide resolved
bot merge |
…ding (#14164) * Initial setup * Minor update * Minor update * Addresses review comments * Addresses review comments * Updates doc * ".git/.scripts/commands/fmt/fmt.sh" * Renames file * Updates path in test --------- Co-authored-by: command-bot <>
…ding (paritytech#14164) * Initial setup * Minor update * Minor update * Addresses review comments * Addresses review comments * Updates doc * ".git/.scripts/commands/fmt/fmt.sh" * Renames file * Updates path in test --------- Co-authored-by: command-bot <>
Fixes #14118
Recently, we added the ability to specify hashers as _ in dev_mode, which are replaced by Blake2_128Concat. This PR allows using a default hasher in dev_mode in case of explicit key binding.
With these changes, a syntax like the below works in
dev_mode
but throws an error otherwise.