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

eth-bytecode-db: sourcify lookup returns invalid file names when "path-translation.json" #987

Open
rimrakhimov opened this issue Jul 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rimrakhimov
Copy link
Member

rimrakhimov commented Jul 22, 2024

For contracts that have a path-translation.json in Sourcify repository (example), Sourcify lookup returns not translated source file names. At the same time, fileName returned is already translated (as it is taken unprocessed from metadata.json compilationTarget).

That results in fileName that does not exist inside sourceFiles which is a response blockscout cannot process (see "LookUpSmartContractSourcesOnDemand terminating" in error logs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant