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

improve(relayer): Execute destination transactions async #1355

Merged
merged 11 commits into from
Apr 3, 2024

Conversation

pxrl
Copy link
Contributor

@pxrl pxrl commented Mar 25, 2024

This change updates the relayer to submit transactions as soon as they are ready for each destination chain, rather than waiting until all destination transaction queues are ready. This should reduce the overall execution time for the relayer when it has transactions to submit on multiple chains, and should improve relayer performance on chains with a high chainId.

This change updates the relayer to submit transactions as soon as they
are ready for each destination chain, rather than waiting until all
destination transaction queues are ready. This should reduce the overall
execution time for the relayer when it has transactions to submit on
multiple chains, and should improve relayer performance on chains with a
high chainId.
src/relayer/Relayer.ts Outdated Show resolved Hide resolved
@pxrl
Copy link
Contributor Author

pxrl commented Mar 26, 2024

Status on this PR: thinking about a better way of verifying in tests; relying solely on log inspection isn't great.

@pxrl pxrl added the do not merge Don't merge until label is removed label Mar 28, 2024
@pxrl pxrl requested a review from nicholaspai April 2, 2024 21:01
@pxrl pxrl removed the do not merge Don't merge until label is removed label Apr 2, 2024
@pxrl
Copy link
Contributor Author

pxrl commented Apr 2, 2024

Status on this PR: thinking about a better way of verifying in tests; relying solely on log inspection isn't great.

This has been resolved in this commit: 7d61b81

@pxrl pxrl merged commit 2c1d2ae into master Apr 3, 2024
4 checks passed
@pxrl pxrl deleted the pxrl/parallelExecute branch April 3, 2024 11:15
mrice32 added a commit that referenced this pull request Apr 4, 2024
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.

2 participants