certora-cli-alpha-master 20250104.1.43.670857__py3-none-macosx_10_9_universal2.whl → 20250105.15.10.766013__py3-none-macosx_10_9_universal2.whl

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of certora-cli-alpha-master might be problematic. Click here for more details.

@@ -1,5 +1,4 @@
1
1
  import glob
2
- import os
3
2
  import shutil
4
3
  from pathlib import Path
5
4
  from typing import Set
@@ -24,7 +23,7 @@ def build_rust_app(context: CertoraContext) -> None:
24
23
  # Create generators
25
24
  build_source_tree(sources, context)
26
25
 
27
- copy_files_to_build_dir(context, root_directory)
26
+ copy_files_to_build_dir(context)
28
27
 
29
28
  except Exception as e:
30
29
  raise Util.CertoraUserInputError(f"Collecting build files failed with the exception: {e}")
@@ -56,9 +55,14 @@ def collect_files_from_rust_sources(context: CertoraContext, sources: Set[Path],
56
55
  if context.conf_file and Path(context.conf_file).exists():
57
56
  sources.add(Path(context.conf_file).absolute())
58
57
 
58
+ additional_files = (getattr(context, 'solana_inlining', None) or []) + \
59
+ (getattr(context, 'solana_summaries', None) or [])
60
+ for file in additional_files:
61
+ sources.add(Path(file))
62
+
59
63
 
60
- def copy_files_to_build_dir(context: CertoraContext, root_directory: Path) -> None:
61
- rust_executable = root_directory / context.rust_executables
64
+ def copy_files_to_build_dir(context: CertoraContext) -> None:
65
+ rust_executable = Path(context.rust_project_directory) / context.rust_executables
62
66
  shutil.copyfile(rust_executable, Util.get_build_dir() / rust_executable.name)
63
67
 
64
68
  additional_files = (getattr(context, 'solana_inlining', None) or []) + \
@@ -67,8 +71,6 @@ def copy_files_to_build_dir(context: CertoraContext, root_directory: Path) -> No
67
71
  for file in additional_files:
68
72
  file_path = Path(file).resolve()
69
73
  shutil.copy(file_path, Util.get_build_dir() / file_path.name)
70
- shutil.copy(file_path,
71
- Util.get_certora_sources_dir() / os.path.relpath(file_path, context.rust_project_directory))
72
74
 
73
75
  if rust_logs := getattr(context, 'rust_logs_stdout', None):
74
76
  shutil.copy(Path(rust_logs), Util.get_build_dir() / Path(rust_logs).name)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: certora-cli-alpha-master
3
- Version: 20250104.1.43.670857
3
+ Version: 20250105.15.10.766013
4
4
  Summary: Runner for the Certora Prover
5
5
  Home-page: https://pypi.org/project/certora-cli-alpha-master
6
6
  Author: Certora
@@ -24,4 +24,4 @@ Requires-Dist: tomli
24
24
  Requires-Dist: universalmutator
25
25
  Requires-Dist: jinja2
26
26
 
27
- Commit 4a210cd. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
27
+ Commit bebd933. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
@@ -12,7 +12,7 @@ certora_cli/EVMVerifier/__init__.py,sha256=AJxj90KAGh1JqAsxKqDBTL2rFbqgtkhDfW_Xm
12
12
  certora_cli/EVMVerifier/certoraBuild.py,sha256=SNpafLfTRInMrns6OuI9WUrJXP7Yt4Fv53pUnpI_j60,203520
13
13
  certora_cli/EVMVerifier/certoraBuildCacheManager.py,sha256=ZSVCsdTkFFtawuNJ8VK3wJOb01Uyu5e8viPQ8wTziSQ,12563
14
14
  certora_cli/EVMVerifier/certoraBuildDataClasses.py,sha256=4IhvOA_fg-ij5RM9RRlvDDoS7imfp4Zru-AgHhxcHc0,13314
15
- certora_cli/EVMVerifier/certoraBuildRust.py,sha256=GN5r8avFmhXen8ugaOa0RDr8UK3a3Z0jCQB4ct8oPso,3305
15
+ certora_cli/EVMVerifier/certoraBuildRust.py,sha256=SzQyaY4X1z6bg9pyFrxNJmyiLi4yCbV-13hnJ69iuf4,3353
16
16
  certora_cli/EVMVerifier/certoraCloudIO.py,sha256=B8d_DKnDiKH1nkQhzToVyKwVEfa88luFg42dAorgw44,53976
17
17
  certora_cli/EVMVerifier/certoraCollectRunMetadata.py,sha256=selEf-p7UW8_70-AbPfa5659ki6WcGrBwfPkUQWKhFU,10322
18
18
  certora_cli/EVMVerifier/certoraCompilerParameters.py,sha256=PDKW3K_lNeRNPHisW0e5hYtfu6unDRjJUop-yItGHO0,762
@@ -57,12 +57,12 @@ certora_cli/Shared/certoraAttrUtil.py,sha256=hUi1ye5kIAHGZqCR1YbXayn5-ToZi3WAa4M
57
57
  certora_cli/Shared/certoraLogging.py,sha256=5Lx-XWKl7GnwnWi7KlwTLIfsEvUvCTZ8KeyfNyi_6RU,13323
58
58
  certora_cli/Shared/certoraUtils.py,sha256=WmVX8Hz5wMZ7WI2JhYavAilH1kO3fwKLUBsf4hQ4b-o,53676
59
59
  certora_cli/Shared/certoraValidateFuncs.py,sha256=qbN2h6MApnLucKvzfJ_dnBa135lLLTGE9Q7MlCBP3Fc,37204
60
- certora_jars/CERTORA-CLI-VERSION-METADATA.json,sha256=D5tuGETM9lyp9DMqQWXl9wV6rpWTv4GVfVbLS0-5xas,168
61
- certora_jars/Typechecker.jar,sha256=sfQvRTr52KesVsTnY6IMiMJUEzGz8D9opAL-hmHQpJE,16823265
60
+ certora_jars/CERTORA-CLI-VERSION-METADATA.json,sha256=MD8QxgQklw2PNSK76_aLY_OiMsbx3zkGexcOLdjSqtw,170
61
+ certora_jars/Typechecker.jar,sha256=w6CwgLB_FRJne8HL9VhHmbPRDr1pNU3PL7b-3pTdDl8,16823265
62
62
  certora_jars/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
63
- certora_cli_alpha_master-20250104.1.43.670857.dist-info/LICENSE,sha256=VeEBJLgfzZqyAUfjLoKUztf7KJBBUjtZ1ap99eQubOo,1065
64
- certora_cli_alpha_master-20250104.1.43.670857.dist-info/METADATA,sha256=TzQs6DVDWgs-bhDfB7OlqPsVKhdjGCyNfl3hOxs5yi0,859
65
- certora_cli_alpha_master-20250104.1.43.670857.dist-info/WHEEL,sha256=N3Zagyg8u7FcZiPCx4UnuNyRRYq7IQpu24eWYyuhGOQ,110
66
- certora_cli_alpha_master-20250104.1.43.670857.dist-info/entry_points.txt,sha256=x2dyit80wAtF72k5CQj9F5lnWZEmP9ioseqvrEGWyFc,389
67
- certora_cli_alpha_master-20250104.1.43.670857.dist-info/top_level.txt,sha256=8C77w3JLanY0-NW45vpJsjRssyCqVP-qmPiN9FjWiX4,38
68
- certora_cli_alpha_master-20250104.1.43.670857.dist-info/RECORD,,
63
+ certora_cli_alpha_master-20250105.15.10.766013.dist-info/LICENSE,sha256=VeEBJLgfzZqyAUfjLoKUztf7KJBBUjtZ1ap99eQubOo,1065
64
+ certora_cli_alpha_master-20250105.15.10.766013.dist-info/METADATA,sha256=D7jhJLWJ4-OZk7RFV54d84_jCzgN42KzaESEe8_9gwQ,860
65
+ certora_cli_alpha_master-20250105.15.10.766013.dist-info/WHEEL,sha256=N3Zagyg8u7FcZiPCx4UnuNyRRYq7IQpu24eWYyuhGOQ,110
66
+ certora_cli_alpha_master-20250105.15.10.766013.dist-info/entry_points.txt,sha256=x2dyit80wAtF72k5CQj9F5lnWZEmP9ioseqvrEGWyFc,389
67
+ certora_cli_alpha_master-20250105.15.10.766013.dist-info/top_level.txt,sha256=8C77w3JLanY0-NW45vpJsjRssyCqVP-qmPiN9FjWiX4,38
68
+ certora_cli_alpha_master-20250105.15.10.766013.dist-info/RECORD,,
@@ -1 +1 @@
1
- {"name": "certora-cli-alpha-master", "tag": "", "branch": "master", "commit": "4a210cd", "timestamp": "20250104.1.43.670857", "version": "20250104.1.43.670857+4a210cd"}
1
+ {"name": "certora-cli-alpha-master", "tag": "", "branch": "master", "commit": "bebd933", "timestamp": "20250105.15.10.766013", "version": "20250105.15.10.766013+bebd933"}
Binary file