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

Add a mapping where Account32 wallets can register a 20 -> 32 mapping. #5576

Closed
Tracked by #13
athei opened this issue Sep 3, 2024 · 1 comment · Fixed by #6096
Closed
Tracked by #13

Add a mapping where Account32 wallets can register a 20 -> 32 mapping. #5576

athei opened this issue Sep 3, 2024 · 1 comment · Fixed by #6096
Assignees

Comments

@athei
Copy link
Member

athei commented Sep 3, 2024

So far you should not call a contract with an AccountId32 because there is no way to map back from its mapped AccountId20. For this to work we need a mapping that helps mapping back from AccountId20 to AccountId32.

@athei
Copy link
Member Author

athei commented Sep 18, 2024

Taking this from you for now. You have your hands full with the westend runtime and the pre-compiles.

@athei athei assigned athei and unassigned pgherveou Sep 18, 2024
github-merge-queue bot pushed a commit that referenced this issue Oct 25, 2024
Fixes #5576

This allows contracts to be used with an AccountId32 through normal
extrinsics and not only through the eth compat layer. It works by adding
a new extrinsic `map_account` that lets people register their
AccountId32.

---------

Co-authored-by: command-bot <>
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Cyrill Leutwiler <[email protected]>
mordamax pushed a commit to paritytech-stg/polkadot-sdk that referenced this issue Oct 29, 2024
Fixes paritytech#5576

This allows contracts to be used with an AccountId32 through normal
extrinsics and not only through the eth compat layer. It works by adding
a new extrinsic `map_account` that lets people register their
AccountId32.

---------

Co-authored-by: command-bot <>
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Cyrill Leutwiler <[email protected]>
mordamax pushed a commit to paritytech-stg/polkadot-sdk that referenced this issue Oct 29, 2024
Fixes paritytech#5576

This allows contracts to be used with an AccountId32 through normal
extrinsics and not only through the eth compat layer. It works by adding
a new extrinsic `map_account` that lets people register their
AccountId32.

---------

Co-authored-by: command-bot <>
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Cyrill Leutwiler <[email protected]>
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 a pull request may close this issue.

2 participants