@0x:contracts-utils Added RichErrors to ReentrancyGuard

This commit is contained in:
James Towle
2019-07-08 23:27:09 -05:00
committed by Amir Bandeali
parent da38285046
commit f937a0b038
10 changed files with 94 additions and 39 deletions

View File

@@ -630,7 +630,7 @@ describe('LibBytes', () => {
const expectedError = new LibBytesRevertErrors.InvalidByteOperationError(
LibBytesRevertErrors.InvalidByteOperationErrorCodes.LengthGreaterThanOrEqualsNestedBytesLengthRequired,
byteLen,
(new BigNumber(testBytes32)).plus(32),
new BigNumber(testBytes32).plus(32),
);
return expect(libBytes.publicReadBytesWithLength.callAsync(testBytes32, offset)).to.revertWith(
expectedError,