Add tests for improved coverage (#3448)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
This commit is contained in:
@ -17,6 +17,11 @@ function shouldBehaveLikeReceiver (sender = randomAddress()) {
|
||||
this.receiver.crossChainRestricted(),
|
||||
'NotCrossChainCall()',
|
||||
);
|
||||
|
||||
await expectRevertCustomError(
|
||||
this.receiver.crossChainOwnerRestricted(),
|
||||
'NotCrossChainCall()',
|
||||
);
|
||||
});
|
||||
|
||||
it('should restrict to cross-chain call from a invalid sender', async function () {
|
||||
|
||||
Reference in New Issue
Block a user