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(cu): allow force to bypass cached nonce error #1166

Open
jfrain99 opened this issue Feb 28, 2025 · 0 comments
Open

feat(cu): allow force to bypass cached nonce error #1166

jfrain99 opened this issue Feb 28, 2025 · 0 comments

Comments

@jfrain99
Copy link
Contributor

Background

Currently, if you try to access the result of a message which is earlier than the lastest cached memory, the CU will throw an error ("error": "message at nonce ... not found cached, and earlier than latest known nonce ...").

Issue

Even if we have a later cached nonce, sometimes we will want to bypass this and get the result anyways.

Solution

Create an opt-in config var, allow_force, which when active will read the result endpoint for a query parameter called force. If present, the CU will bypass the above error, skip the later cached nonce, and continue searching.

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