Skip to content

Commit

Permalink
Track more ghost variables in callSummary
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlaprade committed Nov 18, 2024
1 parent c069c82 commit ea1bc02
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/handlers/FlexVotingClientHandler.sol
Original file line number Diff line number Diff line change
Expand Up @@ -222,5 +222,13 @@ contract FlexVotingClientHandler is Test {
console2.log("expressVote:", calls["expressVote"].count);
console2.log("castVote:", calls["castVote"].count);
console2.log("propose:", calls["propose"].count);
console2.log("-------------------");
console2.log("actor count:", _actors.length());
console2.log("proposal count:", _proposals.length());
console2.log("amount deposited:", ghost_depositSum);
console2.log("amount withdrawn:", ghost_withdrawSum);
console2.log("amount remaining:", _remainingTokens());
console2.log("-------------------");

}
}

0 comments on commit ea1bc02

Please sign in to comment.