Skip to content

Commit

Permalink
Remove todo
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Aug 14, 2024
1 parent 17de5f7 commit c465c16
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions boa_zksync/compiler_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ def __boa_debug__() {return_sig}:


def detect_expr_type(source_code, contract):
ast = parse_to_ast(source_code)
# TODO: Do we need to fold? vy_ast.folding.fold(ast)
ast = ast.body[0]
ast = parse_to_ast(source_code).body[0]
if isinstance(ast, vy_ast.Expr):
with contract.override_vyper_namespace():
try:
Expand Down

0 comments on commit c465c16

Please sign in to comment.