@@ -138,7 +138,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
138138 authoring_version : 1 ,
139139 // same versioning-mechanism as polkadot:
140140 // last digit is used for minor updates, like 9110 -> 9111 in polkadot
141- spec_version : 9101 ,
141+ spec_version : 9110 ,
142142 impl_version : 0 ,
143143 apis : RUNTIME_API_VERSIONS ,
144144 transaction_version : 1 ,
@@ -736,33 +736,28 @@ parameter_types! {
736736 pub const NativeTokenResourceId : [ u8 ; 32 ] = hex_literal:: hex!( "00000000000000000000000000000063a7e2be78898ba83824b0c0cc8dfb6001" ) ;
737737}
738738
739- pub struct TechnicalCommitteeProvider ;
740- impl SortedMembers < AccountId > for TechnicalCommitteeProvider {
739+ // allow anyone to call transfer_native
740+ pub struct TransferNativeAnyone ;
741+ impl SortedMembers < AccountId > for TransferNativeAnyone {
741742 fn sorted_members ( ) -> Vec < AccountId > {
742- TechnicalCommittee :: members ( )
743+ vec ! [ ]
743744 }
744745
745- #[ cfg( not( feature = "runtime-benchmarks" ) ) ]
746- fn contains ( who : & AccountId ) -> bool {
747- TechnicalCommittee :: is_member ( who)
746+ fn contains ( _who : & AccountId ) -> bool {
747+ true
748748 }
749749
750750 #[ cfg( feature = "runtime-benchmarks" ) ]
751751 fn add ( _: & AccountId ) {
752752 unimplemented ! ( )
753753 }
754- // To ensure that the benchmark code runs through
755- #[ cfg( feature = "runtime-benchmarks" ) ]
756- fn contains ( _who : & AccountId ) -> bool {
757- true
758- }
759754}
760755
761756impl pallet_bridge_transfer:: Config for Runtime {
762757 type Event = Event ;
763758 type BridgeOrigin = pallet_bridge:: EnsureBridge < Runtime > ;
759+ type TransferNativeMembers = TransferNativeAnyone ;
764760 type SetMaximumIssuanceOrigin = EnsureRootOrHalfCouncil ;
765- type TransferNativeMembers = TechnicalCommitteeProvider ;
766761 type NativeTokenResourceId = NativeTokenResourceId ;
767762 type DefaultMaximumIssuance = MaximumIssuance ;
768763 type ExternalTotalIssuance = ExternalTotalIssuance ;
0 commit comments