Skip to content

Commit

Permalink
test: now reverts because the caller is unauthorized
Browse files Browse the repository at this point in the history
  • Loading branch information
xorsal committed Sep 20, 2024
1 parent 4545d9e commit cf6d1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solidity/test/integration/BondEscalation.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ contract Integration_BondEscalation is IntegrationBase {
// Create a new proposal with another dispute module
_bondEscalationAccounting.approveModule(mockRequest.requestModule);

vm.expectRevert(ValidatorLib.ValidatorLib_InvalidDisputeBody.selector);
vm.expectRevert(IBondEscalationAccounting.BondEscalationAccounting_UnauthorizedCaller.selector);
_bondEscalationAccounting.releasePledge(mockRequest, mockDispute, _attacker, usdc, _pledgeSize * 4);
vm.stopPrank();
}
Expand Down

0 comments on commit cf6d1de

Please sign in to comment.