Skip to content

Commit 8dda04f

Browse files
committed
fix: merge conflicts
1 parent 6d3384b commit 8dda04f

File tree

4 files changed

+13
-31
lines changed

4 files changed

+13
-31
lines changed

test/e2e/logicModule/FundingPotE2E.t.sol

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ import {
1515
ILM_PC_FundingPot_v1
1616
} from "@lm/LM_PC_FundingPot_v1.sol";
1717
import {IERC20PaymentClientBase_v2} from
18-
"test/utils/mocks/modules/paymentClient/ERC20PaymentClientBaseV2Mock.sol";
18+
"test/mocks/modules/paymentClient/ERC20PaymentClientBaseV2Mock.sol";
1919
import {
2020
FM_BC_Bancor_Redeeming_VirtualSupply_v1,
2121
IFM_BC_Bancor_Redeeming_VirtualSupply_v1
22-
} from
23-
"test/modules/fundingManager/bondingCurve/FM_BC_Bancor_Redeeming_VirtualSupply_v1.t.sol";
22+
} from "@fm/bondingCurve/FM_BC_Bancor_Redeeming_VirtualSupply_v1.sol";
2423
import {PP_Streaming_v2} from "src/modules/paymentProcessor/PP_Streaming_v2.sol";
2524
import {
2625
LM_PC_Bounties_v2, ILM_PC_Bounties_v2
@@ -29,7 +28,7 @@ import {
2928
import {FM_DepositVault_v1} from "@fm/depositVault/FM_DepositVault_v1.sol";
3029
import {ERC165Upgradeable} from
3130
"@oz-up/utils/introspection/ERC165Upgradeable.sol";
32-
import {ERC20Mock} from "test/utils/mocks/ERC20Mock.sol";
31+
import {ERC20Mock} from "test/mocks/external/token/ERC20Mock.sol";
3332
import {SafeERC20} from "@oz/token/ERC20/utils/SafeERC20.sol";
3433
import {ERC20Issuance_v1} from "@ex/token/ERC20Issuance_v1.sol";
3534

@@ -66,9 +65,11 @@ contract FundingPotE2E is E2ETest {
6665
// moduleConfigurations[3:] => Additional Logic Modules
6766

6867
issuanceToken = new ERC20Issuance_v1(
69-
"Bonding Curve Token", "BCT", 18, type(uint).max - 1, address(this)
68+
"Bonding Curve Token", "BCT", 18, type(uint).max - 1
7069
);
7170

71+
issuanceToken.setMinter(address(this), true);
72+
7273
IFM_BC_Bancor_Redeeming_VirtualSupply_v1.BondingCurveProperties memory
7374
bc_properties = IFM_BC_Bancor_Redeeming_VirtualSupply_v1
7475
.BondingCurveProperties({

test/mocks/modules/fundingManager/FundingManagerV1Mock.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ contract FundingManagerV1Mock is IFundingManager_v1, Module_v1 {
4242
) public override(Module_v1) initializer {
4343
__Module_init(orchestrator_, metadata);
4444
_bondingToken = new ERC20Issuance_v1(
45-
"Bonding Token", "BOND", 18, type(uint).max - 1, address(this)
45+
"Bonding Token", "BOND", 18, type(uint).max - 1
4646
);
47+
_bondingToken.setMinter(address(this), true);
4748
}
4849

4950
function setToken(IERC20 newToken) public {

test/unit/modules/logicModule/LM_PC_FundingPot_v1.t.sol

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import {
66
ModuleTest,
77
IModule_v1,
88
IOrchestrator_v1
9-
} from "test/modules/ModuleTest.sol";
10-
import {OZErrors} from "test/utils/errors/OZErrors.sol";
9+
} from "test/unit/modules/ModuleTest.sol";
10+
import {OZErrors} from "test/testUtilities/OZErrors.sol";
1111

1212
// External
1313
import {Clones} from "@oz/proxy/Clones.sol";
@@ -17,20 +17,20 @@ import {
1717
IERC20PaymentClientBase_v2,
1818
ERC20PaymentClientBaseV2Mock,
1919
ERC20Mock
20-
} from "test/utils/mocks/modules/paymentClient/ERC20PaymentClientBaseV2Mock.sol";
20+
} from "test/mocks/modules/paymentClient/ERC20PaymentClientBaseV2Mock.sol";
2121

2222
import {
2323
ERC721Mock,
2424
MockHookContract,
2525
MockFailingHookContract
26-
} from "test/utils/mocks/modules/logicModules/LM_PC_FundingPot_v1Mock.sol";
26+
} from "test/mocks/modules/logicModule/LM_PC_FundingPot_v1Mock.sol";
2727

2828
import {IBondingCurveBase_v1} from
2929
"@fm/bondingCurve/interfaces/IBondingCurveBase_v1.sol";
3030

3131
// System under Test (SuT)
3232
import {LM_PC_FundingPot_v1_Exposed} from
33-
"test/modules/logicModule/LM_PC_FundingPot_v1_Exposed.sol";
33+
"test/unit/modules/logicModule/LM_PC_FundingPot_v1_Exposed.sol";
3434
import {ILM_PC_FundingPot_v1} from
3535
"src/modules/logicModule/interfaces/ILM_PC_FundingPot_v1.sol";
3636

test/unit/modules/logicModule/PP_FundingPot_v1_Exposed.sol

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)