From 061ddf3f26c7ff16dbf0092dfffc03f380f94f98 Mon Sep 17 00:00:00 2001 From: David Meister Date: Thu, 30 Jul 2026 17:10:48 +0000 Subject: [PATCH 1/2] =?UTF-8?q?chore(release):=20bump=20to=200.1.5=20?= =?UTF-8?q?=E2=80=94=200.1.4=20is=20already=20published,=20and=20main=20no?= =?UTF-8?q?w=20carries=20the=20new=20zoltuAddress=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- foundry.toml | 2 +- test/src/lib/MockDeployable.sol | 10 ++++++++++ test/src/lib/MockReverter.sol | 12 ++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 test/src/lib/MockDeployable.sol create mode 100644 test/src/lib/MockReverter.sol diff --git a/foundry.toml b/foundry.toml index 36966a8..235e090 100644 --- a/foundry.toml +++ b/foundry.toml @@ -1,6 +1,6 @@ [package] name = "rain-deploy" -version = "0.1.4" +version = "0.1.5" # SPDX-License-Identifier: LicenseRef-DCL-1.0 # SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd diff --git a/test/src/lib/MockDeployable.sol b/test/src/lib/MockDeployable.sol new file mode 100644 index 0000000..2309443 --- /dev/null +++ b/test/src/lib/MockDeployable.sol @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd +pragma solidity ^0.8.25; + +/// @title MockDeployable +/// Minimal contract used as a deployment target for Zoltu factory tests. +contract MockDeployable { + /// @notice Placeholder value to ensure the contract has non-trivial code. + uint256 public value = 42; +} diff --git a/test/src/lib/MockReverter.sol b/test/src/lib/MockReverter.sol new file mode 100644 index 0000000..32bb09d --- /dev/null +++ b/test/src/lib/MockReverter.sol @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd +pragma solidity ^0.8.25; + +/// @title MockReverter +/// Contract whose constructor always reverts, used to test DeployFailed with +/// success=false. +contract MockReverter { + constructor() { + revert(); + } +} From 54a3e984cd182e6ba6e962ab0929987636bc01a8 Mon Sep 17 00:00:00 2001 From: David Meister Date: Thu, 30 Jul 2026 17:11:13 +0000 Subject: [PATCH 2/2] =?UTF-8?q?fix(tree):=20drop=20the=20stale=20re-add=20?= =?UTF-8?q?of=20the=20moved=20mocks=20=E2=80=94=20staged=20leftovers,=20no?= =?UTF-8?q?t=20part=20of=20the=20bump?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/src/lib/MockDeployable.sol | 10 ---------- test/src/lib/MockReverter.sol | 12 ------------ 2 files changed, 22 deletions(-) delete mode 100644 test/src/lib/MockDeployable.sol delete mode 100644 test/src/lib/MockReverter.sol diff --git a/test/src/lib/MockDeployable.sol b/test/src/lib/MockDeployable.sol deleted file mode 100644 index 2309443..0000000 --- a/test/src/lib/MockDeployable.sol +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: LicenseRef-DCL-1.0 -// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd -pragma solidity ^0.8.25; - -/// @title MockDeployable -/// Minimal contract used as a deployment target for Zoltu factory tests. -contract MockDeployable { - /// @notice Placeholder value to ensure the contract has non-trivial code. - uint256 public value = 42; -} diff --git a/test/src/lib/MockReverter.sol b/test/src/lib/MockReverter.sol deleted file mode 100644 index 32bb09d..0000000 --- a/test/src/lib/MockReverter.sol +++ /dev/null @@ -1,12 +0,0 @@ -// SPDX-License-Identifier: LicenseRef-DCL-1.0 -// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd -pragma solidity ^0.8.25; - -/// @title MockReverter -/// Contract whose constructor always reverts, used to test DeployFailed with -/// success=false. -contract MockReverter { - constructor() { - revert(); - } -}