Skip to content

Commit

Permalink
Merge branch 'master' into _update-deps/runtimeverification/k
Browse files Browse the repository at this point in the history
  • Loading branch information
rv-jenkins authored May 21, 2024
2 parents e79cbc4 + abbbb1e commit acf474a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kevm-pyk/src/kevm_pyk/kevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,10 @@ def abi_tuple(values: list[KInner]) -> KApply:
def abi_array(elem_type: KInner, length: KInner, elems: list[KInner]) -> KApply:
return KApply('abi_type_array', [elem_type, length, KEVM.typed_args(elems)])

@staticmethod
def as_word(b: KInner) -> KApply:
return KApply('#asWord(_)_EVM-TYPES_Int_Bytes', [b])

@staticmethod
def empty_typedargs() -> KApply:
return KApply('.List{"typedArgs"}')
Expand Down

0 comments on commit acf474a

Please sign in to comment.