Skip to content

Commit dc2d146

Browse files
update deps
1 parent bb44244 commit dc2d146

File tree

6 files changed

+24
-24
lines changed

6 files changed

+24
-24
lines changed

src/generated/Rainterpreter.pointers.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ pragma solidity ^0.8.25;
1010
// file needs the contract to exist so that it can be compiled.
1111

1212
/// @dev Hash of the known bytecode.
13-
bytes32 constant BYTECODE_HASH = bytes32(0x148bacd9fea04b6fca1996ceeca380590f7df8ae88c1228307de8e14db98faa5);
13+
bytes32 constant BYTECODE_HASH = bytes32(0xd58dd3ee27244854fdd5f74d50b75bee14b4fca4de91a5624574135a12d435dc);
1414

1515
/// @dev The function pointers known to the interpreter for dynamic dispatch.
1616
/// By setting these as a constant they can be inlined into the interpreter
1717
/// and loaded at eval time for very low gas (~100) due to the compiler
1818
/// optimising it to a single `codecopy` to build the in memory bytes array.
1919
bytes constant OPCODE_FUNCTION_POINTERS =
20-
hex"0864089608ba0a390ae80afa0b0c0b250b490b7d0b8e0b9f0c410c600cf80d820df90f0810080cf810e711731208127312841295129512a612fc13d81442145b146f14b914d214eb150f1525153e155715a015c715da163c168a16d817261774178218361859186718f61927196b1990199e19ac19fd1a321a401a8e1abf1af01b3e1b6f1b871c161c431c661cf51dde";
20+
hex"084c087e08a20a1a0ac70ad90aeb0b030b260b590b6a0b7b0c1c0c3b0cd00d570dca0ed20fcb0cd010a2112911bb1222123312441244125512aa138113e914011415145d1475148d14b114c614de14f6153e1564157615d71624167116be170b171817cb17ed17fa188818b918fc1920192d193a198a19be19cb1a181a491a7a1ac71af81b101b9e1bca1bec1c7a1d5e";

src/generated/RainterpreterExpressionDeployer.pointers.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ pragma solidity ^0.8.25;
1010
// file needs the contract to exist so that it can be compiled.
1111

1212
/// @dev Hash of the known bytecode.
13-
bytes32 constant BYTECODE_HASH = bytes32(0xddb67ea8aaa24f161feaaa0de916cd6d911a57af11bacdaeef24d5e08080161f);
13+
bytes32 constant BYTECODE_HASH = bytes32(0x10b783747842a4ffe53f051096cee230c6af8f86f07d8597421cda77b7959bbe);
1414

1515
/// @dev The hash of the meta that describes the contract.
1616
bytes32 constant DESCRIBED_BY_META_HASH = bytes32(0xb2500441a27ea683f814327be6e43c90f516b8f033203ad3e0ba2cde847fb0ba);
1717

1818
/// @dev The function pointers for the integrity check fns.
1919
bytes constant INTEGRITY_FUNCTION_POINTERS =
20-
hex"0dea0e680ecc102c10361036104010491064110a110a116611de11eb1036104011eb103610401036103610361040102c102c102c102c11f5121a12341036103611f51036103611eb10401036103611eb11eb102c123e123e123e123e123e1040123e103610401258102c1040104010401040103610401040123e102c102c123e102c102c125810361040125810401234";
20+
hex"0d7f0dfb0e5e0fba0fc30fc30fcd0fd60ff01095109510f0116711740fc30fcd11740fc30fcd0fc30fc30fc30fcd0fba0fba0fba0fba117e11a211bb0fc30fc3117e0fc30fc311740fcd0fc30fc3117411740fba11c411c411c411c411c40fcd11c40fc30fcd11dd0fba0fcd0fcd0fcd0fcd0fc30fcd0fcd11c40fba0fba11c40fba0fba11dd0fc30fcd11dd0fcd11bb";

src/generated/RainterpreterParser.pointers.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pragma solidity ^0.8.25;
1010
// file needs the contract to exist so that it can be compiled.
1111

1212
/// @dev Hash of the known bytecode.
13-
bytes32 constant BYTECODE_HASH = bytes32(0xc3d889bb6ac3e2483e044761afe377bcc86ad4bdb6912612e38297a4ef34eed5);
13+
bytes32 constant BYTECODE_HASH = bytes32(0x7e2614632ccb1896ce910e97fb0c4a90c6c4e61771aead0d21a0fa298fd44443);
1414

1515
/// @dev The parse meta that is used to lookup word definitions.
1616
/// The structure of the parse meta is:
@@ -39,11 +39,11 @@ uint8 constant PARSE_META_BUILD_DEPTH = 2;
3939
/// These positional indexes all map to the same indexes looked up in the parse
4040
/// meta.
4141
bytes constant OPERAND_HANDLER_FUNCTION_POINTERS =
42-
hex"1989198919891a301b041b041b041a301a301989198919891b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b041b0419891b041b04";
42+
hex"192b192b192b19ce1a9f1a9f1a9f19ce19ce192b192b192b1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f1a9f192b1a9f1a9f";
4343

4444
/// @dev Every two bytes is a function pointer for a literal parser.
4545
/// Literal dispatches are determined by the first byte(s) of the literal
4646
/// rather than a full word lookup, and are done with simple conditional
4747
/// jumps as the possibilities are limited compared to the number of words we
4848
/// have.
49-
bytes constant LITERAL_PARSER_FUNCTION_POINTERS = hex"1547171f176217e4";
49+
bytes constant LITERAL_PARSER_FUNCTION_POINTERS = hex"14f816cb170b1789";

src/generated/RainterpreterReferenceExtern.pointers.sol

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pragma solidity ^0.8.25;
1010
// file needs the contract to exist so that it can be compiled.
1111

1212
/// @dev Hash of the known bytecode.
13-
bytes32 constant BYTECODE_HASH = bytes32(0x4e5e0c85082c3325eb262c3c8792301bc657f1ac4ae6bbb9bdbae1e5eac73618);
13+
bytes32 constant BYTECODE_HASH = bytes32(0x32eda76cb06f05f52b9bc78dac37bfbb156af023b6d612265e829f0c3dd1fe84);
1414

1515
/// @dev The hash of the meta that describes the contract.
1616
bytes32 constant DESCRIBED_BY_META_HASH = bytes32(0xadf71693c6ecf3fd560904bc46973d1b6e651440d15366673f9b3984749e7c16);
@@ -43,25 +43,25 @@ uint8 constant PARSE_META_BUILD_DEPTH = 1;
4343
/// bytecode that dials back into this contract at eval time, and mapping
4444
/// to things that happen entirely on the interpreter such as well known
4545
/// constants and references to the context grid.
46-
bytes constant SUB_PARSER_WORD_PARSERS = hex"070b072d073c074c075d";
46+
bytes constant SUB_PARSER_WORD_PARSERS = hex"06ed070d071b07290738";
4747

4848
/// @dev Every two bytes is a function pointer for an operand handler.
4949
/// These positional indexes all map to the same indexes looked up in the parse
5050
/// meta.
51-
bytes constant OPERAND_HANDLER_FUNCTION_POINTERS = hex"0cb90cfe0cb90cb90cb9";
51+
bytes constant OPERAND_HANDLER_FUNCTION_POINTERS = hex"0c720cb40c720c720c72";
5252

5353
/// @dev Every two bytes is a function pointer for a literal parser.
5454
/// Literal dispatches are determined by the first byte(s) of the literal
5555
/// rather than a full word lookup, and are done with simple conditional
5656
/// jumps as the possibilities are limited compared to the number of words we
5757
/// have.
58-
bytes constant LITERAL_PARSER_FUNCTION_POINTERS = hex"0c8a";
58+
bytes constant LITERAL_PARSER_FUNCTION_POINTERS = hex"0c44";
5959

6060
/// @dev The function pointers for the integrity check fns.
61-
bytes constant INTEGRITY_FUNCTION_POINTERS = hex"0b46";
61+
bytes constant INTEGRITY_FUNCTION_POINTERS = hex"0b06";
6262

6363
/// @dev The function pointers known to the interpreter for dynamic dispatch.
6464
/// By setting these as a constant they can be inlined into the interpreter
6565
/// and loaded at eval time for very low gas (~100) due to the compiler
6666
/// optimising it to a single `codecopy` to build the in memory bytes array.
67-
bytes constant OPCODE_FUNCTION_POINTERS = hex"07ff";
67+
bytes constant OPCODE_FUNCTION_POINTERS = hex"07d7";

src/generated/RainterpreterStore.pointers.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ pragma solidity ^0.8.25;
1010
// file needs the contract to exist so that it can be compiled.
1111

1212
/// @dev Hash of the known bytecode.
13-
bytes32 constant BYTECODE_HASH = bytes32(0x7329a063f432611fe994e093d4e06b1c2af50a66531606c6978406b60b7f0373);
13+
bytes32 constant BYTECODE_HASH = bytes32(0x0504fb2004eb1cad882a8eb495be50b9f2beacdc99e0b0d6b7d3eb1e32854210);

test/src/lib/parse/LibParseOperand.parseOperand.t.sol

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ contract LibParseOperandParseOperandTest is Test {
7878
// Casting an int256 to uint256 does not truncate, and is required to
7979
// build a hex string.
8080
//forge-lint: disable-next-line(unsafe-typecast)
81-
string memory valueString = asHex ? uint256(value).toHexString() : value.toString();
81+
string memory valueString = asHex ? uint256(value).toHexString() : value.toStringSigned();
8282
string memory s = string.concat("<", maybeWhitespaceA, valueString, maybeWhitespaceB, ">", suffix);
8383

8484
bytes32[] memory expectedValues = new bytes32[](1);
@@ -117,9 +117,9 @@ contract LibParseOperandParseOperandTest is Test {
117117
// Casting an int256 to uint256 does not truncate, and is required to
118118
// build a hex string.
119119
//forge-lint: disable-next-line(unsafe-typecast)
120-
string memory valueAString = asHexA ? uint256(valueA).toHexString() : valueA.toString();
120+
string memory valueAString = asHexA ? uint256(valueA).toHexString() : valueA.toStringSigned();
121121
//forge-lint: disable-next-line(unsafe-typecast)
122-
string memory valueBString = asHexB ? uint256(valueB).toHexString() : valueB.toString();
122+
string memory valueBString = asHexB ? uint256(valueB).toHexString() : valueB.toStringSigned();
123123

124124
string memory s = string.concat(
125125
"<", maybeWhitespaceA, valueAString, maybeWhitespaceB, valueBString, maybeWhitespaceC, ">", suffix
@@ -174,11 +174,11 @@ contract LibParseOperandParseOperandTest is Test {
174174
// Casting an int256 to uint256 does not truncate, and is required to
175175
// build a hex string.
176176
//forge-lint: disable-next-line(unsafe-typecast)
177-
string memory valueAString = asHexA ? uint256(valueA).toHexString() : valueA.toString();
177+
string memory valueAString = asHexA ? uint256(valueA).toHexString() : valueA.toStringSigned();
178178
//forge-lint: disable-next-line(unsafe-typecast)
179-
string memory valueBString = asHexB ? uint256(valueB).toHexString() : valueB.toString();
179+
string memory valueBString = asHexB ? uint256(valueB).toHexString() : valueB.toStringSigned();
180180
//forge-lint: disable-next-line(unsafe-typecast)
181-
string memory valueCString = asHexC ? uint256(valueC).toHexString() : valueC.toString();
181+
string memory valueCString = asHexC ? uint256(valueC).toHexString() : valueC.toStringSigned();
182182

183183
s = string.concat(
184184
string.concat(
@@ -236,10 +236,10 @@ contract LibParseOperandParseOperandTest is Test {
236236
+ bytes(maybeWhitespace[2]).length + bytes(maybeWhitespace[3]).length + bytes(maybeWhitespace[4]).length;
237237
}
238238

239-
string memory valueAString = asHex[0] ? uint256(values[0]).toHexString() : values[0].toString();
240-
string memory valueBString = asHex[1] ? uint256(values[1]).toHexString() : values[1].toString();
241-
string memory valueCString = asHex[2] ? uint256(values[2]).toHexString() : values[2].toString();
242-
string memory valueDString = asHex[3] ? uint256(values[3]).toHexString() : values[3].toString();
239+
string memory valueAString = asHex[0] ? uint256(values[0]).toHexString() : values[0].toStringSigned();
240+
string memory valueBString = asHex[1] ? uint256(values[1]).toHexString() : values[1].toStringSigned();
241+
string memory valueCString = asHex[2] ? uint256(values[2]).toHexString() : values[2].toStringSigned();
242+
string memory valueDString = asHex[3] ? uint256(values[3]).toHexString() : values[3].toStringSigned();
243243

244244
{
245245
expectedLength += bytes(valueAString).length + bytes(valueBString).length + bytes(valueCString).length

0 commit comments

Comments
 (0)