You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we rely on the contract metadata hash embedded in the bytecode to map contract code back to compiler artifacts.
However in certain cases the metadata may be missing. Currently if one artifact doesn't have MD, then the ArtifactManager crashes here:
cd1m0
changed the title
ArtifactManager should not carsh entirely if some contracts don't have MD
ArtifactManager should not carsh entirely if some contracts don't have MD hash
Jul 23, 2024
Currently we rely on the contract metadata hash embedded in the bytecode to map contract code back to compiler artifacts.
However in certain cases the metadata may be missing. Currently if one artifact doesn't have MD, then the
ArtifactManager
crashes here:https://github.com/ConsenSys/sol-dbg/blob/main/src/debug/artifact_manager.ts#L157
It would be nice for the ArtifactManager to not crash there, as the debugger can work with some artifacts missing.
The text was updated successfully, but these errors were encountered: