@0x:contracts-staking Updated payProtocolFee trivially to fix the build.

This is not a real to update to `payProtocolFee`. Rather, the interface
was updated to it's finished state. This will be addressed in my next
PR.
This commit is contained in:
Alex Towle
2019-08-28 16:15:00 -07:00
parent df4282fb34
commit 3432083343
5 changed files with 18 additions and 5 deletions

View File

@@ -333,8 +333,9 @@ blockchainTests('End-To-End Simulations', env => {
it('Should not be able to record a protocol fee from an unknown exchange', async () => {
const makerAddress = users[1];
const protocolFee = new BigNumber(1);
// TODO(jalextowle) I need to update this test when I make my PR on adding protocol fees to the Staking contracts
const revertError = new StakingRevertErrors.OnlyCallableByExchangeError(owner);
const tx = stakingWrapper.payProtocolFeeAsync(makerAddress, protocolFee, owner);
const tx = stakingWrapper.payProtocolFeeAsync(makerAddress, makerAddress, protocolFee, protocolFee, owner);
await expect(tx).to.revertWith(revertError);
});
});