We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98eef39 commit 1bf3d43Copy full SHA for 1bf3d43
crates/artifacts/solc/src/lib.rs
@@ -859,7 +859,7 @@ impl EvmVersion {
859
// For all other cases, cap at the at-the-time highest possible fork.
860
let normalized = if *version >= OSAKA_SOLC {
861
self
862
- } else if *version >= PRAGUE_SOLC {
+ } else if self >= Self::Prague && *version >= PRAGUE_SOLC {
863
Self::Prague
864
} else if self >= Self::Cancun && *version >= CANCUN_SOLC {
865
Self::Cancun
0 commit comments