Skip to content

[ICE]: Addition overflow cause error. #184

@Subway2023

Description

@Subway2023

sold version: sold 0.77.0+commit.32833737.Linux.g++

contract LiteralExpressionsExample1 {
    uint256 private constant TOTAL_SUPPLY = 1000000;
    function getInitialSupply() internal pure returns (uint256) {
        return TOTAL_SUPPLY + 115792089237316195423570985008687907853269984665640564039457584007913129639935;
    }
}
Instruction .FRAGMENT at :69:1: 
  Instruction PUSHINT at :71:2: Operation parameter arg 0 has the following problem: Parameter value is out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions