certora-cli-alpha-master 20241217.22.6.367707__py3-none-any.whl → 20241218.10.36.56715__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1577,7 +1577,17 @@ class CertoraBuildGenerator:
1577
1577
  while queue:
1578
1578
  pop = queue.pop(0)
1579
1579
  if isinstance(pop, dict) and node_id_attrb in pop:
1580
- container[int(pop[node_id_attrb])] = pop
1580
+ idAttr = pop[node_id_attrb]
1581
+ if isinstance(idAttr, int):
1582
+ container[int(idAttr)] = pop
1583
+ elif isinstance(idAttr, list) and len(idAttr) == 1 and isinstance(idAttr[0], int):
1584
+ # In the bug reported in https://certora.atlassian.net/browse/CERT-7643 the id field is a list
1585
+ # instead of a single integer - we except that the first element of the list is the actual id
1586
+ # and unpack it.
1587
+ container[int(idAttr[0])] = pop
1588
+ else:
1589
+ raise Exception(f"Unexpected type of attribute `{node_id_attrb}`, was {idAttr}, expected an integer or an int-typed list of length 1")
1590
+
1581
1591
  for key, value in pop.items():
1582
1592
  if (node_type_attrb in pop and
1583
1593
  pop[node_type_attrb] == "InlineAssembly" and key == "externalReferences"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: certora-cli-alpha-master
3
- Version: 20241217.22.6.367707
3
+ Version: 20241218.10.36.56715
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 885526e. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
26
+ Commit 1925879. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
@@ -6,7 +6,7 @@ certora_cli/certoraRun.py,sha256=rnczNnSoYRuUKOkIN7_0cRxjiVDK0x4NJxOT4KNkYdg,118
6
6
  certora_cli/certoraSolanaProver.py,sha256=3Vb05zd5PqkU5CmCNzYvmYfbC-hsmU6Tt390msjQlOc,5898
7
7
  certora_cli/rustMutator.py,sha256=wSE_4qDegDhItxHw7dtcFzDMgYCTsVxW4yFGxYRHlQc,14418
8
8
  certora_cli/EVMVerifier/__init__.py,sha256=AJxj90KAGh1JqAsxKqDBTL2rFbqgtkhDfW_XmxSHft0,159
9
- certora_cli/EVMVerifier/certoraBuild.py,sha256=omIs-4cQWR-IT3WTckXMZe9EZMyk2e-hSfRqG7iQJHo,203131
9
+ certora_cli/EVMVerifier/certoraBuild.py,sha256=TqPfOSjcuY0zWJYTx1d401zJdIbnLyECa9T5koXRKzM,203842
10
10
  certora_cli/EVMVerifier/certoraBuildCacheManager.py,sha256=ZSVCsdTkFFtawuNJ8VK3wJOb01Uyu5e8viPQ8wTziSQ,12563
11
11
  certora_cli/EVMVerifier/certoraBuildDataClasses.py,sha256=4IhvOA_fg-ij5RM9RRlvDDoS7imfp4Zru-AgHhxcHc0,13314
12
12
  certora_cli/EVMVerifier/certoraCloudIO.py,sha256=ZZDjMsSkp0ZN5IA1JczhJa2m16s0nC3DBcHHDv5J2kc,54931
@@ -53,12 +53,12 @@ certora_cli/Shared/certoraAttrUtil.py,sha256=IbIIvTbtPzmPSSrK7VIWZNitkz1iwvW_e0g
53
53
  certora_cli/Shared/certoraLogging.py,sha256=5Lx-XWKl7GnwnWi7KlwTLIfsEvUvCTZ8KeyfNyi_6RU,13323
54
54
  certora_cli/Shared/certoraUtils.py,sha256=8EGXrxfIxu34VTx46QeTx6tTYLdwpTLT9ulVQijmD9Y,53624
55
55
  certora_cli/Shared/certoraValidateFuncs.py,sha256=OOjPAkcfrURZDD4oDjOMBFTvY6wwQSXboXzu-47AUbY,36871
56
- certora_jars/CERTORA-CLI-VERSION-METADATA.json,sha256=6zNUiVK6JBUDjEOjWI8o2_hAtIlmP0HooEkpkR6Ux2k,168
57
- certora_jars/Typechecker.jar,sha256=7PO8a3Xmo4nZDLRGJWl0qWNwr__W8Ugh9P7i6nGFovY,16680403
56
+ certora_jars/CERTORA-CLI-VERSION-METADATA.json,sha256=kI-ZC_i8Aa-56FbJY1AYIbR9h_-fvt2v1sk3pIjAjSA,170
57
+ certora_jars/Typechecker.jar,sha256=7IgxJ9ZoF88wF0e3IiwOTKjioLam_PF_PFcviB0IwTU,16680403
58
58
  certora_jars/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
59
- certora_cli_alpha_master-20241217.22.6.367707.dist-info/LICENSE,sha256=VeEBJLgfzZqyAUfjLoKUztf7KJBBUjtZ1ap99eQubOo,1065
60
- certora_cli_alpha_master-20241217.22.6.367707.dist-info/METADATA,sha256=7_NLom5B2QuEWTkxUGun_M5QmV0k3ogX_yfWb0cniUY,837
61
- certora_cli_alpha_master-20241217.22.6.367707.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
62
- certora_cli_alpha_master-20241217.22.6.367707.dist-info/entry_points.txt,sha256=Y90wInBDlKPSU3YnuTn3JqAsSgPRTDHc8lf6BfKILjY,261
63
- certora_cli_alpha_master-20241217.22.6.367707.dist-info/top_level.txt,sha256=8C77w3JLanY0-NW45vpJsjRssyCqVP-qmPiN9FjWiX4,38
64
- certora_cli_alpha_master-20241217.22.6.367707.dist-info/RECORD,,
59
+ certora_cli_alpha_master-20241218.10.36.56715.dist-info/LICENSE,sha256=VeEBJLgfzZqyAUfjLoKUztf7KJBBUjtZ1ap99eQubOo,1065
60
+ certora_cli_alpha_master-20241218.10.36.56715.dist-info/METADATA,sha256=4f0OZbnrBR9_iFFxiwPdbFxmByrJmyTaB2PZzFwLNx4,837
61
+ certora_cli_alpha_master-20241218.10.36.56715.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
62
+ certora_cli_alpha_master-20241218.10.36.56715.dist-info/entry_points.txt,sha256=Y90wInBDlKPSU3YnuTn3JqAsSgPRTDHc8lf6BfKILjY,261
63
+ certora_cli_alpha_master-20241218.10.36.56715.dist-info/top_level.txt,sha256=8C77w3JLanY0-NW45vpJsjRssyCqVP-qmPiN9FjWiX4,38
64
+ certora_cli_alpha_master-20241218.10.36.56715.dist-info/RECORD,,
@@ -1 +1 @@
1
- {"name": "certora-cli-alpha-master", "tag": "", "branch": "master", "commit": "885526e", "timestamp": "20241217.22.6.367707", "version": "20241217.22.6.367707+885526e"}
1
+ {"name": "certora-cli-alpha-master", "tag": "", "branch": "master", "commit": "1925879", "timestamp": "20241218.10.36.056715", "version": "20241218.10.36.056715+1925879"}
Binary file