mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +00:00
Put HRMP Channel Management on General Admin Track (#7477)
* create ManagerOrigin for HRMP * missed one * fix mock * update GeneralAdmin docs
This commit is contained in:
@@ -38,7 +38,7 @@ pub mod pallet_custom_origins {
|
||||
Treasurer,
|
||||
/// Origin for managing the composition of the fellowship.
|
||||
FellowshipAdmin,
|
||||
/// Origin for managing the registrar.
|
||||
/// Origin for managing the registrar and permissioned HRMP channel operations.
|
||||
GeneralAdmin,
|
||||
/// Origin for starting auctions.
|
||||
AuctionAdmin,
|
||||
|
||||
@@ -1155,6 +1155,7 @@ impl parachains_dmp::Config for Runtime {}
|
||||
impl parachains_hrmp::Config for Runtime {
|
||||
type RuntimeOrigin = RuntimeOrigin;
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type ChannelManager = EitherOf<EnsureRoot<Self::AccountId>, GeneralAdmin>;
|
||||
type Currency = Balances;
|
||||
type WeightInfo = weights::runtime_parachains_hrmp::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user