Skip to content

Commit

Permalink
Update TaikoL1TestGroupBase.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Jul 4, 2024
1 parent 266c5dc commit 7cfb159
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/protocol/test/L1/TaikoL1TestGroupBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,15 @@ abstract contract TaikoL1TestGroupBase is TaikoL1TestBase {
}
}

function totalTkoBalance(TaikoToken tko, TaikoL1 L1, address user) internal returns (uint256) {
function totalTkoBalance(
TaikoToken tko,
TaikoL1 L1,
address user
)
internal
view
returns (uint256)
{
return tko.balanceOf(user) + L1.bondBalanceOf(user);
}

Expand Down

0 comments on commit 7cfb159

Please sign in to comment.