polkadot-js / api

Promise and RxJS APIs around Polkadot and Substrate based chains via RPC calls. It is dynamically generated based on what the Substrate runtime provides in terms of metadata.
Apache License 2.0
1.07k stars 350 forks source link

KSM Extrinsics error #4242

Closed User-8D closed 2 years ago

User-8D commented 2 years ago

Changing reward address for moonriver contributions.

Extrinsics/crowdloanRewards/changeAssociationWithRelayKeys(rewardAccount, previousAccount, proofs)

followed instructions provided by Purestake and successfully changed 1 wallet 3 days ago but following the same process during the last 24hrs now has this blocker, even if all the fields are empty, this error persists

multiple browsers on 2 computers and all 4 Moonriver networks have the same error on this page

Link to page: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fwss.moonriver.moonbeam.network#/extrinsics

This is the error message: createType(Call):: Call: failed decoding crowdloanRewards.changeAssociationWithRelayKeys:: Struct: failed on args: {"reward_account":"H160","previous_account":"H160","proofs":"Vec<(AccountId32,SpRuntimeMultiSignature)>"}:: Struct: failed on proofs: Vec<(AccountId32,SpRuntimeMultiSignature)>:: Tuple: failed on 0:: Invalid AccountId provided, expected 32 bytes, found 20

jacogr commented 2 years ago

As suggested above, the input is incorrect - for the proof it needs a AccountId32, not AccountId20. i.e. it is default Substrate address, not an Ethereum-compatible one.

User-8D commented 2 years ago

the wallet selection drop down only allows eth style wallets

On Sat, Nov 20, 2021 at 5:55 PM Jaco @.***> wrote:

As suggested above, the input is incorrect - for the proof it needs a AccountId32, not AccountId20. i.e. it is default Substrate address, not an Ethereum-compatible one.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/polkadot-js/api/issues/4242#issuecomment-974605822, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOG4FHCWABM2ZAQ25PV7GKDUM5A6JANCNFSM5INSYOXA . 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 commented 2 years ago

As suggested above, the input is incorrect - for the proof it needs a AccountId32, not AccountId20. i.e. it is default Substrate address, not an Ethereum-compatible one.

Hey Jacogr, did you try this yourself? it's still broken

jacogr commented 2 years ago

This is not API related, I'm assuming it is a duplicate of a apps UI issue, see https://github.com/polkadot-js/apps/issues/6592

User-8D commented 2 years ago

That does look like it. Thanks Jaco

On Fri, Nov 26, 2021 at 6:02 PM Jaco @.***> wrote:

This is not API related, I'm assuming it is a duplicate of a apps UI issue, see polkadot-js/apps#6592 https://github.com/polkadot-js/apps/issues/6592

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/polkadot-js/api/issues/4242#issuecomment-979738681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOG4FHBPVOVKMQN35QBBSDLUN4WHZANCNFSM5INSYOXA . 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.

jacogr commented 2 years ago

Closing, tracked in apps UI (nothing related to the API layer)

polkadot-js-bot commented 2 years ago

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.