referrerpolicy=no-referrer-when-downgrade
parachains_runtimes_test_utils::test_cases

Function can_governance_authorize_upgrade

Source
pub fn can_governance_authorize_upgrade<Runtime, RuntimeOrigin>(
    governance_origin: GovernanceOrigin<RuntimeOrigin>,
) -> Result<(), Either<DispatchError, XcmError>>
where Runtime: BasicParachainRuntime + Config<RuntimeOrigin = RuntimeOrigin, AccountId = AccountId>,
Expand description

Generic test case for Cumulus-based parachain that verifies if runtime can process frame_system::Call::authorize_upgrade from governance system.