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

update parsing of chainport status API to new interface #5030

Merged
merged 4 commits into from
Jun 14, 2024

Conversation

patnir
Copy link
Contributor

@patnir patnir commented Jun 10, 2024

Summary

Chainport just sent us some new information about how to use the transaction status API. These changes reflect the new interaction.

There is also a difference in types. Chainport either sends us an empty object or a body with all keys that either have a type of string or null.

Examples below:

Pending transaction:

image

Confirmed transaction:

image

Testing Plan

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes

@patnir patnir requested a review from a team as a code owner June 10, 2024 23:01
const transaction = response.content.transaction

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change is just to replace response.content.transaction everywhere

@patnir patnir force-pushed the rahul/ifl-2652-update-chainport-status-api branch from 1af0660 to 3c48d82 Compare June 13, 2024 16:44
@patnir patnir force-pushed the rahul/ifl-2652-update-chainport-status-api branch from d9260d7 to e7ced6c Compare June 14, 2024 21:25
@patnir patnir merged commit 86c8b9a into staging Jun 14, 2024
8 of 9 checks passed
@patnir patnir deleted the rahul/ifl-2652-update-chainport-status-api branch June 14, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants