Skip to content

Commit 83fd11b

Browse files
committed
kevm-pyk/__main__: make sure to add expanded attribute to explored nodes
1 parent 7d5c5af commit 83fd11b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kevm-pyk/src/kevm_pyk/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ def prove_it(_id_and_cfg: Tuple[str, Tuple[KCFG, Path]]) -> bool:
369369
_claim = KCFG.Edge(_init_node, _target_node, mlTop(), -1).to_claim()
370370
_claim_id = _cfg_id.replace('.', '-').replace('_', '-')
371371
ret, result = KProve_prove_claim(foundry, _claim, _claim_id, _LOGGER, depth=depth, lemmas=lemma_rules)
372+
_cfg.add_expanded(_init_node.id)
372373
if is_top(result):
373374
_cfg.create_edge(_cfg.get_unique_init().id, _cfg.get_unique_target().id, mlTop(), -1)
374375
_LOGGER.info(f'Proof passed: {_cfg_id}')

0 commit comments

Comments
 (0)