slither-format: generate floating solc version

pull/238/head
Josselin 6 years ago
parent b94f5e21c0
commit 741591191e
  1. 2
      utils/slither_format/formatters/pragma.py
  2. 2
      utils/slither_format/formatters/solc_version.py

@ -3,7 +3,7 @@ from slither.exceptions import SlitherException
from ..utils.patches import create_patch
# Indicates the recommended versions for replacement
REPLACEMENT_VERSIONS = ["0.4.25", "0.5.3"]
REPLACEMENT_VERSIONS = ["^0.4.25", "^0.5.3"]
# group:
# 0: ^ > >= < <= (optional)

@ -4,7 +4,7 @@ from ..utils.patches import create_patch
# Indicates the recommended versions for replacement
REPLACEMENT_VERSIONS = ["0.4.25", "0.5.3"]
REPLACEMENT_VERSIONS = ["^0.4.25", "^0.5.3"]
# group:
# 0: ^ > >= < <= (optional)

Loading…
Cancel
Save