Update contracts to support Solidity 0.8.x (#2442)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
This commit is contained in:
@ -143,7 +143,7 @@ contract('Address', function (accounts) {
|
||||
}, []);
|
||||
|
||||
await expectRevert(
|
||||
this.mock.functionCall(this.contractRecipient.address, abiEncodedCall, { gas: '90000' }),
|
||||
this.mock.functionCall(this.contractRecipient.address, abiEncodedCall, { gas: '100000' }),
|
||||
'Address: low-level call failed',
|
||||
);
|
||||
});
|
||||
@ -155,9 +155,8 @@ contract('Address', function (accounts) {
|
||||
inputs: [],
|
||||
}, []);
|
||||
|
||||
await expectRevert(
|
||||
await expectRevert.unspecified(
|
||||
this.mock.functionCall(this.contractRecipient.address, abiEncodedCall),
|
||||
'Address: low-level call failed',
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user