From 78de745cbb29006295a03056b858eeb37d64e87a Mon Sep 17 00:00:00 2001 From: tserg <8017125+tserg@users.noreply.github.com> Date: Mon, 13 Nov 2023 22:19:24 +0800 Subject: [PATCH] revert literal validation in folding --- vyper/ast/folding.py | 1 - 1 file changed, 1 deletion(-) diff --git a/vyper/ast/folding.py b/vyper/ast/folding.py index 598eafbdb6..17ae0a9da7 100644 --- a/vyper/ast/folding.py +++ b/vyper/ast/folding.py @@ -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