@0x:contracts-utils
Added RichErrors to ReentrancyGuard
This commit is contained in:
committed by
Amir Bandeali
parent
da38285046
commit
f937a0b038
@@ -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,
|
||||
|
Reference in New Issue
Block a user