-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow reserve asset transfer of relaychain token to parachain and back #260
Conversation
pub ExistentialDeposits: |currency_id: CurrencyId| -> Balance { | ||
match currency_id { | ||
CurrencyId::TEER => MILLITEER, | ||
CurrencyId::RelayNative => 3_333_333u128.into() // keep this with asset hub ED |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be nicer to call this KSM, but as we want to have one runtime for KSM and DOT, we may keep it generic RelayNative
@@ -861,10 +921,6 @@ mod benches { | |||
[pallet_child_bounties, ChildBounties] | |||
[pallet_claims, Claims] | |||
[pallet_collective, Council] | |||
// Fixme #177: For some reason the benchmarks write both to the same pallet_collective weight |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see no reason to fix this. of course the benchmark is the same for two instances of the same pallet
_ => None, | ||
}, | ||
MultiLocation { parents, interior } if parents == 0 => match interior { | ||
X1(junction) if junction == TEER_GENERAL_KEY => Some(CurrencyId::TEER), | ||
Here => Some(CurrencyId::TEER), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we'll need that because that will be how Asset Hub refers to TEER (different from Karura, Moonriver style)
orml_tokens / orml_currencies do not implement I guess the decision to use ORML for this was wrong |
first step to bring TEER to Asset Hub is to bring KSM to Integritee (to pay xcm fees with)
This PR allows to
the chosen solutions are inspired from Karura and Trappist
sanity checks:
do not merge just yet
This PR makes a design decision that we may want to iterate on!
testing
start zombienet
send 1 ROC from relaychain to integritee network
you should see
tokens.Deposited
Event on Integritee Networkcheck balance:
send funds from Alice to Bob
send ROC back from Bob to Bob on relaychain