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

call eth_getTransactionByHash in wait_for_confirmations to avoid race condition #1716

Merged
merged 2 commits into from
Mar 15, 2023

Conversation

shamardy
Copy link
Collaborator

fixes #1630. For more info. #1630 (comment)

…it will be returned in swap payment validation
onur-ozkan
onur-ozkan previously approved these changes Mar 15, 2023
Copy link
Member

@onur-ozkan onur-ozkan left a comment

Choose a reason for hiding this comment

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

🔥

cipig
cipig previously approved these changes Mar 15, 2023
Copy link
Member

@cipig cipig left a comment

Choose a reason for hiding this comment

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

thanks a lot, works perfectly:

| (0:00/51:40) [EURS-PLG20] Waiting for confirmations…
15 08:03:57, coins:eth:1814] ERROR Didn't find tx: d07eb2df6a0d349f27345d25b1332b61e4805960b59a25ad1fd341958eac272c for coin: EURS-PLG20 on RPC node using eth_getTransactionByHash. Retrying in 15 seconds
+--- 15 08:04:06 -------
| (0:42) [swap uuid=40d0d532-dc9a-4e24-8864-a568ed334822] Maker payment wait confirm started...
| (0:24/51:40) [EURS-PLG20] Waiting for confirmations…
· 2023-03-15 08:04:12 +0000 [EURS-PLG20] Waiting for confirmations… Confirmed.
15 08:04:12, taker_swap:1343] INFO After wait confirm

@onur-ozkan
Copy link
Member

mention about this fix in the changelog so we can merge this @shamardy

caglaryucekaya
caglaryucekaya previously approved these changes Mar 15, 2023
@shamardy shamardy dismissed stale reviews from caglaryucekaya, cipig, and onur-ozkan via 99473be March 15, 2023 15:15
@shamardy
Copy link
Collaborator Author

mention about this fix in the changelog so we can merge this @shamardy

Done

@shamardy shamardy merged commit fbaac1e into dev Mar 15, 2023
@shamardy shamardy deleted the bugfix-evm-tx-disappear branch March 15, 2023 16:17
@ca333 ca333 mentioned this pull request Mar 27, 2023
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.

4 participants