-
Notifications
You must be signed in to change notification settings - Fork 722
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] - cardano-submit-api can't handle transactions #4829
Comments
Minor additional detail: The trouble only seems to be submitting it to cardano-submit-api (since submit API doesn't show version of it's own as part of CLI params, |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
Issue is still present with 1.35.5 |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
Still active |
Is this a problem on master as well or only in the release branch @rdlrt @gitmachtl ? |
@disassembler - The issue is replicable (using same hash as in issue description, as error talks about decode issue) 1.35.7-rc1 . I cannot compile |
Any news on this front? |
Looks like it was a syntax (user) issue. I successfully submitted a transaction via koios now on PreProd. 😆 |
External
I was trying to submit a short test transaction in babbage-era and mary-era format. Both produced an error. Transaction was submitted via the koios API, which uses cardano-submit-api. I guess cardano-submit-api can't handle CDDL format, but thats the default now.
Here are the two attempts:
curl -s -m 20 -X POST "https://preprod.koios.rest/api/v0/submittx" -H "Accept: application/json" -H "Content-Type: application/cbor" --data-binary $(echo -n "84a400818258200264a53a42656f99ecd96ff95a9702170b530a40e372736390edae3ab7b1c5ce000182a200581d6052e63f22c5107ed776b70f7b92248b02552fd08f3e747bc745099441011a004c4b40a200581d6052e63f22c5107ed776b70f7b92248b02552fd08f3e747bc74509944101821b00000001a49e5748a1581c34250edd1e9836f5378702fbf9416b709bc140e04f668cc355208518a1494154414441636f696e199327021a0002b2a9031a012022f6a10081825820742d8af3543349b5b18f3cba28f23b2d6e465b9c136c42e1fae6b2390f56542758401ce96705cdf8d83eaf665d69beca7d4d7cd4e536d715181398814be6f1e4b215a6ac3f329bdfb89132b61fb762825dafb2e3592a3163438bf171dab87de10e0af5f6" | xxd -ps -r)
Response:
curl -s -m 20 -X POST "https://preprod.koios.rest/api/v0/submittx" -H "Accept: application/json" -H "Content-Type: application/cbor" --data-binary $(echo -n "83a400818258200264a53a42656f99ecd96ff95a9702170b530a40e372736390edae3ab7b1c5ce00018282581d6052e63f22c5107ed776b70f7b92248b02552fd08f3e747bc7450994411a004c4b4082581d6052e63f22c5107ed776b70f7b92248b02552fd08f3e747bc745099441821b00000001a49e57f8a1581c34250edd1e9836f5378702fbf9416b709bc140e04f668cc355208518a1494154414441636f696e199327021a0002b1f9031a01202398a10081825820742d8af3543349b5b18f3cba28f23b2d6e465b9c136c42e1fae6b2390f565427584024d4eff5ad624c4f1b89708896d27144075ee2a3c75e3943ba7146ef37ab5a4fc43af21cc4952c934a1e3eba7be23fcc22b9495c03488bbd025270d7f7ea0008f6" | xxd -ps -r)
Response:
The reported errors are a bit different.
Best regards, Martin
The text was updated successfully, but these errors were encountered: