Skip to content

Commit

Permalink
fix poc
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Jan 16, 2025
1 parent 298aa07 commit 08c286a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/functional/codegen/types/test_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,8 @@ def test_string_copy_oog2(env, get_contract, tx_failed):
@external
@view
def foo(x: String[1000000]) -> uint256:
return len(x)
y: String[1000000] = x
return len(y)
"""
c = get_contract(code)
calldata = "a" * 1000000
Expand Down

0 comments on commit 08c286a

Please sign in to comment.