certora-cli-alpha-master 20241219.16.13.477788__py3-none-macosx_10_9_universal2.whl → 20241219.18.0.830641__py3-none-macosx_10_9_universal2.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -173,14 +173,17 @@ class CertoraContextValidator:
173
173
  "'disable_source_finders' is set to true while 'dynamic_bound' is set to 1 or higher"
174
174
  )
175
175
  context.disable_source_finders = True
176
-
176
+ package_name = Util.get_package_and_version()[1]
177
177
  # if --fe_version was not set then if the package is alpha/beta we set it to latest else we set it to production
178
178
  if not context.fe_version:
179
- lastest_packages = [Util.ALPHA_PACKAGE_NAME, Util.BETA_PACKAGE_NAME, Util.BETA_MIRROR_PACKAGE_NAME]
180
- if Util.get_package_and_version()[1] in lastest_packages:
179
+ lastest_packages = [Util.ALPHA_PACKAGE_MASTER_NAME, Util.BETA_PACKAGE_NAME, Util.BETA_MIRROR_PACKAGE_NAME]
180
+ if package_name in lastest_packages:
181
181
  context.fe_version = str(Util.FeValue.LATEST)
182
182
  else:
183
183
  context.fe_version = str(Util.FeValue.PRODUCTION)
184
+ if Util.ALPHA_PACKAGE_NAME in package_name and not context.prover_version:
185
+ raise Util.CertoraUserInputError('When running an "alpha release", a specific branch must be supplied '
186
+ 'via --prover_version. For example: "--prover_version master"')
184
187
 
185
188
  check_conflicting_branch_and_hash(context)
186
189
  set_wait_for_results_default(context)
@@ -79,7 +79,8 @@ LAST_CONF_FILE = Path("run.conf")
79
79
  EMV_JAR = Path("emv.jar")
80
80
  CERTORA_SOURCES = Path(".certora_sources")
81
81
  SOLANA_DEFAULT_COMMAND = "cargo +solana build-sbf"
82
- ALPHA_PACKAGE_NAME = 'certora-cli-alpha-master'
82
+ ALPHA_PACKAGE_NAME = 'certora-cli-alpha'
83
+ ALPHA_PACKAGE_MASTER_NAME = ALPHA_PACKAGE_NAME + '-master'
83
84
  # contract names in Solidity consists of alphanums, underscores and dollar signs
84
85
  # https://docs.soliditylang.org/en/latest/grammar.html#a4.SolidityLexer.Identifier
85
86
  SOLIDITY_ID_SUBSTRING_RE = r"[a-zA-Z_$][a-zA-Z0-9_$]*" # string *contains* a valid solidity ID
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: certora-cli-alpha-master
3
- Version: 20241219.16.13.477788
3
+ Version: 20241219.18.0.830641
4
4
  Summary: Runner for the Certora Prover
5
5
  Home-page: https://pypi.org/project/certora-cli-alpha-master
6
6
  Author: Certora
@@ -23,4 +23,4 @@ Requires-Dist: StrEnum
23
23
  Requires-Dist: tomli
24
24
  Requires-Dist: universalmutator
25
25
 
26
- Commit 6339cbf. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
26
+ Commit 271cc4d. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
@@ -17,7 +17,7 @@ certora_cli/EVMVerifier/certoraConfigIO.py,sha256=oyNOyBjVWFfB1dmj0jNnEwvokM7UMo
17
17
  certora_cli/EVMVerifier/certoraContext.py,sha256=aYvsuedXdiHsdEbok9hRT3KZcaNY8HIg_Lee3HBVVrE,22266
18
18
  certora_cli/EVMVerifier/certoraContextAttributes.py,sha256=Lx1vi9PgPiUcv0xRsdQncvknkpdvMWagGsT-Tw0saX4,55636
19
19
  certora_cli/EVMVerifier/certoraContextClass.py,sha256=qdHYmrzI4zeQaAaMnonw4C-h1PFrPEhI84trrgvxFj0,210
20
- certora_cli/EVMVerifier/certoraContextValidator.py,sha256=YE4_BYRhZhXWEtjodD_Pligh8opdaOjs27mVEoy74ZY,37210
20
+ certora_cli/EVMVerifier/certoraContextValidator.py,sha256=zQupDhoTMu0aA3Rmp6x6KgOa_CNd5A3Cqf60_vJZ5rE,37560
21
21
  certora_cli/EVMVerifier/certoraContractFuncs.py,sha256=W3lAvKotGKK7ZGJLg4yYh0FzTwwSQJbZMpizyGaYXZo,6229
22
22
  certora_cli/EVMVerifier/certoraExtensionInfo.py,sha256=bHjEBKg3qQ1lS419KSU6v6HKbhrSOz2TmEE21YrOfYI,1336
23
23
  certora_cli/EVMVerifier/certoraJobList.py,sha256=JlPOANEzNHP6cDrM5UKfO314pmWYokuhAPTkH3ezNb4,10768
@@ -52,14 +52,14 @@ certora_cli/Shared/ExpectedComparator.py,sha256=rDDY3-FaE3OS_ZjZ-nOyvUTlUp8eQCHw
52
52
  certora_cli/Shared/__init__.py,sha256=QGoFb_Uu87tWp4E4L6C_VtzdG-sfNrzdNtRK79h5_Lw,333
53
53
  certora_cli/Shared/certoraAttrUtil.py,sha256=IbIIvTbtPzmPSSrK7VIWZNitkz1iwvW_e0ggX1e2joY,6751
54
54
  certora_cli/Shared/certoraLogging.py,sha256=5Lx-XWKl7GnwnWi7KlwTLIfsEvUvCTZ8KeyfNyi_6RU,13323
55
- certora_cli/Shared/certoraUtils.py,sha256=8EGXrxfIxu34VTx46QeTx6tTYLdwpTLT9ulVQijmD9Y,53624
55
+ certora_cli/Shared/certoraUtils.py,sha256=WmVX8Hz5wMZ7WI2JhYavAilH1kO3fwKLUBsf4hQ4b-o,53676
56
56
  certora_cli/Shared/certoraValidateFuncs.py,sha256=OOjPAkcfrURZDD4oDjOMBFTvY6wwQSXboXzu-47AUbY,36871
57
- certora_jars/CERTORA-CLI-VERSION-METADATA.json,sha256=lTGGVSgZjQnhq1GhSPEB6ONakcPVKXIDHNQvFTSM16w,170
58
- certora_jars/Typechecker.jar,sha256=CtHfKd0FeMUOx8NOlmOpegwlKDSZTecEoZn9556af9U,16755362
57
+ certora_jars/CERTORA-CLI-VERSION-METADATA.json,sha256=SF9VyFZLGfIrUj4dB4zFVFGsdP_KyIfqMZFcrQLYRm0,168
58
+ certora_jars/Typechecker.jar,sha256=RvgLfNJNp19TEHh0XJUk5lWbftqpELQYrQ5b8SfW6Vc,16755362
59
59
  certora_jars/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
60
- certora_cli_alpha_master-20241219.16.13.477788.dist-info/LICENSE,sha256=VeEBJLgfzZqyAUfjLoKUztf7KJBBUjtZ1ap99eQubOo,1065
61
- certora_cli_alpha_master-20241219.16.13.477788.dist-info/METADATA,sha256=t5lF3Vv4vezwHg6jzwxip00vIHt1dDRmkCyQdMMrU48,838
62
- certora_cli_alpha_master-20241219.16.13.477788.dist-info/WHEEL,sha256=N3Zagyg8u7FcZiPCx4UnuNyRRYq7IQpu24eWYyuhGOQ,110
63
- certora_cli_alpha_master-20241219.16.13.477788.dist-info/entry_points.txt,sha256=Y90wInBDlKPSU3YnuTn3JqAsSgPRTDHc8lf6BfKILjY,261
64
- certora_cli_alpha_master-20241219.16.13.477788.dist-info/top_level.txt,sha256=8C77w3JLanY0-NW45vpJsjRssyCqVP-qmPiN9FjWiX4,38
65
- certora_cli_alpha_master-20241219.16.13.477788.dist-info/RECORD,,
60
+ certora_cli_alpha_master-20241219.18.0.830641.dist-info/LICENSE,sha256=VeEBJLgfzZqyAUfjLoKUztf7KJBBUjtZ1ap99eQubOo,1065
61
+ certora_cli_alpha_master-20241219.18.0.830641.dist-info/METADATA,sha256=iXDOJ0L2RJUTrB-dgyzxYjP3-qV8Y7E-ThqtYu6E7Kk,837
62
+ certora_cli_alpha_master-20241219.18.0.830641.dist-info/WHEEL,sha256=N3Zagyg8u7FcZiPCx4UnuNyRRYq7IQpu24eWYyuhGOQ,110
63
+ certora_cli_alpha_master-20241219.18.0.830641.dist-info/entry_points.txt,sha256=Y90wInBDlKPSU3YnuTn3JqAsSgPRTDHc8lf6BfKILjY,261
64
+ certora_cli_alpha_master-20241219.18.0.830641.dist-info/top_level.txt,sha256=8C77w3JLanY0-NW45vpJsjRssyCqVP-qmPiN9FjWiX4,38
65
+ certora_cli_alpha_master-20241219.18.0.830641.dist-info/RECORD,,
@@ -1 +1 @@
1
- {"name": "certora-cli-alpha-master", "tag": "", "branch": "master", "commit": "6339cbf", "timestamp": "20241219.16.13.477788", "version": "20241219.16.13.477788+6339cbf"}
1
+ {"name": "certora-cli-alpha-master", "tag": "", "branch": "master", "commit": "271cc4d", "timestamp": "20241219.18.0.830641", "version": "20241219.18.0.830641+271cc4d"}
Binary file