diff --git a/src/generated/RainterpreterParserNPE2.pointers.sol b/src/generated/RainterpreterParserNPE2.pointers.sol index aedd8ea5..0eee15f5 100644 --- a/src/generated/RainterpreterParserNPE2.pointers.sol +++ b/src/generated/RainterpreterParserNPE2.pointers.sol @@ -9,7 +9,7 @@ pragma solidity =0.8.25; /// @dev Hash of the known bytecode. -bytes32 constant BYTECODE_HASH = bytes32(0xd8315c246d10aebf39bd05e34e371579c45ebd604dc8ef3ffc5e8a236aeefd5c); +bytes32 constant BYTECODE_HASH = bytes32(0xd1948bb7e94dbb24233c0ea2e1f7b9b27a6ef3fa037a9abf2a6468f1fd59ed1c); /// @dev The parse meta that is used to lookup word definitions. /// The structure of the parse meta is: diff --git a/src/generated/RainterpreterReferenceExternNPE2.pointers.sol b/src/generated/RainterpreterReferenceExternNPE2.pointers.sol index d9143c38..b6ea1752 100644 --- a/src/generated/RainterpreterReferenceExternNPE2.pointers.sol +++ b/src/generated/RainterpreterReferenceExternNPE2.pointers.sol @@ -9,7 +9,7 @@ pragma solidity =0.8.25; /// @dev Hash of the known bytecode. -bytes32 constant BYTECODE_HASH = bytes32(0x155b1207e5b24d9bcdd5de83fc1a9b543a3017dc1b9fb97674998f90cef422af); +bytes32 constant BYTECODE_HASH = bytes32(0xb547492879748f5c8639d62afd5080c5d15ea504fba30fe9f2fd48a27dbc1187); /// @dev The hash of the meta that describes the contract. bytes32 constant DESCRIBED_BY_META_HASH = bytes32(0xadf71693c6ecf3fd560904bc46973d1b6e651440d15366673f9b3984749e7c16); diff --git a/src/lib/parse/literal/LibParseLiteralDecimal.sol b/src/lib/parse/literal/LibParseLiteralDecimal.sol index f4338c2f..ea78ee51 100644 --- a/src/lib/parse/literal/LibParseLiteralDecimal.sol +++ b/src/lib/parse/literal/LibParseLiteralDecimal.sol @@ -35,8 +35,8 @@ library LibParseLiteralDecimal { uint256 isNeg = LibParseChar.isMask(cursor, end, CMASK_NEGATIVE_SIGN); cursor += isNeg; - (bool success, uint256 value) = LibParseDecimal.unsafeDecimalStringToInt(cursor, end); - if (!success) { + (uint256 success, uint256 value) = LibParseDecimal.unsafeDecimalStringToInt(cursor, end); + if (success == 0) { revert DecimalLiteralOverflow(state.parseErrorOffset(start)); }