From 391d0c70b09b339d8be8809b1c7479c8cbbb243a Mon Sep 17 00:00:00 2001 From: thedavidmeister Date: Mon, 21 Oct 2024 20:50:40 +0400 Subject: [PATCH] udpate metadata --- lib/rain.metadata | 2 +- src/lib/op/math/LibOpSub.sol | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/rain.metadata b/lib/rain.metadata index 8d75b57c5..779f563bb 160000 --- a/lib/rain.metadata +++ b/lib/rain.metadata @@ -1 +1 @@ -Subproject commit 8d75b57c575f9e426f4937a55e11447577d32495 +Subproject commit 779f563bb6068b747d3029b384e0fceca9a7b697 diff --git a/src/lib/op/math/LibOpSub.sol b/src/lib/op/math/LibOpSub.sol index 490be7d50..e3a48cbfe 100644 --- a/src/lib/op/math/LibOpSub.sol +++ b/src/lib/op/math/LibOpSub.sol @@ -5,7 +5,7 @@ import {Operand} from "rain.interpreter.interface/interface/IInterpreterV3.sol"; import {Pointer} from "rain.solmem/lib/LibPointer.sol"; import {IntegrityCheckStateNP} from "../../integrity/LibIntegrityCheckNP.sol"; import {InterpreterStateNP} from "../../state/LibInterpreterStateNP.sol"; -import {SaturatingMath} from "rain.math.saturating/SaturatingMath.sol"; +import {LibSaturatingMath} from "rain.math.saturating/lib/LibSaturatingMath.sol"; /// @title LibOpSub /// @notice Opcode to subtract N integers. @@ -34,7 +34,7 @@ library LibOpSub { saturate := and(operand, 1) } function (uint256, uint256) internal pure returns (uint256) f = - saturate > 0 ? SaturatingMath.saturatingSub : sub; + saturate > 0 ? LibSaturatingMath.saturatingSub : sub; a = f(a, b); {