-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat!: Refactor ownership pallet to transfer ownership of spaces, posts and domains #255
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
298342a
Add ownership transfers for domains
F3Joule 389f38d
Rename pallet-space-ownership to pallet-ownership
F3Joule cdfb883
WIP: refactor ownership pallet to work with different entities
F3Joule 9410f94
Provide interfaces for changing spaces and domains ownership
F3Joule fc76af7
Introduce PostsProvider
F3Joule 172b49a
Remove redundant code from domains pallet
F3Joule d206aac
Implement transfer ownership logic in ownership pallet
F3Joule 4f1cafb
Add migration to the ownership pallet
F3Joule ab8559f
Fix mocks
F3Joule 35993d0
Add migration to the runtime
F3Joule 149efe1
Update spec_version to 41
F3Joule a01fb06
Update transaction_version to 9
F3Joule beb18a6
Fix code formatting in migration file
F3Joule 3212edd
chore: Add tests for ownership pallet (#256)
F3Joule 05587d2
Add missing license headers
github-actions[bot] 901a75c
Add migration from old to new ownership pallet
F3Joule 1acdc6a
Merge branch 'main' into f3/transfer-domains
F3Joule 18df14e
Update spec_version to 42
F3Joule 7728026
Apply suggestions after a code review
F3Joule 056cb68
Add missing license headers
github-actions[bot] f575b39
Apply suggestions from code review
F3Joule 26aa859
Apply suggestions from code review
F3Joule 2cb2a22
Change some functions arguments ordering
F3Joule 6166d7f
Apply final suggestions after code review
F3Joule 5460173
Update migration for ownership pallet
F3Joule a740d7e
Fix migration after review
F3Joule File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
why renamed?
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.
Previously this error was related to space ownership, from now on we need more generalized error for it.
We can do
CurrentOwnerCannotAcceptOwnershipTransfer
, then this error will be more specific.