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

Ledger X - not able to sign transaction with 21 transfer txs #1645

Closed
cryptoBeliever opened this issue Aug 16, 2021 · 1 comment
Closed

Ledger X - not able to sign transaction with 21 transfer txs #1645

cryptoBeliever opened this issue Aug 16, 2021 · 1 comment
Assignees
Labels
P2 Issue Feature or UI issue preventing an action, Incomplete process or crashing during action

Comments

@cryptoBeliever
Copy link
Contributor

cryptoBeliever commented Aug 16, 2021

Steps:

  1. Create multisig (for example 2of2)
  2. Init aggreagate multisig with 21 transfer inner transactions

image

image

  1. Send transaction

Result: Error "The transaction is too long" presented
Expected result: No error.

The total bytes sent is 2033. The limit for Ledger X is 10000 so the transaction should pass.
What is interesting if I will do 3 transfer txs with size ~9000 bytes (very long message) aggregate passes.

Example raw payload:

28080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001984141086F0100000000005DE6ADE602000000DA201C13CFC70FC92C1FA7F6D25B1734ED3E0B7FDAE0CCDE86289D5CEC4F4EF680070000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F0900000000000000006000000000000000D6432BCEC2FF262E06F8B6778F79C78470101F5E5550EFFD95EF1E9F2B6B7E2E000000000198544198DD8C5ACC7CBBE4B084E6B42820C2065BD2063BBFD6D65100000100000000003CE19A057E831F090000000000000000
@cryptoBeliever cryptoBeliever added the P2 Issue Feature or UI issue preventing an action, Incomplete process or crashing during action label Aug 16, 2021
@cryptoBeliever cryptoBeliever self-assigned this Aug 17, 2021
@cryptoBeliever
Copy link
Contributor Author

After investigation, the problem is related with the amount of screens that Ledger can display. For Ledger X it is 60.
In next Ledger app version app will return other error codes for max transaction size (limit 10000 bytes) and max screens (limit 60).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Issue Feature or UI issue preventing an action, Incomplete process or crashing during action
Projects
None yet
Development

No branches or pull requests

1 participant