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

[Bug] API does not return AA type in signature field of a transaction. #15922

Open
lightmark opened this issue Feb 10, 2025 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@lightmark
Copy link
Contributor

🐛 Bug

when you query a txn with AA it shows something similar to

"signature": {
"function_info": "2224bfd56ed53e05b4a32820fe61b88c06c9b25d767a4759a1d758a1ef92759c::authenticator::authenticate",
"auth_data": "0x0020abe1876ff31ed9ba8a379a636d0980944cf7beee2f5591bd90d88dac165b3c990b68656c6c6f20776f726c64",
"type": "single_sender"
},

Actually AA is a sub type of single sender and function_info and auth_data is pertaining to AA.
The response is confusing.

To reproduce

https://api.testnet.aptoslabs.com/v1/transactions/by_version/6616059810

@lightmark lightmark added the bug Something isn't working label Feb 10, 2025
@lightmark
Copy link
Contributor Author

but gprc return this:

      "signature": {
        "type": "TYPE_SINGLE_SENDER",
        "singleSender": {
          "sender": {
            "type": "TYPE_ABSTRACTION",
            "abstraction": {
              "functionInfo": "2224bfd56ed53e05b4a32820fe61b88c06c9b25d767a4759a1d758a1ef92759c::authenticator::authenticate",
              "signature": "ACCr4Ydv8x7Zuoo3mmNtCYCUTPe+7i9Vkb2Q2I2sFls8mQtoZWxsbyB3b3JsZA=="
            }
          }
        }
      }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants