Skip to content

Commit

Permalink
add CTermSymbolic instance to custom_step
Browse files Browse the repository at this point in the history
  • Loading branch information
anvacaru committed Dec 4, 2024
1 parent fdf363c commit 152ebad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kevm-pyk/src/kevm_pyk/kevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
from pathlib import Path
from typing import Final

from pyk.cterm import CTermSymbolic
from pyk.kast.inner import KAst, Subst
from pyk.kast.outer import KFlatModule
from pyk.kcfg import KCFG
Expand Down Expand Up @@ -144,7 +145,7 @@ def _replace(term: KInner) -> KInner:

return CTerm(config=bottom_up(_replace, cterm.config), constraints=cterm.constraints)

def custom_step(self, cterm: CTerm) -> KCFGExtendResult | None:
def custom_step(self, cterm: CTerm, _cterm_symbolic: CTermSymbolic) -> KCFGExtendResult | None:
"""Given a CTerm, update the JUMPDESTS_CELL and PROGRAM_CELL if the rule 'EVM.program.load' is at the top of the K_CELL.
:param cterm: CTerm of a proof node.
Expand Down

0 comments on commit 152ebad

Please sign in to comment.