Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,18 @@ remappings = [
# `etchZoltuFactory`/`deployZoltu`, which are unchanged in 0.1.7. Test-only:
# nothing under `src/` reaches rain-deploy, so no contract bytecode moves.
"rain-deploy-0.1.2/=dependencies/rain-deploy-0.1.7/",
# Same, for `rain-solmem`. This repo is on 0.1.26, while `rainlang` 0.1.5,
# `rain-interpreter-interface` 0.1.0, `rain-intorastring` 0.1.0 and
# `rain-lib-memkv` 0.1.0 still import solmem under the
# `rain-solmem-0.1.3/` prefix. Unlike the aliases above this one is NOT
# bytecode-neutral: solmem internals changed between 0.1.3 and 0.1.26, so
# the rolling `src/generated/candidate/` snapshot moves with it (the
# rolling-candidate model's job; regenerated in the same change as this
# alias). 0.1.26 deleted `LibStackPointer.sol`, but the only files under
# the old prefix that import it are two `rainlang` concrete test files
# (`LibOpBlockNumber.t.sol`, `LibOpBlockTimestamp.t.sol`) that nothing in
# this repo's compilation reaches.
"rain-solmem-0.1.3/=dependencies/rain-solmem-0.1.26/",
]

[dependencies]
Expand All @@ -99,7 +111,7 @@ raindex-interface = "0.1.3"
rain-metadata = "0.1.0"
rain-intorastring = "0.1.0"
rain-sol-codegen = "0.1.36"
rain-solmem = "0.1.3"
rain-solmem = "0.1.26"
rain-math-float = "0.1.1"
rain-tofu-erc20-decimals = "0.1.1"
rain-deploy = "0.1.7"
Expand Down
2 changes: 1 addition & 1 deletion remappings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rain-math-binary-0.1.1/=dependencies/rain-math-binary-0.1.1/
rain-math-float-0.1.1/=dependencies/rain-math-float-0.1.1/
rain-metadata-0.1.0/=dependencies/rain-metadata-0.1.0/
rain-sol-codegen-0.1.36/=dependencies/rain-sol-codegen-0.1.36/
rain-solmem-0.1.3/=dependencies/rain-solmem-0.1.3/
rain-solmem-0.1.26/=dependencies/rain-solmem-0.1.26/
rain-string-0.2.0/=dependencies/rain-string-0.2.0/
rain-tofu-erc20-decimals-0.1.1/=dependencies/rain-tofu-erc20-decimals-0.1.1/
raindex-interface-0.1.3/=dependencies/raindex-interface-0.1.3/
Expand Down
8 changes: 4 additions & 4 deletions soldeer.lock
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ integrity = "164e2655ac8b66bcf52c799421706d3dfaab987addaaeadd74574e70fd2eb6ed"

[[dependencies]]
name = "rain-solmem"
version = "0.1.3"
url = "https://soldeer-revisions.s3.amazonaws.com/rain-solmem/0_1_3_09-05-2026_19:49:33_rain.zip"
checksum = "1d405bb81f7c9e56d1717de0d60da918d2fc2fa4db083efd2abe9906378d019f"
integrity = "e879d2743f9d884f647b9dd489889a83f2cea5f76eb69409a113e1baa69d3643"
version = "0.1.26"
url = "https://soldeer-revisions.s3.amazonaws.com/rain-solmem/0_1_26_18-08-2026_16:20:17_rain.zip"
checksum = "291a0acf805b8acd65dfb9e848e6670bde158120bb5b0bcdeeaf17c4084a134c"
integrity = "54e56c1b10d05df72c1c3dcc8df92b99b9f01cd946363158b077c779ce4d20fa"

[[dependencies]]
name = "rain-string"
Expand Down
2 changes: 1 addition & 1 deletion src/concrete/parser/RaindexV6SubParser.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
IParserToolingV1
} from "rainlang-0.1.5/src/abstract/BaseRainlangSubParser.sol";
import {LibConvert} from "rain-lib-typecast-0.1.0/src/LibConvert.sol";
import {LibUint256Matrix} from "rain-solmem-0.1.3/src/lib/LibUint256Matrix.sol";
import {LibUint256Matrix} from "rain-solmem-0.1.26/src/lib/LibUint256Matrix.sol";

import {
LibRaindexSubParser,
Expand Down
8 changes: 4 additions & 4 deletions src/concrete/raindex/RaindexV6.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import {
StackItem,
EvalV4
} from "rain-interpreter-interface-0.1.0/src/interface/IInterpreterV4.sol";
import {LibUint256Array} from "rain-solmem-0.1.3/src/lib/LibUint256Array.sol";
import {LibUint256Matrix} from "rain-solmem-0.1.3/src/lib/LibUint256Matrix.sol";
import {LibUint256Array} from "rain-solmem-0.1.26/src/lib/LibUint256Array.sol";
import {LibUint256Matrix} from "rain-solmem-0.1.26/src/lib/LibUint256Matrix.sol";
import {IInterpreterStoreV3} from "rain-interpreter-interface-0.1.0/src/interface/IInterpreterStoreV3.sol";
import {LibNamespace} from "rain-interpreter-interface-0.1.0/src/lib/ns/LibNamespace.sol";
import {LibMeta} from "rain-metadata-0.1.0/src/lib/LibMeta.sol";
Expand Down Expand Up @@ -61,8 +61,8 @@ import {
CONTEXT_VAULT_IO_VAULT_ID
} from "../../lib/LibRaindex.sol";
import {RaindexV6FlashLender} from "../../abstract/RaindexV6FlashLender.sol";
import {LibBytes32Array} from "rain-solmem-0.1.3/src/lib/LibBytes32Array.sol";
import {LibBytes32Matrix} from "rain-solmem-0.1.3/src/lib/LibBytes32Matrix.sol";
import {LibBytes32Array} from "rain-solmem-0.1.26/src/lib/LibBytes32Array.sol";
import {LibBytes32Matrix} from "rain-solmem-0.1.26/src/lib/LibBytes32Matrix.sol";

import {LibFormatDecimalFloat} from "rain-math-float-0.1.1/src/lib/format/LibFormatDecimalFloat.sol";

Expand Down
4 changes: 2 additions & 2 deletions src/generated/RaindexV6SubParserPointers.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pragma solidity ^0.8.25;
// THIS FILE IS AUTOGENERATED BY THE BUILD SCRIPT. DO NOT EDIT BY HAND.

/// @dev Hash of the known bytecode.
bytes32 constant BYTECODE_HASH = bytes32(0x704aadc1ed56f63ff918ab219e6681a5d2851d774e2ee136bbe7904ea3b2fdcd);
bytes32 constant BYTECODE_HASH = bytes32(0x774bae1bbf3a2c98469fc7efceabf4520231b823c053b7992758866033a854e8);

/// @dev The hash of the meta that describes the contract.
bytes32 constant DESCRIBED_BY_META_HASH = bytes32(0xf2d0eca454c544ab10f9991c019349475a416e38494f112a50807174c3000d0b);
Expand Down Expand Up @@ -45,7 +45,7 @@ bytes constant SUB_PARSER_WORD_PARSERS =
/// These positional indexes all map to the same indexes looked up in the parse
/// meta.
bytes constant OPERAND_HANDLER_FUNCTION_POINTERS =
hex"1c391c391c391c391c391c391c391c391c391c391c391c391c391c391c391c391c391c621cfe1c391c391c391c391c391c391c391c391c391c391c391c391c39";
hex"1bec1bec1bec1bec1bec1bec1bec1bec1bec1bec1bec1bec1bec1bec1bec1bec1bec1c151cb11bec1bec1bec1bec1bec1bec1bec1bec1bec1bec1bec1bec1bec";

/// @dev Every two bytes is a function pointer for a literal parser.
/// Literal dispatches are determined by the first byte(s) of the literal
Expand Down
8 changes: 4 additions & 4 deletions src/generated/candidate/RaindexV6SubParser.sol

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/lib/LibRaindexSubParser.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pragma solidity ^0.8.19;

import {AuthoringMetaV2, OperandV2} from "rain-interpreter-interface-0.1.0/src/interface/ISubParserV4.sol";
import {LibUint256Matrix} from "rain-solmem-0.1.3/src/lib/LibUint256Matrix.sol";
import {LibUint256Matrix} from "rain-solmem-0.1.26/src/lib/LibUint256Matrix.sol";
import {LibSubParse} from "rainlang-0.1.5/src/lib/parse/LibSubParse.sol";
import {
CONTEXT_BASE_COLUMN,
Expand Down
Loading