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

Feat: Fetch missing txs #8

Closed
wants to merge 10 commits into from
Closed

Conversation

0xKitsune
Copy link
Contributor

@0xKitsune 0xKitsune commented Dec 14, 2023

This PR introduces logic to fetch missing transactions due to any errors/failure after sending a tx and before entering the tx into the sent_transactions table. This PR separates insert_tx_broadcast into two separate operations, insert_into_tx_hashes and insert_into_sent_transactions. The broadcast task was updated to insert the tx into the tx_hashes after successful simulation of the tx and then into sent_transactions after the transaction successfully sends.

@0xKitsune 0xKitsune changed the base branch from main to dev December 14, 2023 00:03
@0xKitsune 0xKitsune closed this Dec 14, 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.

1 participant