Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/unit/pcv/utils/RatioPCVControllerV2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ describe('RatioPCVControllerV2', function () {
pcvController
.connect(impersonatedSigners[pcvControllerAddress])
.transferFrom(pcvDepositEth.address, token.address, userAddress, pcvAmount, {}),
'ERC20: insufficient allowance'
'ERC20: transfer amount exceeds allowance'
);
});

Expand Down Expand Up @@ -677,7 +677,7 @@ describe('RatioPCVControllerV2', function () {
pcvController
.connect(impersonatedSigners[pcvControllerAddress])
.transferFromRatio(pcvDepositEth.address, token.address, userAddress, '10000', {}),
'ERC20: insufficient allowance'
'ERC20: transfer amount exceeds allowance'
);
});

Expand Down
2 changes: 1 addition & 1 deletion test/unit/peg/FixedPricePSM.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ describe('FixedPricePSM', function () {
await fei.connect(impersonatedSigners[minterAddress]).mint(userAddress, 100);
await expectRevert(
psm.connect(impersonatedSigners[userAddress]).redeem(userAddress, 100, 0),
'ERC20: insufficient allowance'
'ERC20: transfer amount exceeds allowance'
);
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/unit/peg/MintRedeemPausePSM.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ describe('PegStabilityModule', function () {
await fei.connect(impersonatedSigners[minterAddress]).mint(userAddress, 10_000_000);
await expectRevert(
psm.connect(impersonatedSigners[userAddress]).redeem(userAddress, 1, 0),
'ERC20: insufficient allowance'
'ERC20: transfer amount exceeds allowancee'
);
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/unit/peg/PegStabilityModule.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ describe('PegStabilityModule', function () {
await fei.connect(impersonatedSigners[minterAddress]).mint(userAddress, 10_000_000);
await expectRevert(
psm.connect(impersonatedSigners[userAddress]).redeem(userAddress, 1, 0),
'ERC20: insufficient allowance'
'ERC20: transfer amount exceeds allowancee'
);
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/unit/peg/PriceBoundPegStabilityModule.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ describe('PriceBoundPegStabilityModule', function () {
it('fails when token is not approved to be spent by the PSM', async () => {
await expectRevert(
psm.connect(impersonatedSigners[userAddress]).mint(userAddress, mintAmount, 0),
'ERC20: insufficient allowance'
'ERC20: transfer amount exceeds allowance'
);
});

Expand Down
2 changes: 1 addition & 1 deletion test/unit/staking/TribalChiefPart2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ describe('TribalChief', () => {
it('should not be able to deposit without LPToken approval', async function () {
await expectRevert(
this.tribalChief.connect(impersonatedSigners[userAddress]).deposit(pid, totalStaked, 100),
'ERC20: insufficient allowance'
'ERC20: transfer amount exceeds allowance'
);
});

Expand Down