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

Fix for issue where statuscode 255 was being returned even for succesful transactions #2125

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

maxconway
Copy link
Contributor

receipt.accepted==Some(false) is now ignored, and if receipt.success==true the transaction is reported dispatched

@saeed-zil I noticed you already assigned yourself the associated issue after I pushed this, my bad.
Please feel free to reject it if's likely to cause a conflict with something you've already got in the works :)

…sful transactions

- `receipt.accepted==Some(false)` is no ignored, and if `receipt.success==true` the transaction is reported dispatched
@maxconway maxconway requested a review from saeed-zil January 10, 2025 12:31
@maxconway maxconway marked this pull request as ready for review January 10, 2025 12:31
@maxconway maxconway enabled auto-merge January 10, 2025 12:31
@maxconway maxconway linked an issue Jan 10, 2025 that may be closed by this pull request
Copy link
Contributor

github-actions bot commented Jan 10, 2025

🐰 Bencher Report

Branchmax/bugfix/GetTransactionStatus_wrong_status
Testbedself-hosted
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
milliseconds (ms)
(Result Δ%)
Upper Boundary
milliseconds (ms)
(Limit %)
process-empty/process-empty📈 view plot
🚷 view threshold
9.44
(+2.69%)
10.33
(91.35%)
produce-full/produce-full📈 view plot
🚷 view threshold
1,958.60
(-0.15%)
2,285.17
(85.71%)
🐰 View full continuous benchmarking report in Bencher

Copy link
Contributor

@saeed-zil saeed-zil left a comment

Choose a reason for hiding this comment

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

LGTM :)
It seems tests are failing.

@maxconway
Copy link
Contributor Author

Looks like the test failure is actually in main, just messaged @JamesHinshelwood about it because it seems to come from #2130

@maxconway maxconway added this pull request to the merge queue Jan 13, 2025
Merged via the queue into main with commit abb7cad Jan 13, 2025
6 checks passed
@maxconway maxconway deleted the max/bugfix/GetTransactionStatus_wrong_status branch January 13, 2025 13:16
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.

Incorrect status code returned by GetTransactionStatus
3 participants