You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Requesting a signature via Aptos Connect sometimes results in an invalid Signature error when trying to sponsor and submit the transaction.
Error from the logs:
{"message":"Invalid transaction: Type: Validation Code: INVALID_SIGNATURE","error_code":"vm_error","vm_error_code":1}
This behavior is not deterministic, meaning that sometimes the transaction is executed successfully, sometimes the error above is returned.
The error happens using Aptos Connect via Browser, as well as via Telegram Mini App.
Steps to Reproduce
The issue can be reproduced by requesting a signature and sponsor the transaction using the following next client- and server functions:
The message signature is valid and the transaction can be executed by the server after sponsoring the gas fees.
Actual Behavior
Sometimes, the user's signature seems to be invalid. This is an excerpt of the server logs:
{"message":"Invalid transaction: Type: Validation Code: INVALID_SIGNATURE","error_code":"vm_error","vm_error_code":1}
Debugging Notes
Unfortunately, this error is not deterministic. At one test, after the INVALID_SIGNATURE error already happened twice, the third execution was successfull.
The text was updated successfully, but these errors were encountered:
Vaphen
changed the title
Aptos Connect Signature for Sponsored Transactions
Aptos Connect Signature for Sponsored Transactions is Invalid
Jan 16, 2025
Context
Requesting a signature via Aptos Connect sometimes results in an invalid Signature error when trying to sponsor and submit the transaction.
Error from the logs:
{"message":"Invalid transaction: Type: Validation Code: INVALID_SIGNATURE","error_code":"vm_error","vm_error_code":1}
This behavior is not deterministic, meaning that sometimes the transaction is executed successfully, sometimes the error above is returned.
The error happens using Aptos Connect via Browser, as well as via Telegram Mini App.
Steps to Reproduce
The issue can be reproduced by requesting a signature and sponsor the transaction using the following next client- and server functions:
Client:
Server:
Expected Behavior
The message signature is valid and the transaction can be executed by the server after sponsoring the gas fees.
Actual Behavior
Sometimes, the user's signature seems to be invalid. This is an excerpt of the server logs:
{"message":"Invalid transaction: Type: Validation Code: INVALID_SIGNATURE","error_code":"vm_error","vm_error_code":1}
Debugging Notes
Unfortunately, this error is not deterministic. At one test, after the INVALID_SIGNATURE error already happened twice, the third execution was successfull.
The text was updated successfully, but these errors were encountered: