certora-cli-beta-mirror 8.4.1__py3-none-any.whl → 8.4.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,93 @@
1
+ #!/usr/bin/env python3
2
+ # The Certora Prover
3
+ # Copyright (C) 2025 Certora Ltd.
4
+ #
5
+ # This program is free software: you can redistribute it and/or modify
6
+ # it under the terms of the GNU General Public License as published by
7
+ # the Free Software Foundation, version 3 of the License.
8
+ #
9
+ # This program is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ # GNU General Public License for more details.
13
+ #
14
+ # You should have received a copy of the GNU General Public License
15
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
16
+
17
+
18
+ import sys
19
+ import logging
20
+ from pathlib import Path
21
+
22
+ scripts_dir_path = Path(__file__).parent.resolve() # containing directory
23
+ sys.path.insert(0, str(scripts_dir_path))
24
+
25
+ from typing import List, Optional, Dict
26
+
27
+ import CertoraProver.certoraApp as App
28
+
29
+ from CertoraProver.certoraBuildSui import build_sui_project
30
+ from Shared.proverCommon import (
31
+ build_context,
32
+ collect_and_dump_metadata,
33
+ collect_and_dump_config_layout,
34
+ ensure_version_compatibility,
35
+ run_local,
36
+ run_remote,
37
+ CertoraRunResult,
38
+ handle_exit,
39
+ catch_exits,
40
+ )
41
+
42
+ run_logger = logging.getLogger("run")
43
+
44
+
45
+ def run_sui_prover(args: List[str]) -> Optional[CertoraRunResult]:
46
+ """
47
+ The main function that is responsible for the general flow of the script.
48
+ The general flow is:
49
+ 1. Parse program arguments
50
+ 2. Run the necessary steps (build/ cloud verification/ local verification)
51
+ """
52
+
53
+ context, logging_manager = build_context(args, App.SuiApp)
54
+ timings: Dict[str, float] = {}
55
+ exit_code = 0 # The exit code of the script. 0 means success, any other number is an error.
56
+ return_value = None
57
+
58
+ # Collect and validate metadata and configuration layout
59
+ collect_and_dump_metadata(context)
60
+ collect_and_dump_config_layout(context)
61
+
62
+ # Version validation
63
+ ensure_version_compatibility(context)
64
+
65
+ # Build the application
66
+ build_sui_project(context, timings)
67
+
68
+ # Run verification if requested
69
+ if context.build_only:
70
+ return return_value
71
+
72
+ if context.local:
73
+ exit_code = run_local(context, timings)
74
+ else:
75
+ # Remove debug logger before running cloud verification
76
+ logging_manager.remove_debug_logger()
77
+ exit_code, return_value = run_remote(context, args, timings)
78
+
79
+ # Handle exit code
80
+ return handle_exit(exit_code, return_value)
81
+
82
+
83
+ @catch_exits
84
+ def entry_point() -> None:
85
+ """
86
+ This function is the entry point of the certora_cli customer-facing package, as well as this script.
87
+ It is important this function gets no arguments!
88
+ """
89
+ run_sui_prover(sys.argv[1:])
90
+
91
+
92
+ if __name__ == '__main__':
93
+ entry_point()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: certora-cli-beta-mirror
3
- Version: 8.4.1
3
+ Version: 8.4.2
4
4
  Summary: Runner for the Certora Prover
5
5
  Home-page: https://pypi.org/project/certora-cli-beta-mirror
6
6
  Author: Certora
@@ -39,4 +39,4 @@ Dynamic: requires-dist
39
39
  Dynamic: requires-python
40
40
  Dynamic: summary
41
41
 
42
- Commit 6df223c. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
42
+ Commit b945191. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
@@ -9,6 +9,7 @@ certora_cli/certoraRanger.py,sha256=thJ4EKo-MFHklCk-7zJADZ-9SO6eCg1AFv88-QssLj0,
9
9
  certora_cli/certoraRun.py,sha256=3v3o_nMfdVHT-MSqTW0EYqyu2IjKsZvMcXwmfkOQaU8,6371
10
10
  certora_cli/certoraSolanaProver.py,sha256=1R1YnGHCofb05GqFgpxRh3ZmHkmwMm1hPM7rfeiEu7o,3250
11
11
  certora_cli/certoraSorobanProver.py,sha256=SYJKz5Sw-N0bJrSa1njRCE53R9_PMz7IWLhfamOjisk,2840
12
+ certora_cli/certoraSuiProver.py,sha256=gRs-iihB35ZSEIQ5-hJN-wLgrHZlcfmpk76Wr6vza74,2827
12
13
  certora_cli/rustMutator.py,sha256=6AvOGU8Ijz89zW_ZJCWlfXkeobJsk7EsqZhK7Eqwn-Y,14544
13
14
  certora_cli/CertoraProver/__init__.py,sha256=QHNr-PJQAoyuPgTkO7gg23GRchiWSXglWNG7yLSQZvs,849
14
15
  certora_cli/CertoraProver/certoraApp.py,sha256=RKJ2Krb_CzbRUvczbdE6FhUDrFcvrR8j0JS8MNWXX7s,1469
@@ -67,13 +68,13 @@ certora_cli/Shared/certoraLogging.py,sha256=cV2UQMhQ5j8crGXgeq9CEamI-Lk4HgdiA3HC
67
68
  certora_cli/Shared/certoraUtils.py,sha256=b9qIZ90wW1ofZIlvdFyZRzoVg1HlkA6gfkTaKkVxcQU,59443
68
69
  certora_cli/Shared/certoraValidateFuncs.py,sha256=mYguICGfUwVZ9qPBFajss1xqHPDR-KRtskgERLum4AM,43225
69
70
  certora_cli/Shared/proverCommon.py,sha256=DUB-uEKjOkZ-8qil6xukPqfTynpigXW-gcrm0_kRUZY,11383
70
- certora_jars/ASTExtraction.jar,sha256=Ng8UDdDV61EIPjBh9-H0646LoeQLA2a5CNCFN3X49o0,20972809
71
- certora_jars/CERTORA-CLI-VERSION-METADATA.json,sha256=yA1W1HSGmMNq1KsBK40KYMMLzLVdVJJzfvqFC8LyY3w,143
72
- certora_jars/Typechecker.jar,sha256=_t5VYHpbSKTCtZFYKkNWnvj9LBpGoVEQzHEZr-hPKoQ,20934968
71
+ certora_jars/ASTExtraction.jar,sha256=yEtRtw8hLOSGOmWsQa_66YjGVbXyvXB0OLbRfDhI5bM,20972809
72
+ certora_jars/CERTORA-CLI-VERSION-METADATA.json,sha256=P_oGSX2EDYSi3oUK7qFchwRxBtq9npnHNvlIoTRYIzk,144
73
+ certora_jars/Typechecker.jar,sha256=WuwClyJ0M5BV9_X2LXrGXEJp_cXFclLoCRGmX-Zhlv8,20934968
73
74
  certora_jars/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
74
- certora_cli_beta_mirror-8.4.1.dist-info/LICENSE,sha256=UGKSKIJSetF8m906JLKqNLkUS2CL60XfQdNvxBvpQXo,620
75
- certora_cli_beta_mirror-8.4.1.dist-info/METADATA,sha256=Mr1J2VrDcor8wTtGoMbxriQ541tjfeHXaRPXooRERIA,1286
76
- certora_cli_beta_mirror-8.4.1.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
77
- certora_cli_beta_mirror-8.4.1.dist-info/entry_points.txt,sha256=ClZiFkCYDdK25_ufxZvnE2Rx_kNk1_4vj7KpgYUKxGM,509
78
- certora_cli_beta_mirror-8.4.1.dist-info/top_level.txt,sha256=8C77w3JLanY0-NW45vpJsjRssyCqVP-qmPiN9FjWiX4,38
79
- certora_cli_beta_mirror-8.4.1.dist-info/RECORD,,
75
+ certora_cli_beta_mirror-8.4.2.dist-info/LICENSE,sha256=UGKSKIJSetF8m906JLKqNLkUS2CL60XfQdNvxBvpQXo,620
76
+ certora_cli_beta_mirror-8.4.2.dist-info/METADATA,sha256=L78T7D5oFXi5DL_Zx7T3Pq8i7L5dQeWk8V57xnSafrg,1286
77
+ certora_cli_beta_mirror-8.4.2.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
78
+ certora_cli_beta_mirror-8.4.2.dist-info/entry_points.txt,sha256=YXGQmR4tGdYD9lLdG_TEJkmVNrRauCtCDE88HwvO2Jo,569
79
+ certora_cli_beta_mirror-8.4.2.dist-info/top_level.txt,sha256=8C77w3JLanY0-NW45vpJsjRssyCqVP-qmPiN9FjWiX4,38
80
+ certora_cli_beta_mirror-8.4.2.dist-info/RECORD,,
@@ -7,3 +7,4 @@ certoraRanger = certora_cli.certoraRanger:entry_point
7
7
  certoraRun = certora_cli.certoraRun:entry_point
8
8
  certoraSolanaProver = certora_cli.certoraSolanaProver:entry_point
9
9
  certoraSorobanProver = certora_cli.certoraSorobanProver:entry_point
10
+ certoraSuiProver = certora_cli.certoraSuiProver:entry_point
Binary file
@@ -1 +1 @@
1
- {"name": "certora-cli-beta-mirror", "tag": "8.4.1", "branch": "", "commit": "6df223c", "timestamp": "20251021.7.13.438699", "version": "8.4.1"}
1
+ {"name": "certora-cli-beta-mirror", "tag": "8.4.2", "branch": "", "commit": "b945191", "timestamp": "20251024.12.37.646479", "version": "8.4.2"}
Binary file