@bananapus/core-v6 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/test/TestPermissions.sol
CHANGED
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
pragma solidity ^0.8.6;
|
|
3
3
|
|
|
4
4
|
import /* {*} from */ "./helpers/TestBaseWorkflow.sol";
|
|
5
|
-
import {JBTest} from "./helpers/JBTest.sol";
|
|
6
5
|
|
|
7
|
-
contract TestPermissions_Local is TestBaseWorkflow
|
|
6
|
+
contract TestPermissions_Local is TestBaseWorkflow {
|
|
8
7
|
IJBController private _controller;
|
|
9
8
|
JBRulesetMetadata private _metadata;
|
|
10
9
|
IJBTerminal private _terminal;
|
|
@@ -94,6 +94,7 @@ import {IPermit2, IAllowanceTransfer} from "@uniswap/permit2/src/interfaces/IPer
|
|
|
94
94
|
import {DeployPermit2} from "@uniswap/permit2/test/utils/DeployPermit2.sol";
|
|
95
95
|
|
|
96
96
|
import {MetadataResolverHelper} from "./MetadataResolverHelper.sol";
|
|
97
|
+
import {JBTest} from "./JBTest.sol";
|
|
97
98
|
|
|
98
99
|
import {MockERC20} from "./../mock/MockERC20.sol";
|
|
99
100
|
|
|
@@ -102,7 +103,7 @@ import {mul as UD60x18mul, wrap as UD60x18wrap, unwrap as UD60x18unwrap} from "@
|
|
|
102
103
|
|
|
103
104
|
// Base contract for Juicebox system tests.
|
|
104
105
|
// Provides common functionality, such as deploying contracts on test setup.
|
|
105
|
-
contract TestBaseWorkflow is
|
|
106
|
+
contract TestBaseWorkflow is JBTest, DeployPermit2 {
|
|
106
107
|
// Multisig address used for testing.
|
|
107
108
|
address private _multisig = address(123);
|
|
108
109
|
address private _beneficiary = address(69_420);
|