Skip to content

Commit

Permalink
pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Nov 1, 2024
1 parent 3b8056a commit ceee4ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/generated/RainterpreterParserNPE2.pointers.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/lib/parse/literal/LibParseLiteralDecimal.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit ceee4ca

Please sign in to comment.