Coretime: Use Superuser for sending the transact calls (#2793)

This commit is contained in:
Bastian Köcher
2023-12-22 21:41:35 +01:00
committed by GitHub
parent ecbbb5a736
commit 753967ab48
@@ -244,7 +244,7 @@ impl<T: Config> OnNewSession<BlockNumberFor<T>> for Pallet<T> {
fn mk_coretime_call(call: crate::coretime::CoretimeCalls) -> Instruction<()> {
Instruction::Transact {
origin_kind: OriginKind::Native,
origin_kind: OriginKind::Superuser,
require_weight_at_most: Weight::from_parts(1000000000, 200000),
call: BrokerRuntimePallets::Broker(call).encode().into(),
}