Skip to content
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

AssetHub <> Relay reserve flippening #857

Open
8 tasks
jak-pan opened this issue Jul 5, 2024 · 4 comments
Open
8 tasks

AssetHub <> Relay reserve flippening #857

jak-pan opened this issue Jul 5, 2024 · 4 comments

Comments

@jak-pan
Copy link
Contributor

jak-pan commented Jul 5, 2024

We should flip the source of truth for AH and Polkadot for DOT reserves. This will allow us to use AH with DOT as fee payment and also transfer it through AH to other chains.

As a result we can then use the various features of the new XCM functions to transfer and pay fees which is not possible to do through Polkadot relay chain since it doesn't understand other assets than DOT.

Change the reserve chain for DOT from Polkadot relay chain to Polkadot AssetHub.
Schedule the runtime upgrade to happen at some fixed point in time later (with enactment at least 3 days)
Transfer all of the Hydration parachain DOT from the Relaychain to Hydration parachain account on AH at the scheduled flippening time. (we will need to sync these events as close as possible)

Inform

  • make a public post this will happen at least a week - 2 upfront and then post more when the date is closing in @lolmcshizz
  • nova wallet
  • talisman
  • subwallet
  • paraspell
  • our sdk @nohaapav
  • xcm sdks? @green-jay
  • other wallets? @green-jay
@mrq1911
Copy link
Member

mrq1911 commented Aug 12, 2024

2 runtime upgrades and 2 extra referenda to move funds

  1. transfer 1/2 to AH
  2. make asset hub reserve chain
  3. grace period for UI’s and integrations to start using AH
    - optionally rebalance reserves if necessary
  4. remove polkadot as a reserve
  5. move rest to AH

@green-jay
Copy link
Contributor

  1. transfer 1/2 to AH - calldata
    0x6b0003010003140004000000000700e40b540213000000000700e40b540200060102286bee020004000101630b03000100a10f03000101007369626cf20700000000000000000000000000000000000000000000000000000304000000000f0080d5cd60b6510000000000140d0102040001010070617261f2070000000000000000000000000000000000000000000000000000

@dmoka dmoka linked a pull request Aug 28, 2024 that will close this issue
1 task
@dmoka dmoka removed a link to a pull request Aug 28, 2024
1 task
@dmoka
Copy link
Contributor

dmoka commented Aug 28, 2024

PR to make AH DOT reserve: #896

@dmoka
Copy link
Contributor

dmoka commented Oct 1, 2024

When we do the flippening and change the location of DOT in our asset registry, we also need to change it in code:

pub const DOT_ASSET_LOCATION: AssetLocation = AssetLocation(polkadot_xcm::v3::MultiLocation::parent());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants