Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
daejunpark committed Sep 13, 2024
1 parent 2256fb3 commit 546aee0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/halmos/calldata.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,16 @@ def get_dyn_sizes(self, name: str, typ: Type) -> tuple[list[int], BitVecRef]:

return (sizes, size_var)

def create(self, abi: dict, fun_info: FunctionInfo) -> tuple[ByteVec, list[DynamicParam]]:
"""Create calldata of the given function"""
def create(
self, abi: dict, fun_info: FunctionInfo
) -> tuple[ByteVec, list[DynamicParam]]:
"""
Create calldata of the given function.
Returns:
A tuple containing the generated calldata, and the size information
for all dynamic parameters included in the calldata.
"""

# function selector
calldata = ByteVec()
Expand Down

0 comments on commit 546aee0

Please sign in to comment.