Closed liamaharon closed 1 year ago
Going to spend more time trying to remove pallets from construct_runtime! as suggested by Basti. Converting this to a draft in the meantime.
Superseded by approach laid out in https://github.com/paritytech/substrate/pull/14773
https://github.com/paritytech/polkadot/pull/7314 requires us to temporarily restore Gov V1 pallets to the runtime.
We need the pallets to be entirely benign.
We can disable
Calls
usingexclude_parts {Call}
, but still need to prevent hooks from being called.It was agreed during the last FRAME team call to add a feature flag which would disable hooks we don't want to run. There may be better approaches to disabling hooks (such as creating a new
part
we can use inexclude_parts
, but that would likely take a long time to implement and unlocking the Gov V1 funds is time sensitive.