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

feat: align derivation accross ecosystem #2664

Merged

Conversation

mustermeiszer
Copy link
Contributor

@mustermeiszer mustermeiszer commented Dec 6, 2023

Description

Currently, there is no common ecosystem wide approach to derive accounts from xcm-origins. This PR adds a converter both used by

The converter was introduced by Gavin Wood in order to create a general purpose conversion. The idea behind this converter is that a user User1 from ChainA has the ability to have a unique account on any other chain in the ecosystem. This so called remote account can only be controlled from User1 from ChainA.

Motivation and Context

Allows to have remote accounts on Acala for all purposes a native account could be used. Especially useful for when we do not want to deteriorate UX by switching networks in the UI.

How Has This Been Tested?

In production at Centrifuge and Moonbeam for quite some time.

Copy link

codecov bot commented Dec 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c937980) 67.53% compared to head (a68b44d) 67.55%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2664      +/-   ##
==========================================
+ Coverage   67.53%   67.55%   +0.02%     
==========================================
  Files          69       71       +2     
  Lines        8430     8713     +283     
==========================================
+ Hits         5693     5886     +193     
- Misses       2737     2827      +90     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@xlc xlc merged commit 13b831d into AcalaNetwork:master Dec 7, 2023
6 checks passed
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.

None yet

2 participants