diff --git a/crates/compilers/src/compilers/vyper/mod.rs b/crates/compilers/src/compilers/vyper/mod.rs index fa64c3ed..1b351124 100644 --- a/crates/compilers/src/compilers/vyper/mod.rs +++ b/crates/compilers/src/compilers/vyper/mod.rs @@ -177,7 +177,9 @@ impl Vyper { trace!(?output); if output.status.success() { let stdout = String::from_utf8_lossy(&output.stdout); - Ok(Version::from_str(&stdout.trim().replace("rc", "-rc"))?) + Ok(Version::from_str( + &stdout.trim().replace("rc", "-rc").replace("b", "-b").replace("a", "-a"), + )?) } else { Err(SolcError::solc_output(&output)) }