[WIP] Fix missing/unbalanced bracket in wizard.js#4
Draft
Copilot wants to merge 5 commits into
Draft
Conversation
Agent-Logs-Url: https://github.com/bitbaymarket/bridge/sessions/36c225a7-88d8-4acb-bc3a-6f3608163996 Co-authored-by: dzimbeck <7565265+dzimbeck@users.noreply.github.com>
Agent-Logs-Url: https://github.com/bitbaymarket/bridge/sessions/56373f36-c2f3-43ba-94b9-de0ea3e25253 Co-authored-by: dzimbeck <7565265+dzimbeck@users.noreply.github.com>
Agent-Logs-Url: https://github.com/bitbaymarket/bridge/sessions/fff9af42-9d36-45a8-a413-1415d14af6bc Co-authored-by: dzimbeck <7565265+dzimbeck@users.noreply.github.com>
Agent-Logs-Url: https://github.com/bitbaymarket/bridge/sessions/85c15613-7083-49b1-940b-ac452cda882c Co-authored-by: dzimbeck <7565265+dzimbeck@users.noreply.github.com>
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.
sendTxdidconst txReceipt = await txPromise;on the PromiEvent returned by.send()/sendTransaction(). In web3.js v1.x that promise resolves only when web3's internal receipt poller succeeds — defaulttransactionPollingTimeoutis 750s — so execution sat there and the manual 120s receipt-poll loop (with itstry/catcharoundgetTransactionReceipt) never ran. Matches the user's symptoms exactly: "Transaction was not mined within 750 seconds", no console output from the receipt try/catch, never broke past sendTx.transactionHashevent (fires immediately after the node returns the broadcast hash), don't await the PromiEvent itself, and silence its later 750s rejection so it doesn't surface as an unhandled rejection. Manual 120s receipt poll now runs as designed. Two fallbackshowResult(txReceipt)paths updated to use{ transactionHash: txHash }sincetxReceiptis no longer fetched up front.Original prompt
This pull request was created from Copilot chat.