Skip to content

Commit

Permalink
chore: added comments to explain the test
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsahu committed Sep 11, 2024
1 parent d7a1c99 commit 6e54134
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ contract TlcMigrationTest is Test {

VestingSchedulesV2.VestingSchedule[] memory schedulesBefore = new VestingSchedulesV2.VestingSchedule[](67);
for (uint256 i = 0; i < 67; i++) {
// (schedulesBefore[i],) = TLCV1(address(tlcProxy)).getVestingSchedule(i);
// We use the following method since, the function which also returns the IgnoreGlobalUnlockSchedule is not
// available at the point of forking.
(, bytes memory data) = address(tlcProxy).call(abi.encodeWithSignature("getVestingSchedule(uint256)", i));
schedulesBefore[i] = abi.decode(data, (VestingSchedulesV2.VestingSchedule));
//console.log("%s,%s,%s", i, schedulesBefore[i].start, schedulesBefore[i].end);
Expand Down

0 comments on commit 6e54134

Please sign in to comment.