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

Cache default value after failed request in ForkStateReader #2857

Merged
merged 5 commits into from
Jan 20, 2025

Conversation

franciszekjob
Copy link
Collaborator

@franciszekjob franciszekjob commented Jan 16, 2025

Closes #2849

Introduced changes

Update the logic of ForkStateReader - if we receive StarknetError::ContractNotFound, we additionaly cache such request.

Checklist

  • Linked relevant issue
  • Updated relevant documentation
  • Added relevant tests
  • Performed self-review of the code
  • Added changes to CHANGELOG.md

@franciszekjob franciszekjob marked this pull request as ready for review January 20, 2025 00:47
crates/cheatnet/src/forking/state.rs Outdated Show resolved Hide resolved
crates/cheatnet/src/forking/state.rs Outdated Show resolved Hide resolved
franciszekjob and others added 2 commits January 20, 2025 14:31
Co-authored-by: ddoktorski <45050160+ddoktorski@users.noreply.github.com>
Co-authored-by: ddoktorski <45050160+ddoktorski@users.noreply.github.com>
@franciszekjob franciszekjob added this pull request to the merge queue Jan 20, 2025
Merged via the queue into master with commit 1de8ca3 Jan 20, 2025
38 checks passed
@franciszekjob franciszekjob deleted the franciszekjob/2849-fix branch January 20, 2025 14:42
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.

Fork caching bug
4 participants