From 5a08983233d7e33b4dafefeb2a8525906955380a Mon Sep 17 00:00:00 2001 From: David Meister Date: Sat, 13 Jun 2026 13:46:38 +0000 Subject: [PATCH] fix: correct stale rainlang-0.1.2 import breaking the build on main PR #2705 added test/concrete/parser/RaindexV6SubParser.routingTokenDecimalsAndMasks.t.sol importing from rainlang-0.1.2/, but foundry.toml pins rainlang = "0.1.5". forge soldeer install only fetches 0.1.5, so forge compile dies with "Source \"rainlang-0.1.2/src/error/ErrSubParse.sol\" not found", reddening copy-artifacts and rainix-sol/{static,test} on main HEAD and every PR inheriting it. Bump only the two import lines in that one file to the pinned 0.1.5 (the same src/error/ErrSubParse.sol and src/lib/parse/LibSubParse.sol paths exist there; ContextGridOverflow and LibSubParse are unchanged). No logic, no other file, no foundry.toml touched. src/lib/LibRaindexSubParser.sol already imports LibSubParse from rainlang-0.1.5 successfully, confirming 0.1.5 is correct. Co-Authored-By: Claude Opus 4.8 --- .../RaindexV6SubParser.routingTokenDecimalsAndMasks.t.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/concrete/parser/RaindexV6SubParser.routingTokenDecimalsAndMasks.t.sol b/test/concrete/parser/RaindexV6SubParser.routingTokenDecimalsAndMasks.t.sol index 247de932d4..9d31916572 100644 --- a/test/concrete/parser/RaindexV6SubParser.routingTokenDecimalsAndMasks.t.sol +++ b/test/concrete/parser/RaindexV6SubParser.routingTokenDecimalsAndMasks.t.sol @@ -5,8 +5,8 @@ pragma solidity =0.8.25; import {Test} from "forge-std-1.16.1/src/Test.sol"; import {OperandV2} from "rain-interpreter-interface-0.1.0/src/interface/ISubParserV4.sol"; import {OPCODE_CONTEXT} from "rain-interpreter-interface-0.1.0/src/interface/IInterpreterV4.sol"; -import {ContextGridOverflow} from "rainlang-0.1.2/src/error/ErrSubParse.sol"; -import {LibSubParse} from "rainlang-0.1.2/src/lib/parse/LibSubParse.sol"; +import {ContextGridOverflow} from "rainlang-0.1.5/src/error/ErrSubParse.sol"; +import {LibSubParse} from "rainlang-0.1.5/src/lib/parse/LibSubParse.sol"; import {LibRaindexSubParser} from "../../../src/lib/LibRaindexSubParser.sol"; /// @title RaindexV6SubParserRoutingTokenDecimalsAndMasksTest