Bump polkadot + fix parachain unnamed field (#412)

* parachain unnamed field

* bump polkadot: cargo udpate -p xcm

* Update lock

* Fixes

* Fixes

Co-authored-by: Gav Wood <gavin@parity.io>
This commit is contained in:
Guillaume Thiolliere
2021-04-27 18:56:08 +02:00
committed by GitHub
parent 2180cf4820
commit 859524f2f1
5 changed files with 230 additions and 218 deletions
+4 -4
View File
@@ -253,9 +253,9 @@ parameter_types! {
pub const RococoLocation: MultiLocation = MultiLocation::X1(Junction::Parent);
pub const RococoNetwork: NetworkId = NetworkId::Polkadot;
pub RelayChainOrigin: Origin = cumulus_pallet_xcm::Origin::Relay.into();
pub Ancestry: MultiLocation = Junction::Parachain {
id: ParachainInfo::parachain_id().into()
}.into();
pub Ancestry: MultiLocation = Junction::Parachain(
ParachainInfo::parachain_id().into()
).into();
}
/// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used
@@ -333,7 +333,7 @@ impl Config for XcmConfig {
type LocationInverter = LocationInverter<Ancestry>;
type Barrier = Barrier;
type Weigher = FixedWeightBounds<UnitWeightCost, Call>;
type Trader = FixedRateOfConcreteFungible<WeightPrice>;
type Trader = FixedRateOfConcreteFungible<WeightPrice, ()>;
type ResponseHandler = (); // Don't handle responses for now.
}