Remove payable fallback from IStakingProxy, fix linting errors

This commit is contained in:
Amir Bandeali
2019-10-08 09:28:14 +09:00
parent 9e41c648dc
commit 93edb083fa
4 changed files with 6 additions and 9 deletions

View File

@@ -43,6 +43,7 @@ blockchainTests.resets('ZrxVaultBackstop', env => {
{ from: notAuthorizedAddress },
);
expect(txReceipt.logs.length).to.equal(1);
// tslint:disable:no-unnecessary-type-assertion
const logArgs = (txReceipt.logs[0] as LogWithDecodedArgs<ZrxVaultInCatastrophicFailureModeEventArgs>).args;
expect(logArgs.sender).to.equal(stakingApiWrapper.zrxVaultBackstopContract.address);
});