Skip to content

Commit

Permalink
Fix SelfReserve (#113)
Browse files Browse the repository at this point in the history
* fix SelfReserve

* update spec version
  • Loading branch information
haerdib authored Apr 28, 2022
1 parent e7c06f7 commit 662a47a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion polkadot-parachains/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "integritee-collator"
description = "The Integritee parachain collator binary"
# align major.minor revision with the runtimes. bump patch revision ad lib. make this the github release tag
version = "1.5.19"
version = "1.5.20"
authors = ["Integritee AG <[email protected]>"]
homepage = "https://integritee.network/"
repository = "https://github.com/integritee-network/parachain"
Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachains/integritee-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = 'integritee-runtime'
description = "The Integritee parachain runtime"
# patch revision must match runtime spec_version
version = '1.5.15'
version = '1.5.16'
authors = ["Integritee AG <[email protected]>"]
homepage = "https://integritee.network/"
repository = "https://github.com/integritee-network/parachain"
Expand Down
12 changes: 8 additions & 4 deletions polkadot-parachains/integritee-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("integritee-parachain"),
impl_name: create_runtime_str!("integritee-full"),
authoring_version: 2,
spec_version: 15,
spec_version: 16,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 3,
Expand Down Expand Up @@ -587,7 +587,7 @@ impl Convert<AccountId, MultiLocation> for AccountIdToMultiLocation {
}

parameter_types! {
pub const BaseXcmWeight: Weight = 100_000_000; // TODO: recheck this
pub const BaseXcmWeight: Weight = 100_000_000;
pub const MaxAssetsForTransfer: usize = 2;
}

Expand Down Expand Up @@ -625,8 +625,12 @@ parameter_types! {
// Ancestry defines the multilocation describing this consensus system
pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into();
// Relative Self Reserve location, defines the multilocation identifiying the local currency.
pub SelfReserve: MultiLocation = MultiLocation::here();

pub SelfReserve: MultiLocation = MultiLocation {
parents:0,
interior: Junctions::X1(
GeneralKey("TEER".into())
)
};
}

/// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used
Expand Down

0 comments on commit 662a47a

Please sign in to comment.