apps icon indicating copy to clipboard operation
apps copied to clipboard

Have two types of AccountId in a blockchain

Open joelamouche opened this issue 4 years ago • 3 comments

We want to use both AccountId32 and AccountId20 in our crowdloan pallet (https://github.com/PureStake/crowdloan-rewards/blob/main/src/lib.rs) which is why we defined AccountId (set to AccountId20) and RelayChainAccountId (set to AccountId32) - here https://github.com/PureStake/moonbeam/blob/dfe363bac66e68cff2ecb25ac710c11a880e0875/runtime/moonbase/src/lib.rs#L773.

Right now, all 32 addresses are being displayed in the app as 20 addresses.

We suspect this might be the problem: https://github.com/polkadot-js/apps/blob/cd352e5bcf083e9703a9c6bb854e0a626c9cce7a/packages/react-params/src/Param/findComponent.ts#L48

joelamouche avatar Nov 22 '21 10:11 joelamouche

Is there any news about this?

girazoki avatar Dec 01 '21 14:12 girazoki

As always, PRs welcome - this is probably (not sure, hence marked as "needs investigation") quite something to implement.

For myself, as everything logged it apps, it is marked, it is in the queue, no promises as to when I can take a look or even when it can have a solution.

jacogr avatar Dec 06 '21 16:12 jacogr

Hey mate

Were any changes made 2 weeks ago?

I have 2 wallets that need to change MOVR rewards location from native to metamask generated and this needs the ability to change one address to the KSM contribution source.

The funny thing is, I changed one, got tired, went to bed, went to change the other next afternoon and the error messages are now there even when all the fields are blank

Cheers

On Tue, 7 Dec 2021, 03:26 Jaco, @.***> wrote:

As always, PRs welcome - this is probably (not sure, hence marked as "needs investigation") quite something to implement.

For myself, as everything logged it apps, it is marked, it is in the queue, no promises as to when I can take a look or even when it can have a solution.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/polkadot-js/apps/issues/6592#issuecomment-986936542, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOG4FHC7ZAX4RAJU67C3JTDUPTP2LANCNFSM5IQS45HA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

User-8D avatar Dec 06 '21 18:12 User-8D

Closed in https://github.com/polkadot-js/apps/pull/8752

jacogr avatar Mar 13 '23 12:03 jacogr

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.

polkadot-js-bot avatar Apr 04 '23 08:04 polkadot-js-bot