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

Remove retry logic from PXE JSON RPC client #11405

Open
olehmisar opened this issue Jan 21, 2025 · 0 comments
Open

Remove retry logic from PXE JSON RPC client #11405

olehmisar opened this issue Jan 21, 2025 · 0 comments

Comments

@olehmisar
Copy link
Contributor

PXE RPC client retries a few times when a request fails to execute. This is annoying when proving is enabled because it will try to generate the same failing proof multiple times, which is very slow. It is confusing seeing errors in the pxe terminal while the TX in aztec.js (.send().wait()) is still pending

this is especially frustrating in CI and js tests

looks like can be mitigated by

const noRetryFetch = makeFetch([], true);
createPXEClient(pxeUrl, noRetryFetch);

but would be cool if it was the default.

From: https://discord.com/channels/1144692727120937080/1329873571857825914

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

No branches or pull requests

1 participant