Skip to content

Commit dea3f73

Browse files
committed
fix: remove redundant code
1 parent d19d4d6 commit dea3f73

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

‎nightfall-deployer/migrations/2_deploy_upgradeable.js

-8
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,4 @@ module.exports = async function(deployer) {
3030
await deployProxy(Challenges, [], {deployer, unsafeAllowLinkedLibraries: true });
3131
await deployProxy(Shield, [], {deployer, unsafeAllowLinkedLibraries: true });
3232
await deployProxy(State, [Proposers.address, Challenges.address, Shield.address], {deployer, unsafeAllowLinkedLibraries: true });
33-
/*
34-
await deployer.deploy(Structures);
35-
await deployer.deploy(Config);
36-
await deployer.deploy(Proposers);
37-
await deployer.deploy(Challenges);
38-
await deployer.deploy(Shield);
39-
await deployer.deploy(State, Proposers.address, Challenges.address, Shield.address);
40-
*/
4133
};

‎test/e2e/protocol/health-and-contracts.test.mjs

-5
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ describe('Health and Contract Checks', () => {
3030
expect(res).to.be.a('string').and.to.include('0x');
3131
});
3232

33-
it.skip('should get the address of the test ERC contract stub', async function () {
34-
const res = await nf3User1.getContractAddress('ERCStub');
35-
expect(res).to.be.a('string').and.to.include('0x');
36-
});
37-
3833
it('should get the address of the test ERC20 mock contract', async function () {
3934
const res = await nf3User1.getContractAddress('ERC20Mock');
4035
expect(res).to.be.a('string').and.to.include('0x');

‎test/e2e/protocol/proposer.test.mjs

-6
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,13 @@ const web3Client = new Web3Client();
2626
describe('Basic Proposer tests', () => {
2727
before(async () => {
2828
for (const prop of testProposers) {
29-
console.log('INITIALISING');
3029
await prop.init(mnemonics.proposer);
31-
console.log('INITIALISED');
3230
}
3331

3432
// Proposer registration
35-
console.log('REGISTERING');
3633
await testProposers[0].registerProposer();
37-
console.log('REGISTERED');
3834
// Proposer listening for incoming events
39-
console.log('STARTING PROPOSER');
4035
const newGasBlockEmitter = await testProposers[0].startProposer();
41-
console.log('STARTED');
4236
newGasBlockEmitter.on('gascost', async gasUsed => {
4337
if (process.env.VERBOSE)
4438
console.log(

0 commit comments

Comments
 (0)