Make isConsumingScheduleOp return bytes4 to mitigate clashes (#4575)

Co-authored-by: Francisco Giordano <fg@frang.io>
This commit is contained in:
Hadrien Croubois
2023-09-07 01:54:44 +02:00
committed by GitHub
parent e2a9353dea
commit 5a77c9995f
5 changed files with 10 additions and 7 deletions

View File

@ -961,7 +961,7 @@ contract('AccessManager', function (accounts) {
expect(await this.manager.getSchedule(this.opId)).to.not.be.bignumber.equal('0');
await expectRevertCustomError(this.cancel({ from: other }), 'AccessManagerCannotCancel', [
await expectRevertCustomError(this.cancel({ from: other }), 'AccessManagerUnauthorizedCancel', [
other,
user,
...this.call,