fix: cover submitted WBGL transaction errors#38
Open
Sikkra wants to merge 1 commit into
Open
Conversation
This was referenced May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Covers submitted WBGL transaction error paths that could leave conversions stuck in
pending:sendWBGL()whensendSignedTransactionemits an error so callers can enter their existing return/error handling patherrorinstead of treating every receipt as eventually successfulPENDING_TX_MAX_CHECKS, default180,0disables)Verification
node --check service/src/modules/chores.js service/src/modules/web3.js service/src/utils/config.js service/src/utils/transactionStatus.js service/src/tests/transactionStatus.jsnpx mocha src/tests/transactionStatus.js --timeout 10000inservice/(4 passing)git diff --checkNote:
npx eslint ...is not a useful verifier in the current repo because the existing ESLint setup fails to parse ES moduleimportsyntax before it reaches the actual changes.Related: #21
Program reference: BitgesellOfficial/bitgesell#81
USDT-TRC20 payout address if accepted:
TPwPFww7zxXFQ7zugo22gktQhckWVarRqi