Skip to content

Commit

Permalink
add some changes to the test files
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiTimesChi committed Sep 26, 2024
1 parent 345553c commit 7e7d6cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/contracts-rfq/test/MockERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,15 @@ contract MockERC20 is ERC20 {
}

function burn(address account, uint256 amount) external {
// TODO: remove
assert(balanceOf(account) >= amount);
_burn(account, amount);
}

function mint(address account, uint256 amount) external {
_mint(account, amount);
// TODO: remove
assert(balanceOf(account) >= amount);
}

function decimals() public view override returns (uint8) {
Expand Down

0 comments on commit 7e7d6cb

Please sign in to comment.