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

fix: uri not indexed error #497

Merged
merged 1 commit into from
May 24, 2023
Merged

fix: uri not indexed error #497

merged 1 commit into from
May 24, 2023

Conversation

antico5
Copy link
Collaborator

@antico5 antico5 commented May 23, 2023

Even though I couldn't reproduce the issue, I'm confident that the cause is a change introduced in 0.6.13 (when the issue first appeared), in which deleted files are removed from the sol file index. My guess is that after being removed, some debounced analyze/validate requests hit and the entry is not there anymore. The logic in place will try to index the file but since it was deleted it should be failing.

This fix just stops removing the sol file entry on file deletion. That removal was in place just to free up some memory, but it's negligible.

Closes #487

@antico5 antico5 merged commit eb5ccca into development May 24, 2023
@antico5 antico5 deleted the fix_uri_not_indexed branch May 24, 2023 14:08
kanej pushed a commit that referenced this pull request May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Error: Could not send to validation process, uri is not indexed: /home/xxx/1.sol
2 participants