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

refactor: use a single type for transaction status #1186

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

iqdecay
Copy link
Contributor

@iqdecay iqdecay commented Nov 2, 2023

This PR closes #1179 by removing the TransactionStatus type that was used in only one place.

Further work is needed because the current TxStatus holds receipts which the client TransactionStatus does not,
and doesn't hold some information the client's type does (block id, time, etc).

Copy link
Contributor

@MujkicA MujkicA left a comment

Choose a reason for hiding this comment

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

LGTM

Maybe we want to deprecate receipts in the status at some point since it's separate on the node client side as well

@iqdecay iqdecay merged commit 4b0aa6b into master Nov 8, 2023
38 checks passed
@iqdecay iqdecay deleted the iqdecay/refactor-tx-status branch November 8, 2023 14:42
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.

refactor: use a single type for transaction status
5 participants