@gooddollar/goodprotocol 1.0.26 → 1.0.27
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/artifacts/contracts/DAOStackInterfaces.sol/Avatar.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/Controller.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/GlobalConstraintInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/IntVoteInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/ReputationInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/SchemeRegistrar.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/AggregatorV3Interface.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ERC20.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAaveIncentivesController.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAdminWallet.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IDonationStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IERC2917.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IFirstClaimPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IHasRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IIdentity.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ILendingPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/INameService.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IUBIScheme.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ProxyAdmin.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Reserve.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Uniswap.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapFactory.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapPair.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/cERC20.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucet.sol/FuseFaucet.dbg.json +1 -1
- package/artifacts/contracts/governance/ClaimersDistribution.sol/ClaimersDistribution.dbg.json +1 -1
- package/artifacts/contracts/governance/CompoundVotingMachine.sol/CompoundVotingMachine.dbg.json +1 -1
- package/artifacts/contracts/governance/GReputation.sol/GReputation.dbg.json +1 -1
- package/artifacts/contracts/governance/GovernanceStaking.sol/GovernanceStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/MultiBaseGovernanceShareField.sol/MultiBaseGovernanceShareField.dbg.json +1 -1
- package/artifacts/contracts/governance/Reputation.sol/Reputation.dbg.json +1 -1
- package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesV1.sol/InvitesV1.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveMock.sol/AaveMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveUSDMockOracle.sol/AaveUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/BatUSDMockOracle.sol/BatUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/CompUsdMockOracle.sol/CompUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/DAIMock.sol/DAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DaiEthPriceMockOracle.sol/DaiEthPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/DecimalsMock.sol/DecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/EthUSDMockOracle.sol/EthUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/GasPriceMockOracle.sol/GasPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/IncentiveControllerMock.sol/IncentiveControllerMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/LendingPoolMock.sol/LendingPoolMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTester.sol/OverMintTester.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTesterRegularStake.sol/OverMintTesterRegularStake.dbg.json +1 -1
- package/artifacts/contracts/mocks/SixteenDecimalsTokenMock.sol/SixteenDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/SwapHelperTest.sol/SwapHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/TwentyDecimalsTokenMock.sol/TwentyDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock2.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock3.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock4.dbg.json +1 -1
- package/artifacts/contracts/mocks/UsdcMock.sol/USDCMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cBATMock.sol/cBATMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAILowWorthMock.sol/cDAILowWorthMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAIMock.sol/cDAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAINonMintableMock.sol/cDAINonMintableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDecimalsMock.sol/cDecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cSDTMock.sol/cSDTMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cUSDCMock.sol/cUSDCMock.dbg.json +1 -1
- package/artifacts/contracts/reserve/ExchangeHelper.sol/ExchangeHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/ContributionCalc.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareField.sol/BaseShareField.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareFieldV2.sol/BaseShareFieldV2.dbg.json +1 -1
- package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/FuseStakingV3.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/IConsensus.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/PegSwap.dbg.json +1 -1
- package/artifacts/contracts/staking/GoodFundManager.sol/GoodFundManager.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStaking.sol/SimpleStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStakingV2.sol/SimpleStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/UniswapV2SwapHelper.sol/UniswapV2SwapHelper.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.dbg.json +1 -1
- package/artifacts/contracts/utils/BancorFormula.sol/BancorFormula.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkProof.sol/BulkProof.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOContract.sol/DAOContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOUpgradeableContract.sol/DAOUpgradeableContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DSMath.sol/DSMath.dbg.json +1 -1
- package/artifacts/contracts/utils/DataTypes.sol/DataTypes.dbg.json +1 -1
- package/artifacts/contracts/utils/MultiCall.sol/Multicall.dbg.json +1 -1
- package/artifacts/contracts/utils/NameService.sol/NameService.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/OldMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuse.sol/ProtocolUpgradeFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuseRecover.sol/ProtocolUpgradeFuseRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeRecover.sol/ProtocolUpgradeRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.dbg.json +1 -1
- package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
- package/hardhat.config.ts +11 -1
- package/package.json +8 -8
- package/scripts/bulkProof.ts +0 -5
- package/scripts/multichain-deploy/basicdao-deploy.ts +0 -1
- package/scripts/upgradeScheme.ts +7 -12
- package/scripts/upgradeToV2/upgradeToV2.ts +0 -8
- package/scripts/upgradeToV2/upgradeToV2Recover.ts +0 -8
- package/test/utils/ProtocolUpgrade.test.ts +1 -4
- package/yarn.lock +320 -217
- package/patches/@nomiclabs+hardhat-etherscan+3.0.3.patch +0 -41
- package/patches/@openzeppelin+hardhat-upgrades+1.7.0.patch +0 -67
- package/patches/@openzeppelin+upgrades-core+1.4.2.patch +0 -21
package/hardhat.config.ts
CHANGED
|
@@ -54,7 +54,17 @@ const hhconfig: HardhatUserConfig = {
|
|
|
54
54
|
apiKey: {
|
|
55
55
|
mainnet: etherscan_key,
|
|
56
56
|
celo: celoscan_key
|
|
57
|
-
}
|
|
57
|
+
},
|
|
58
|
+
customChains: [
|
|
59
|
+
{
|
|
60
|
+
network: "celo",
|
|
61
|
+
chainId: 42220,
|
|
62
|
+
urls: {
|
|
63
|
+
apiURL: "https://api.celoscan.io",
|
|
64
|
+
browserURL: "https://celoscan.io"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
]
|
|
58
68
|
},
|
|
59
69
|
contractSizer: {
|
|
60
70
|
alphaSort: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddollar/goodprotocol",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"description": "GoodDollar Protocol",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "scripts/build.sh deploy",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@jsier/retrier": "^1.2.4",
|
|
60
60
|
"@openzeppelin/contracts": "^4.5.0",
|
|
61
61
|
"@openzeppelin/contracts-upgradeable": "^4.3.2",
|
|
62
|
-
"@typechain/hardhat": "^
|
|
62
|
+
"@typechain/hardhat": "^6.1.2",
|
|
63
63
|
"async-promise-pool": "^1.0.4",
|
|
64
64
|
"ethers-multicall": "^0.2.1",
|
|
65
65
|
"openzeppelin-solidity": "^4.3.2",
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
"@babel/polyfill": "*",
|
|
74
74
|
"@babel/preset-env": "*",
|
|
75
75
|
"@babel/register": "*",
|
|
76
|
-
"@nomiclabs/hardhat-ethers": "^2.
|
|
77
|
-
"@nomiclabs/hardhat-etherscan": "^3.0
|
|
76
|
+
"@nomiclabs/hardhat-ethers": "^2.1.1",
|
|
77
|
+
"@nomiclabs/hardhat-etherscan": "^3.1.0",
|
|
78
78
|
"@nomiclabs/hardhat-waffle": "^2.0.3",
|
|
79
|
-
"@openzeppelin/hardhat-upgrades": "1.
|
|
79
|
+
"@openzeppelin/hardhat-upgrades": "^1.20.0",
|
|
80
80
|
"@typechain/ethers-v5": "^8.0.2",
|
|
81
81
|
"@types/mocha": "*",
|
|
82
82
|
"@types/node": "*",
|
|
@@ -93,9 +93,9 @@
|
|
|
93
93
|
"fs-extra": "9.0.0",
|
|
94
94
|
"graphql": "^15.5.0",
|
|
95
95
|
"graphql-request": "^3.4.0",
|
|
96
|
-
"hardhat": "^2.
|
|
97
|
-
"hardhat-contract-sizer": "^2.
|
|
98
|
-
"hardhat-gas-reporter": "^1.0.
|
|
96
|
+
"hardhat": "^2.10.2",
|
|
97
|
+
"hardhat-contract-sizer": "^2.6.1",
|
|
98
|
+
"hardhat-gas-reporter": "^1.0.8",
|
|
99
99
|
"lodash": "^4.17.21",
|
|
100
100
|
"merkle-tree-solidity": "*",
|
|
101
101
|
"mocha": "^9.1.2",
|
package/scripts/bulkProof.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import fs from "fs";
|
|
2
2
|
import { chunk } from "lodash";
|
|
3
3
|
import { ethers, upgrades, network } from "hardhat";
|
|
4
|
-
import { networkNames } from "@openzeppelin/upgrades-core";
|
|
5
4
|
import GReputationABI from "../artifacts/contracts/governance/GReputation.sol/GReputation.json";
|
|
6
5
|
import BulkProofABI from "../artifacts/contracts/utils/BulkProof.sol/BulkProof.json";
|
|
7
6
|
|
|
@@ -12,14 +11,10 @@ import MerkleTree, {
|
|
|
12
11
|
import { BigNumber } from "ethers";
|
|
13
12
|
|
|
14
13
|
console.log({
|
|
15
|
-
networkNames,
|
|
16
14
|
network: network.name,
|
|
17
15
|
upgrade: process.env.UPGRADE
|
|
18
16
|
});
|
|
19
17
|
const { name: networkName } = network;
|
|
20
|
-
networkNames[1] = networkName;
|
|
21
|
-
networkNames[122] = networkName;
|
|
22
|
-
networkNames[3] = networkName;
|
|
23
18
|
|
|
24
19
|
export const bulkProof = async () => {
|
|
25
20
|
console.log("signer", await ethers.getSigners());
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { network, ethers, upgrades, run } from "hardhat";
|
|
2
|
-
import { networkNames } from "@openzeppelin/upgrades-core";
|
|
3
2
|
import { isFunction, get, omitBy } from "lodash";
|
|
4
3
|
import { getImplementationAddress } from "@openzeppelin/upgrades-core";
|
|
5
4
|
import pressAnyKey from "press-any-key";
|
package/scripts/upgradeScheme.ts
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { ethers, upgrades, network } from "hardhat";
|
|
2
|
-
import { networkNames } from "@openzeppelin/upgrades-core";
|
|
3
2
|
import { getSettings, releaser } from "../../scripts/getMigrationSettings";
|
|
4
3
|
import { SchemeRegistrar } from "../types";
|
|
5
4
|
import { getFounders } from "./getFounders";
|
|
6
5
|
|
|
7
|
-
console.log({
|
|
6
|
+
console.log({ network: network.name, upgrade: process.env.UPGRADE });
|
|
8
7
|
const { name: networkName } = network;
|
|
9
|
-
networkNames[1] = networkName;
|
|
10
|
-
networkNames[122] = networkName;
|
|
11
|
-
networkNames[3] = networkName;
|
|
12
8
|
|
|
13
9
|
export const proposeUpgradeScheme = async (daoAddresses, schemeAddress) => {
|
|
14
10
|
console.log("proposing conntract upgrade to DAO", {
|
|
@@ -47,7 +43,10 @@ export const voteUpgradeScheme = async (network, daoAddresses, proposalId) => {
|
|
|
47
43
|
);
|
|
48
44
|
|
|
49
45
|
const founders = await getFounders(network);
|
|
50
|
-
console.log("voteUpgradeScheme", {
|
|
46
|
+
console.log("voteUpgradeScheme", {
|
|
47
|
+
absoluteVote: absoluteVote.address,
|
|
48
|
+
founders
|
|
49
|
+
});
|
|
51
50
|
await Promise.all(
|
|
52
51
|
founders.slice(0, Math.ceil(founders.length / 2)).map(f =>
|
|
53
52
|
absoluteVote
|
|
@@ -59,12 +58,8 @@ export const voteUpgradeScheme = async (network, daoAddresses, proposalId) => {
|
|
|
59
58
|
};
|
|
60
59
|
|
|
61
60
|
const main = async () => {
|
|
62
|
-
const {
|
|
63
|
-
|
|
64
|
-
modelAddresses,
|
|
65
|
-
upgradableAddresses,
|
|
66
|
-
founders
|
|
67
|
-
} = await getSettings(networkName);
|
|
61
|
+
const { daoAddresses, modelAddresses, upgradableAddresses, founders } =
|
|
62
|
+
await getSettings(networkName);
|
|
68
63
|
|
|
69
64
|
// const implementation = "0x7fca2b3e1047291f65c2c914083d970c027f4290";
|
|
70
65
|
// const deployedProxy = upgradableAddresses.FuseStaking;
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { network, ethers, upgrades, run } from "hardhat";
|
|
11
|
-
import { networkNames } from "@openzeppelin/upgrades-core";
|
|
12
11
|
import { isFunction, get, omitBy } from "lodash";
|
|
13
12
|
import { getImplementationAddress } from "@openzeppelin/upgrades-core";
|
|
14
13
|
import pressAnyKey from "press-any-key";
|
|
@@ -53,7 +52,6 @@ const countTotalGas = async (tx, name) => {
|
|
|
53
52
|
};
|
|
54
53
|
|
|
55
54
|
console.log({
|
|
56
|
-
networkNames,
|
|
57
55
|
network: network.name,
|
|
58
56
|
upgrade: process.env.UPGRADE
|
|
59
57
|
});
|
|
@@ -64,12 +62,6 @@ export const main = async (
|
|
|
64
62
|
isPerformUpgrade = true,
|
|
65
63
|
olddao?
|
|
66
64
|
): Promise<{ [key: string]: any }> => {
|
|
67
|
-
if (networkName.startsWith("dapptest") === false) {
|
|
68
|
-
networkNames[1] = networkName;
|
|
69
|
-
networkNames[122] = networkName;
|
|
70
|
-
networkNames[3] = networkName;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
65
|
const isProduction = networkName.startsWith("production");
|
|
74
66
|
if (isProduction && networkName.includes("mainnet")) {
|
|
75
67
|
GAS_SETTINGS.gasLimit = 6000000;
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { network, ethers, upgrades, run } from "hardhat";
|
|
11
|
-
import { networkNames } from "@openzeppelin/upgrades-core";
|
|
12
11
|
import { isFunction, get, omitBy } from "lodash";
|
|
13
12
|
import { getImplementationAddress } from "@openzeppelin/upgrades-core";
|
|
14
13
|
|
|
@@ -53,7 +52,6 @@ const countTotalGas = async (tx, name) => {
|
|
|
53
52
|
};
|
|
54
53
|
|
|
55
54
|
console.log({
|
|
56
|
-
networkNames,
|
|
57
55
|
network: network.name,
|
|
58
56
|
upgrade: process.env.UPGRADE
|
|
59
57
|
});
|
|
@@ -64,12 +62,6 @@ export const main = async (
|
|
|
64
62
|
isPerformUpgrade = true,
|
|
65
63
|
olddao?
|
|
66
64
|
): Promise<{ [key: string]: any }> => {
|
|
67
|
-
if (networkName.startsWith("dapptest") === false) {
|
|
68
|
-
networkNames[1] = networkName;
|
|
69
|
-
networkNames[122] = networkName;
|
|
70
|
-
networkNames[3] = networkName;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
65
|
const isProduction = networkName.startsWith("production");
|
|
74
66
|
if (isProduction && networkName.includes("mainnet")) {
|
|
75
67
|
GAS_SETTINGS.gasLimit = 6000000;
|
|
@@ -2,7 +2,6 @@ import { default as hre, ethers, upgrades, network } from "hardhat";
|
|
|
2
2
|
import { BigNumber, Contract, Signer } from "ethers";
|
|
3
3
|
import { deployMockContract, MockContract } from "ethereum-waffle";
|
|
4
4
|
import { expect } from "chai";
|
|
5
|
-
import { networkNames } from "@openzeppelin/upgrades-core";
|
|
6
5
|
import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/dist/src/signer-with-address";
|
|
7
6
|
import { deploy } from "../../scripts/test/localOldDaoDeploy";
|
|
8
7
|
import deploySettings from "../../releases/deploy-settings.json";
|
|
@@ -66,9 +65,7 @@ describe("ProtocolUpgrade - Upgrade old protocol contracts to new ones", () => {
|
|
|
66
65
|
fuseController,
|
|
67
66
|
goodReserve;
|
|
68
67
|
const { name: networkName } = network;
|
|
69
|
-
|
|
70
|
-
networkNames[122] = networkName;
|
|
71
|
-
networkNames[3] = networkName;
|
|
68
|
+
|
|
72
69
|
before(async () => {
|
|
73
70
|
[founder, ...signers] = await ethers.getSigners();
|
|
74
71
|
schemeMock = signers.pop();
|