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

eth/client: always return hash even if transaction didn't succeed #284

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

q9f
Copy link
Owner

@q9f q9f commented Jul 2, 2024

fix #223

sometimes the execution does not succeed in which case we don't return the hash

now, we return the hash and a status: [hash, status] which might break some scripts.

before: hash = transact_and_wait()

after: hash, status = transact_and_wait()

@q9f q9f added bug Something isn't working breaking change Should clearly be documented labels Jul 2, 2024
@q9f q9f merged commit fd5b6b5 into main Jul 2, 2024
8 checks passed
@q9f q9f deleted the q9f/client/txstatus branch July 2, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Should clearly be documented bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Smart Contract cli.transact_and_wait returning nil, instead for error message
1 participant