foundry icon indicating copy to clipboard operation
foundry copied to clipboard

fix: deduplicate compiler version normalization

Open prestoalvarez opened this issue 2 months ago • 0 comments

Changes:

  • Add version_without_build and normalize_compiler_version_str in crates/verify/src/utils.rs.
  • Use shared helpers in utils.rs and etherscan/mod.rs instead of inline parsing.

Removes duplicated logic (split by '+' and trim leading 'v'), reducing maintenance risk and keeping behavior

prestoalvarez avatar Nov 04 '25 11:11 prestoalvarez