Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

fix(ethers-solc): Error instead of panic when checking if the checksum was found #2421

Merged
merged 3 commits into from
May 18, 2023

Conversation

Evalir
Copy link
Contributor

@Evalir Evalir commented May 17, 2023

Motivation

Ran this while debugging an unrelated issue—I had installed 0.8.20 through an SVM fork and was running into this panic when running foundry. While this is correct and should error due to an unfound checksum (as i wasn't using the canonical svm-rs), this panic should probably be an error cc @mattsse

Solution

Turn this panic into an error, and add a ChecksumNotFound variant to SolcError.

@DaniPopes DaniPopes merged commit 3031efb into gakonst:master May 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants