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] - cannot submit Babbage-era transactions using the submit-api REST service #3972

Closed
mkoura opened this issue Jun 1, 2022 · 0 comments · Fixed by #3979
Closed

[BUG] - cannot submit Babbage-era transactions using the submit-api REST service #3972

mkoura opened this issue Jun 1, 2022 · 0 comments · Fixed by #3979
Labels
bug Something isn't working comp: submit-api era: babbage type: bug Something is not working Vasil

Comments

@mkoura
Copy link
Contributor

mkoura commented Jun 1, 2022

Internal

Area
Other Any other topic (Delegation, Ranking, ...).

Summary
Submitting a Babbage-era tx using submit-api REST service fails:

$ http POST http://localhost:8090/api/submit/tx Content-Type:application/cbor < tx.signed.cbor
HTTP/1.1 400 Bad Request
Date: Wed, 01 Jun 2022 15:42:13 GMT
Server: Warp/3.3.19
Transfer-Encoding: chunked

"transaction read error RawCborDecodeError [DecoderErrorDeserialiseFailure "Byron Tx" (DeserialiseFailure 1 "Size mismatch when decoding TxAux.\nExpected 2, but found 4."),DecoderErrorDeserialiseFailure "Shelley Tx" (DeserialiseFailure 1 "Size mismatch when decoding \nRecord RecD.\nExpected 4, but found 3."),DecoderErrorDeserialiseFailure "Shelley Tx" (DeserialiseFailure 1 "Size mismatch when decoding \nRecord RecD.\nExpected 4, but found 3."),DecoderErrorDeserialiseFailure "Shelley Tx" (DeserialiseFailure 1 "Size mismatch when decoding \nRecord RecD.\nExpected 4, but found 3."),DecoderErrorDeserialiseFailure "Shelley Tx" (DeserialiseFailure 43 "An error occured while decoding not a valid key:.\nError: 18")]"

It works for Alonzo-era tx submitted on Babbage era network:

$ http POST http://localhost:8090/api/submit/tx Content-Type:application/cbor < tx.signed.cbor
HTTP/1.1 202 Accepted
Content-Type: application/json;charset=utf-8
Date: Wed, 01 Jun 2022 16:33:52 GMT
Server: Warp/3.3.19
Transfer-Encoding: chunked

"2fee7315209bcfb8545e446d506aa905fdb896af12edc6d96b8a668deeee6375"

System info:

  • OS Name: Fedora 35
  • Node version: 9a177fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working comp: submit-api era: babbage type: bug Something is not working Vasil
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants