-
Notifications
You must be signed in to change notification settings - Fork 1
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
Region pallet #33
Merged
Merged
Region pallet #33
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Szegoo
commented
Mar 26, 2024
Szegoo
commented
Apr 7, 2024
add utility pallet
* WIP: benchmarking * fix benchmarks * check events in benchmarks * cargo fmt --------- Co-authored-by: Sergej <[email protected]>
* weights for pallet-regions * add header and template to weights --------- Co-authored-by: Sergej <[email protected]>
Szegoo
commented
Apr 19, 2024
Szegoo
commented
Apr 20, 2024
Szegoo
commented
Apr 20, 2024
Szegoo
commented
Apr 20, 2024
* test owner * refactor * test method: attribute * test nonfungible transfer * cargo fmt * update test for on_timeout * WIP: tests for on_response * fix test for invalid id and record --------- Co-authored-by: Sergej <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Region pallet
The pallet responsible for handling all the region related logic.
Regions are reserve transferred from the Coretime chain to the RegionX parachain. Upon transferring regions to the parachain the
AssetTransactor
on RegionX should call themint_into
extrinsic which will create an ISMP get request to fetch the region record.The region pallet will handle the callback from the ISMP module, which will result in setting the region record on the parachain.
It is expected that users will self-relay, by running an ISMP get request handler in the browser. This request handler will be embedded in the RegionX frontend app so the user doesn't have to worry about any of this.
TODOs:
Closes: #12