Skip to content

feat: add migration extrinsics#398

Merged
wischli merged 13 commits intodevelopfrom
wf-2161-fork-init
Aug 31, 2022
Merged

feat: add migration extrinsics#398
wischli merged 13 commits intodevelopfrom
wf-2161-fork-init

Conversation

@wischli
Copy link
Contributor

@wischli wischli commented Aug 24, 2022

fixes KILTProtocol/ticket#2161

  • Adds call builder for relay chain (bootstraps a few calls to the relay chain, e.g. XCM or batch)
  • Adds pallet to send extrinsics required to for the migration
    • XCM Call from the para- to the relay chain, e.g. to trigger para id swap lease on current relay chain
    • Set associated relay block number check to Any or Strictly

Checklist:

  • I have verified that the code works
    • No panics! (checked arithmetic ops, no indexing array[3] use get(3), ...)
  • I have verified that the code is easy to understand
    • If not, I have left a well-balanced amount of inline comments
  • I have left the code in a better state
  • I have documented the changes (where applicable)

@wischli wischli changed the base branch from develop to aw-clone-feature August 24, 2022 14:06
Base automatically changed from aw-clone-feature to develop August 26, 2022 08:49
@wischli wischli mentioned this pull request Aug 30, 2022
2 tasks
@wischli wischli requested a review from weichweich August 31, 2022 11:50
@wischli wischli marked this pull request as ready for review August 31, 2022 11:50
@wischli wischli requested a review from ntn-x2 August 31, 2022 11:50
Copy link
Contributor

@ntn-x2 ntn-x2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@wischli wischli enabled auto-merge (squash) August 31, 2022 12:33
@wischli wischli merged commit 44b7bf4 into develop Aug 31, 2022
@wischli wischli deleted the wf-2161-fork-init branch August 31, 2022 12:35
wischli added a commit that referenced this pull request Aug 31, 2022
wischli added a commit that referenced this pull request Aug 31, 2022
* feat: clear up runtime selection

* feat: s2p

* fix: runtime selection

* feat: add relay call builder

* wip: add migraton init extrinsics

* feat: add relay block check setters, xcm

* docs: update pallet description

* docs: add comment to CheckAssociatedRelayNumber

* fix: native origin

* bench: add extrinsic weight estimates

* fix: deps

Co-authored-by: weichweich <albrecht@kilt.io>
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

Successfully merging this pull request may close these issues.

3 participants