Skip to content
Snippets Groups Projects
Unverified Commit 5a8e082b authored by Radek Bochenek's avatar Radek Bochenek Committed by GitHub
Browse files

Fix `solochain-template-runtime` freezes config (#5846)


# Description

Sets the correct `RuntimeFreezeReason` type for
`solochain-template-runtime` configuration of pallet_balances.

## Review Notes

For whatever reason `RuntimeFreezeReason` is currently set to
`RuntimeHoldReason`. This in turn causes problems with variant counting
in `MaxFreezes` and results in pallet_balances integrity tests failing
whenever hold/freeze reasons are added to the runtime.
This fixes it by simply setting `RuntimeFreezeReason` to
`RuntimeFreezeReason` in pallet_balances Config.

Co-authored-by: default avatarBastian Köcher <git@kchr.de>
parent f754863a
No related merge requests found
Pipeline #501491 waiting for manual action with stages
in 30 minutes and 5 seconds
......@@ -133,7 +133,7 @@ impl pallet_balances::Config for Runtime {
type FreezeIdentifier = RuntimeFreezeReason;
type MaxFreezes = VariantCountOf<RuntimeFreezeReason>;
type RuntimeHoldReason = RuntimeHoldReason;
type RuntimeFreezeReason = RuntimeHoldReason;
type RuntimeFreezeReason = RuntimeFreezeReason;
type DoneSlashHandler = ();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment