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

Error signing transaction for DynamicDerivations EVM wallet #2427

Open
pgolovkin opened this issue Dec 17, 2024 · 2 comments
Open

Error signing transaction for DynamicDerivations EVM wallet #2427

pgolovkin opened this issue Dec 17, 2024 · 2 comments

Comments

@pgolovkin
Copy link
Contributor

pgolovkin commented Dec 17, 2024

Description

Error when try to sign transaction for Polkadot Vault Dynamic Derivations wallet.

IMAGE 2024-12-12 21:35:17

Steps to Reproduce

  1. Add EVM wallet via Polkadot Vault, using Dynamic Derivations flow
  2. Try to sign any transaction

Expected Behavior

Successfully signed

Actual Behavior

Errors:
Out of range decoding Compact<u32>
from branch - fix/dynamic-derivation-crypto-type
Could not decode MultiSigner variant doesn't exist

Environment

novasamatech/nova-spektr@c1caded

Polkadot Vault - release 6.3.1

Root cause analysis

When the regular (not Dynamic derivation) evm transaction is signed everything works as intended.

When the evm transaction with DD (in our test case it's Moonbase Alpha) is signed it fails.
According to PV rust code and conversion function we should pass 20 byte address that cannot be derived from Root public key that has SR25519 cryptography.

Best option for us is to request PV a feature to support SR25519 Root key as input no matter what crypto type we pass in the payload.

@pgolovkin
Copy link
Contributor Author

pgolovkin commented Dec 17, 2024

Nova Spektr issue novasamatech/nova-spektr#2857

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

No branches or pull requests

2 participants
@pgolovkin and others