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]: Fetching commitments by transaction id #1387

Open
brancoder opened this issue May 8, 2024 · 0 comments · Fixed by #1388
Open

[Bug]: Fetching commitments by transaction id #1387

brancoder opened this issue May 8, 2024 · 0 comments · Fixed by #1388
Assignees
Labels
bug Something isn't working

Comments

@brancoder
Copy link

Bug description

Calling commitments endpoint with transaction Id instead of commitment id still resolves to a slot commitment instead of failing.
example:

tx id: 0x5f73f9666cc25bbbf553d71ff73034a61cb3f089214ff530c5b2909f35fce341ed680000
https://chronicle.iota2-alphanet.iotaledger.net/api/core/v3/commitments/0x5f73f9666cc25bbbf553d71ff73034a61cb3f089214ff530c5b2909f35fce341ed680000

response:
{"protocolVersion":3,"slot":26861,"previousCommitmentId":"0xfa247cd020b6a16536c4297eb06cbc6d49e9e21f3c0e3140a760b72b54de5245ec680000","rootsId":"0xd211d5cc1771de46ff023bce993c8e5a90f4101f5451d9b95d7d38abab240780","cumulativeWeight":"428823","referenceManaCost":"1"}
@brancoder brancoder added the bug Something isn't working label May 8, 2024
@Alex6323 Alex6323 self-assigned this May 8, 2024
@DaughterOfMars DaughterOfMars linked a pull request May 8, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants