Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update and rename VestingWalletWithCliff.test.js to VestingWalletClif…
…f.test.js
  • Loading branch information
Amxx authored Feb 9, 2024
commit 0d72a4dea82f28d402dad8bf9a0e1f566562e79b
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function fixture() {
const cliff = start + cliffDuration;

const [sender, beneficiary] = await ethers.getSigners();
const mock = await ethers.deployContract('$VestingWalletWithCliff', [beneficiary, start, duration, cliffDuration]);
const mock = await ethers.deployContract('$VestingWalletCliff', [beneficiary, start, duration, cliffDuration]);

const token = await ethers.deployContract('$ERC20', ['Name', 'Symbol']);
await token.$_mint(mock, amount);
Expand Down Expand Up @@ -73,7 +73,7 @@ describe('VestingWallet', function () {

it('rejects a larger cliff than vesting duration', async function () {
await expect(
ethers.deployContract('$VestingWalletWithCliff', [
ethers.deployContract('$VestingWalletCliff', [
this.beneficiary,
this.start,
this.duration,
Expand Down