Skip to content

Commit 82ec335

Browse files
Remove sponsoring upgrade from fixture before tests on local fork
1 parent 058ff7f commit 82ec335

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

scripts/hardhat-fixture-deployer.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers';
66
import { deployments, ethers } from 'hardhat';
77
import { IexecInterfaceNative__factory } from '../typechain';
88
import { getIexecAccounts } from '../utils/poco-tools';
9-
import { addModulesToProxy } from './sponsoring/1_add-modules-to-proxy';
109
const { resetNetworkToInitialState } = require('./common-test-snapshot');
1110
const deploy = require('../deploy/0_deploy');
1211
const deployEns = require('../deploy/1_deploy-ens');
@@ -21,13 +20,7 @@ async function resetNetworkAndDeployAllContracts() {
2120
await deployEns();
2221
proxyAddress = (await deployments.get('ERC1538Proxy')).address;
2322
} else {
24-
if (process.env.HANDLE_SPONSORING_UPGRADE_INTERNALLY == 'true') {
25-
// Upgrade Poco
26-
//await deployModules();
27-
proxyAddress = await addModulesToProxy();
28-
} else {
29-
proxyAddress = '0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f';
30-
}
23+
proxyAddress = '0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f';
3124
// Send RLCs to default accounts
3225
const srlcRichSigner = await ethers.getImpersonatedSigner(proxyAddress);
3326
const otherAccountInitAmount =

0 commit comments

Comments
 (0)