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

Rename storages and variables in pallet-omni-account #3118

Merged
merged 6 commits into from
Oct 8, 2024

Conversation

Kailai-Wang
Copy link
Collaborator

Context

As topic - to use names that are more conventional to "chain/account abstraction".

We don't need to discard or rename the Identity in core-primitives, but we start to call new names within the pallet, to deviate from the old IMP pallet. Examples:

link_identity => add_account
make_identity_public => publicize_account
IDGraph => AccountStore, it should contain a OmniAccount and MemberAccount(s)
IDGraphMember => MemberAccount

@Kailai-Wang Kailai-Wang requested a review from silva-fj October 7, 2024 20:04
@Kailai-Wang Kailai-Wang self-assigned this Oct 7, 2024
parachain/pallets/omni-account/src/lib.rs Outdated Show resolved Hide resolved
parachain/pallets/omni-account/src/lib.rs Outdated Show resolved Hide resolved
parachain/pallets/omni-account/src/lib.rs Outdated Show resolved Hide resolved
parachain/pallets/omni-account/src/lib.rs Outdated Show resolved Hide resolved
parachain/pallets/omni-account/src/lib.rs Outdated Show resolved Hide resolved
parachain/pallets/omni-account/src/lib.rs Outdated Show resolved Hide resolved
parachain/pallets/omni-account/src/lib.rs Outdated Show resolved Hide resolved
parachain/pallets/omni-account/src/lib.rs Outdated Show resolved Hide resolved
parachain/pallets/omni-account/src/lib.rs Outdated Show resolved Hide resolved
@silva-fj
Copy link
Contributor

silva-fj commented Oct 8, 2024

Thanks Kai, it looks better now. There are a few places where we need to change the names as well

@Kailai-Wang
Copy link
Collaborator Author

Thanks Kai, it looks better now. There are a few places where we need to change the names as well

Thanks, there're actually many places - I forgot to adjust local variables, sorry
Now they should be fixed

@Kailai-Wang Kailai-Wang enabled auto-merge (squash) October 8, 2024 10:04
@Kailai-Wang Kailai-Wang merged commit a70abb2 into dev Oct 8, 2024
25 checks passed
@Kailai-Wang Kailai-Wang deleted the rename-omni-account branch October 8, 2024 11:21
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