Skip to content

Commit

Permalink
Plot test
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaman1337 committed Sep 21, 2024
1 parent ec8ffac commit 72494bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions protocol/test/foundry/Migration/ReseedState.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ contract ReseedStateTest is TestHelper {
function test_AccountPlots() public {
// test the L2 Beanstalk
string memory account;
uint256 totalPlotsAmount;
// for every account
for (uint256 i = 0; i < accountNumber; i++) {
account = vm.readLine(ACCOUNTS_PATH);
Expand Down Expand Up @@ -332,8 +333,10 @@ contract ReseedStateTest is TestHelper {
// compare the plot amount and index
assertEq(accountPlotAmountJsonDecoded, plots[j].pods);
assertEq(plotindexesJsonDecoded[j], plots[j].index);
totalPlotsAmount += plots[j].pods;
}
}
console.log("total plots amount:", totalPlotsAmount);
}

//////////////////// Account Deposits ////////////////////
Expand Down

0 comments on commit 72494bc

Please sign in to comment.