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

Unable to broadcast a transaction with ED25519 signature type #2565

Closed
satoshiotomakan opened this issue Jun 27, 2023 · 2 comments
Closed

Unable to broadcast a transaction with ED25519 signature type #2565

satoshiotomakan opened this issue Jun 27, 2023 · 2 comments

Comments

@satoshiotomakan
Copy link

Describe the bug
I'm trying to broadcast a signed transaction to the Acala network. I use ed25519 elliptic curve to generate an account ID and sign the transaction.

In result, I get:

# Using https://github.com/polkadot-js/tools
RPC-CORE: submitAndWatchExtrinsic(extrinsic: Extrinsic): ExtrinsicStatus:: 1010: Invalid Transaction: Transaction has a bad signature

and

# Using https://polkadot.js.org/apps
1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low

Signed and encoded transaction: 0x41028400e9590e4d99264a14a85e21e69537e4a64f66a875d38cb8f76b305f41fabe24a9002dd923694ec3abb8a18619bd2634ef063d3343595c1bc8f3132fcf8c9fdc3868023e8c4abc27c7036d4da347c1fdb5d70782822ad81d382e19fea76e1b2c1e01a50108000a0000c8c602ded977c56076ae38d98026fa669ca10d6a2b5a0bfc4086ae7668ed1c60070010a5d4e8

Where accointID: 0xe9590e4d99264a14a85e21e69537e4a64f66a875d38cb8f76b305f41fabe24a9
signature: 0x2dd923694ec3abb8a18619bd2634ef063d3343595c1bc8f3132fcf8c9fdc3868023e8c4abc27c7036d4da347c1fdb5d70782822ad81d382e19fea76e1b2c1e01
Balance.transfer call: 0x0a0000c8c602ded977c56076ae38d98026fa669ca10d6a2b5a0bfc4086ae7668ed1c60070010a5d4e8
signature type: 0x00

Please note that a transaction with exactly the same parameters signed by https://polkadot.js.org/apps can be successfully broadcasted:
0x410284007ce25fafc9eae83af94a5c08bac9262ad27a1118caccb9cb08f6f3b1d4d54371010c7d6c4df7e7dbe3e015a873db0b9a236bf320089e77da00f60b602af6063859e63043b74482fdbbcd130d37668cddb6ceb8f3814b2486b27f89a8c27a7d7687a50108000a0000c8c602ded977c56076ae38d98026fa669ca10d6a2b5a0bfc4086ae7668ed1c60070010a5d4e8
where accountID: 0x7ce25fafc9eae83af94a5c08bac9262ad27a1118caccb9cb08f6f3b1d4d54371
signature type: 0x01

Expected Behavior

Should Acala network accept transactions signed using ED25519 elliptic curve?

Current Behavior

Acala network seems to reject transactions signed using ED25519 elliptic curve

@xlc
Copy link
Member

xlc commented Jun 27, 2023

Do you know in roughly what time / block number did you submitted the failed transaction? ED25519 transactions should be supported.

@satoshiotomakan
Copy link
Author

@xlc thank you for the reply!
I've solved the problem, it was on my side

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