|
|
|
@ -59,7 +59,6 @@ Consider using the latest version of Solidity for testing.""" |
|
|
|
|
OLD_VERSION_TXT = "allows old versions" |
|
|
|
|
LESS_THAN_TXT = "uses lesser than" |
|
|
|
|
|
|
|
|
|
TOO_RECENT_VERSION_TXT = "necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.16" |
|
|
|
|
BUGGY_VERSION_TXT = ( |
|
|
|
|
"is known to contain severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)" |
|
|
|
|
) |
|
|
|
@ -67,6 +66,8 @@ Consider using the latest version of Solidity for testing.""" |
|
|
|
|
# Indicates the allowed versions. Must be formatted in increasing order. |
|
|
|
|
ALLOWED_VERSIONS = ["0.8.18"] |
|
|
|
|
|
|
|
|
|
TOO_RECENT_VERSION_TXT = f"necessitates a version too recent to be trusted. Consider deploying with {'/'.join(ALLOWED_VERSIONS)} " |
|
|
|
|
|
|
|
|
|
# Indicates the versions that should not be used. |
|
|
|
|
BUGGY_VERSIONS = [ |
|
|
|
|
"0.4.22", |
|
|
|
|