Skip to content

Commit baf9a9e

Browse files
tests: use relative path in utils contracts (#1169)
* tests: use relative path in Utility contracts * docs: update changelog and bump npm version * test: use 2.0.1 in BaseScript.t.sol * test: rename DeployOptimized.sol to DeployOptimized.t.sol * docs: update changelog * docs: update changelog Co-authored-by: Andrei Vlad Birgaoanu <[email protected]> --------- Co-authored-by: Andrei Vlad Birgaoanu <[email protected]>
1 parent e4ad4f9 commit baf9a9e

File tree

7 files changed

+17
-5
lines changed

7 files changed

+17
-5
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Common Changelog](https://common-changelog.org/).
66

7+
[2.0.1]: https://github.com/sablier-labs/lockup/compare/v2.0.0...v2.0.1
78
[2.0.0]: https://github.com/sablier-labs/lockup/compare/v1.2.0...v2.0.0
89
[1.2.0]: https://github.com/sablier-labs/lockup/compare/v1.1.2...v1.2.0
910
[1.1.2]: https://github.com/sablier-labs/lockup/compare/v1.1.1...v1.1.2
@@ -13,6 +14,17 @@ The format is based on [Common Changelog](https://common-changelog.org/).
1314
[1.0.1]: https://github.com/sablier-labs/lockup/compare/v1.0.0...v1.0.1
1415
[1.0.0]: https://github.com/sablier-labs/lockup/releases/tag/v1.0.0
1516

17+
## [2.0.1] - 2025-02-05
18+
19+
### Changed
20+
21+
- Use relative path to import source contracts in test utils files
22+
([#1169](https://github.com/sablier-labs/lockup/pull/1169))
23+
24+
### Removed
25+
26+
- Remove `DeployOptimized.sol` from npm package ([#1169](https://github.com/sablier-labs/lockup/pull/1169))
27+
1628
## [2.0.0] - 2025-01-28
1729

1830
### Changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@sablier/lockup",
33
"description": "Core smart contracts of the Lockup token distribution protocol",
44
"license": "BUSL-1.1",
5-
"version": "2.0.0",
5+
"version": "2.0.1",
66
"author": {
77
"name": "Sablier Labs Ltd",
88
"url": "https://sablier.com"

tests/Base.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { ContractWithoutReceive, ContractWithReceive } from "./mocks/Receive.sol
2020
import { Assertions } from "./utils/Assertions.sol";
2121
import { Calculations } from "./utils/Calculations.sol";
2222
import { Defaults } from "./utils/Defaults.sol";
23-
import { DeployOptimized } from "./utils/DeployOptimized.sol";
23+
import { DeployOptimized } from "./utils/DeployOptimized.t.sol";
2424
import { Modifiers } from "./utils/Modifiers.sol";
2525
import { Users } from "./utils/Types.sol";
2626

tests/utils/BaseScript.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ contract BaseScript_Test is StdAssertions {
1717

1818
function test_ConstructCreate2Salt() public view {
1919
string memory chainId = block.chainid.toString();
20-
string memory version = "2.0.0";
20+
string memory version = "2.0.1";
2121
string memory salt = string.concat("ChainID ", chainId, ", Version ", version);
2222

2323
bytes32 actualSalt = baseScript.constructCreate2Salt();

tests/utils/BatchLockupBuilder.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
22
pragma solidity >=0.8.22;
33

4-
import { BatchLockup, Lockup, LockupDynamic, LockupLinear, LockupTranched } from "src/types/DataTypes.sol";
4+
import { BatchLockup, Lockup, LockupDynamic, LockupLinear, LockupTranched } from "../../src/types/DataTypes.sol";
55

66
library BatchLockupBuilder {
77
/// @notice Generates an array containing `batchSize` copies of `batchSingle`.

tests/utils/Modifiers.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
22
pragma solidity >=0.8.22;
33

4-
import { ISablierLockup } from "src/interfaces/ISablierLockup.sol";
4+
import { ISablierLockup } from "../../src/interfaces/ISablierLockup.sol";
55

66
import { Defaults } from "./Defaults.sol";
77
import { Fuzzers } from "./Fuzzers.sol";

0 commit comments

Comments
 (0)