Fix protocol fees tests
This commit is contained in:
		@@ -28,7 +28,6 @@ blockchainTests('Protocol Fees unit tests', env => {
 | 
				
			|||||||
    let exchangeAddress: string;
 | 
					    let exchangeAddress: string;
 | 
				
			||||||
    let notExchangeAddress: string;
 | 
					    let notExchangeAddress: string;
 | 
				
			||||||
    let testContract: TestProtocolFeesContract;
 | 
					    let testContract: TestProtocolFeesContract;
 | 
				
			||||||
    let wethAssetData: string;
 | 
					 | 
				
			||||||
    let minimumStake: BigNumber;
 | 
					    let minimumStake: BigNumber;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    before(async () => {
 | 
					    before(async () => {
 | 
				
			||||||
@@ -46,7 +45,6 @@ blockchainTests('Protocol Fees unit tests', env => {
 | 
				
			|||||||
            exchangeAddress,
 | 
					            exchangeAddress,
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        wethAssetData = await testContract.getWethAssetData.callAsync();
 | 
					 | 
				
			||||||
        minimumStake = (await testContract.getParams.callAsync())[2];
 | 
					        minimumStake = (await testContract.getParams.callAsync())[2];
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -230,7 +228,6 @@ blockchainTests('Protocol Fees unit tests', env => {
 | 
				
			|||||||
                );
 | 
					                );
 | 
				
			||||||
                expect(logsArgs.length).to.eq(1);
 | 
					                expect(logsArgs.length).to.eq(1);
 | 
				
			||||||
                for (const args of logsArgs) {
 | 
					                for (const args of logsArgs) {
 | 
				
			||||||
                    expect(args.assetData).to.eq(wethAssetData);
 | 
					 | 
				
			||||||
                    expect(args.from).to.eq(fromAddress);
 | 
					                    expect(args.from).to.eq(fromAddress);
 | 
				
			||||||
                    expect(args.to).to.eq(testContract.address);
 | 
					                    expect(args.to).to.eq(testContract.address);
 | 
				
			||||||
                    expect(args.amount).to.bignumber.eq(amount);
 | 
					                    expect(args.amount).to.bignumber.eq(amount);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -243,7 +243,6 @@ export async function deployAndConfigureContractsAsync(
 | 
				
			|||||||
        env.txDefaults,
 | 
					        env.txDefaults,
 | 
				
			||||||
        artifacts,
 | 
					        artifacts,
 | 
				
			||||||
        wethContract.address,
 | 
					        wethContract.address,
 | 
				
			||||||
        erc20ProxyContract.address,
 | 
					 | 
				
			||||||
        zrxVaultContract.address,
 | 
					        zrxVaultContract.address,
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user