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

track tx simulation response time and disable during congested periods. #144

Open
wphan opened this issue Mar 20, 2024 · 0 comments
Open
Labels
good first issue Good for newcomers

Comments

@wphan
Copy link
Member

wphan commented Mar 20, 2024

It might make sense to try to send out txs faster during congested/volatile periods. Add something to track how long simulateTransaction calls take, and track the median/max CUs estimated (check that these values make sense). Use these values when simulateTransaction takes longer than usual (i.e.the P50 has been increasing over the last 5 minutes), and just stop simulating and pre-populate the CU limit

@wphan wphan added the good first issue Good for newcomers label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant