From 8301bf22a33500b1554fc9932c729fa533542c18 Mon Sep 17 00:00:00 2001 From: baku-ccron Date: Sat, 12 Sep 2026 14:24:55 +0000 Subject: [PATCH] Bump rain-math-float 0.1.1 -> 0.2.1 `IRaindexV6.sol` and the deprecated `IOrderBookV5.sol` import `Float` from `rain-math-float-0.1.1/`. `rainlang` 0.2.x spells `rain-math-float-0.2.1/` and Soldeer installs one version per package name, so a consumer holding both cannot resolve one `Float` type. `LibDecimalFloat.sol` is API-identical between 0.1.1 and 0.2.1; the concrete `DecimalFloat` and its deploy lib moved to `rain-math-float-deploy`, neither of which this repo reaches. `forge soldeer update` regenerated `soldeer.lock` and `remappings.txt`; the superseded `rain-math-float-0.1.1/` line and dir are pruned. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01V8ViHcKLVk2YoS2joH4HdN --- foundry.toml | 2 +- remappings.txt | 2 +- soldeer.lock | 8 ++++---- src/interface/IRaindexV6.sol | 2 +- src/interface/deprecated/v5/IOrderBookV5.sol | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/foundry.toml b/foundry.toml index 7f1cfba..26116ea 100644 --- a/foundry.toml +++ b/foundry.toml @@ -30,7 +30,7 @@ evm_version = "cancun" [dependencies] forge-std = "1.16.1" "rainlang-interface" = "0.2.8" -rain-math-float = "0.1.1" +rain-math-float = "0.2.1" "@openzeppelin-contracts" = "5.6.1" rain-lib-hash = "0.1.0" rain-math-binary = "0.1.4" diff --git a/remappings.txt b/remappings.txt index 7f4ab0d..6df0963 100644 --- a/remappings.txt +++ b/remappings.txt @@ -2,7 +2,7 @@ forge-std-1.16.1/=dependencies/forge-std-1.16.1/ rain-lib-hash-0.1.0/=dependencies/rain-lib-hash-0.1.0/ rain-math-binary-0.1.4/=dependencies/rain-math-binary-0.1.4/ -rain-math-float-0.1.1/=dependencies/rain-math-float-0.1.1/ +rain-math-float-0.2.1/=dependencies/rain-math-float-0.2.1/ rain-sol-codegen-0.1.0/=dependencies/rain-sol-codegen-0.1.0/ rain-solmem-0.1.28/=dependencies/rain-solmem-0.1.28/ rainlang-interface-0.2.8/=dependencies/rainlang-interface-0.2.8/ diff --git a/soldeer.lock b/soldeer.lock index 958445f..3b7205f 100644 --- a/soldeer.lock +++ b/soldeer.lock @@ -28,10 +28,10 @@ integrity = "857d22060d058ec173e88448c2d44f0cb884b2381669d0dbe1d3bebb168715ea" [[dependencies]] name = "rain-math-float" -version = "0.1.1" -url = "https://soldeer-revisions.s3.amazonaws.com/rain-math-float/0_1_1_13-05-2026_13:48:34_rain.math.zip" -checksum = "322956f272ae3073ee02b0e7301b8834f08f2de62bcd6c309c44e946d7cd7056" -integrity = "dccdd4406a37db6af690872b805084a7dbe5211c57961a61ef083a7912ddbdc9" +version = "0.2.1" +url = "https://soldeer-revisions.s3.amazonaws.com/rain-math-float/0_2_1_08-09-2026_07:26:32_rain.math.zip" +checksum = "d9433a80d1a546b73e80ba3ccda6e2a88e2986222522a6526173a1a0d5d13bef" +integrity = "c24a336446be885b680026d4e7d937e6d4559997a2cb0ee385f4c9be95990d77" [[dependencies]] name = "rain-sol-codegen" diff --git a/src/interface/IRaindexV6.sol b/src/interface/IRaindexV6.sol index fcd46d9..4cd05bd 100644 --- a/src/interface/IRaindexV6.sol +++ b/src/interface/IRaindexV6.sol @@ -31,7 +31,7 @@ import { QuoteV2 } from "./deprecated/v5/IOrderBookV5.sol"; -import {Float} from "rain-math-float-0.1.1/src/lib/LibDecimalFloat.sol"; +import {Float} from "rain-math-float-0.2.1/src/lib/LibDecimalFloat.sol"; /// Config for a list of orders to take sequentially as part of a `takeOrders` /// call. diff --git a/src/interface/deprecated/v5/IOrderBookV5.sol b/src/interface/deprecated/v5/IOrderBookV5.sol index b95edbc..4cf11f0 100644 --- a/src/interface/deprecated/v5/IOrderBookV5.sol +++ b/src/interface/deprecated/v5/IOrderBookV5.sol @@ -20,7 +20,7 @@ import { import {NoOrders, ZeroMaximumInput} from "../v4/IOrderBookV4.sol"; //forge-lint: disable-end(unused-import) -import {Float} from "rain-math-float-0.1.1/src/lib/LibDecimalFloat.sol"; +import {Float} from "rain-math-float-0.2.1/src/lib/LibDecimalFloat.sol"; /// Summary of the vault state changes due to clearing an order. NOT the state /// changes sent to the interpreter store, these are the LOCAL CHANGES in vault