Open ritzdorf opened 1 month ago
vyper --version
0.3.10+commit.9136169
When a string is being generated using uint2str inside an assert it sometimes fails with a KeyError.
uint2str
assert
KeyError
@external def foo(): u: uint256 = 2000 # This succeeds s: String[100] = uint2str(max(u, 1000)) # This does not compile assert True, uint2str(max(u, 1000))
Fails with Error:
KeyError: 'type'
Version Information
vyper --version
OR linkable commit hash vyperlang/vyper@commitish):0.3.10+commit.9136169
Issue description
When a string is being generated using
uint2str
inside anassert
it sometimes fails with aKeyError
.PoC
Fails with Error: