vyper icon indicating copy to clipboard operation
vyper copied to clipboard

New decimal bounds throwing overflow error

Open tserg opened this issue 2 years ago • 0 comments

Version Information

  • vyper Version (output of vyper --version): 0.3.2.fbf0c2d2
  • OS: linux
  • Python Version (output of python --version): 3.8.5

What's your issue about?

This contract deploys, but an OverflowError is thrown when called in Brownie console.

@external
@view
def foo() -> decimal:
    b: decimal = 18707220957835557353007165858768422651595.9365500927
    return b

How can it be fixed?

Fill this in if you know how to fix it.

tserg avatar Apr 16 '22 07:04 tserg