File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,10 +59,23 @@ impl pallet_hyperbridge::Config for Runtime {
5959 type IsmpHost = Ismp ;
6060}
6161
62+ pub struct WeightInfo ;
63+ impl ismp_parachain:: WeightInfo for WeightInfo {
64+ fn add_parachain ( _n : u32 ) -> Weight {
65+ Weight :: from_parts ( 0 , 0 )
66+ }
67+ fn remove_parachain ( _n : u32 ) -> Weight {
68+ Weight :: from_parts ( 0 , 0 )
69+ }
70+ fn update_parachain_consensus ( ) -> Weight {
71+ Weight :: from_parts ( 0 , 0 )
72+ }
73+ }
74+
6275impl ismp_parachain:: Config for Runtime {
6376 type RuntimeEvent = RuntimeEvent ;
6477 type IsmpHost = Ismp ;
65- type WeightInfo = ( ) ;
78+ type WeightInfo = WeightInfo ;
6679}
6780
6881pub struct AssetAdmin ;
@@ -74,7 +87,7 @@ impl Get<AccountId> for AssetAdmin {
7487
7588parameter_types ! {
7689 // The hyperbridge parachain on Polkadot
77- pub const NativeAssetId : AssetId = AssetId :: from ( 0 ) ;
90+ pub const NativeAssetId : AssetId = AssetId ( Location :: here ( ) ) ;
7891
7992}
8093
Original file line number Diff line number Diff line change @@ -189,6 +189,7 @@ construct_runtime! {
189189 Ismp : pallet_ismp = 90 ,
190190 Hyperbridge : pallet_hyperbridge = 91 ,
191191 IsmpParachain : ismp_parachain = 92 ,
192+ TokenGateway : pallet_token_gateway = 93 ,
192193 }
193194}
194195
You can’t perform that action at this time.
0 commit comments