Skip to content

Commit

Permalink
revert literal validation in folding
Browse files Browse the repository at this point in the history
  • Loading branch information
tserg committed Nov 13, 2023
1 parent 7b38284 commit 78de745
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vyper/ast/folding.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def replace_literal_ops(vyper_module: vy_ast.Module) -> int:
# e.g. DynArray[uint256, 2 ** 8]
typ = node._metadata.get("type")
if typ:
vy_ast._validate_numeric_bounds(node, new_node.value)
new_node._metadata["type"] = node._metadata["type"]

changed_nodes += 1
Expand Down

0 comments on commit 78de745

Please sign in to comment.