Skip to content

Commit

Permalink
fmt some file
Browse files Browse the repository at this point in the history
  • Loading branch information
6boris committed Dec 5, 2024
1 parent 931970b commit 17d3bfc
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 597 deletions.
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

114 changes: 0 additions & 114 deletions .gitmodules

This file was deleted.

5 changes: 1 addition & 4 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
broadcast
cache
coverage
lib
node_modules
out

Expand All @@ -11,10 +10,8 @@ out
*.log
.DS_Store
.pnp.*
bun.lockb
lcov.info
package-lock.json
pnpm-lock.yaml
yarn.lock
foundry/lib

README.md
1 change: 0 additions & 1 deletion contracts/CTF/Damn-Vulnerable-DeFi/03.Truster.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { DamnValuableToken } from "@contracts/CTF/Damn-Vulnerable-DeFi/00.Base/D
* @title TrusterLenderPool
* @author Damn Vulnerable DeFi (https://damnvulnerabledefi.xyz)
*/

contract TrusterLenderPool is ReentrancyGuard {
using Address for address;

Expand Down
1 change: 0 additions & 1 deletion contracts/CTF/Damn-Vulnerable-DeFi/13.Wallet-Mining.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { UUPSUpgradeable } from "@openzeppelin/contracts-upgradeable-v4.7.1/prox
* @title AuthorizerUpgradeable
* @author Damn Vulnerable DeFi (https://damnvulnerabledefi.xyz)
*/

contract AuthorizerUpgradeable is Initializable, OwnableUpgradeable, UUPSUpgradeable {
mapping(address => mapping(address => uint256)) private wards;

Expand Down
1 change: 0 additions & 1 deletion contracts/CTF/Damn-Vulnerable-DeFi/15.ABI-Smuggling.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { ReentrancyGuard } from "@openzeppelin/contracts-v4.7.1/security/Reentra
* @title AuthorizedExecutor
* @author Damn Vulnerable DeFi (https://damnvulnerabledefi.xyz)
*/

abstract contract AuthorizedExecutor is ReentrancyGuard {
using Address for address;

Expand Down
2 changes: 1 addition & 1 deletion foundry/test/CTF/Damn-Vulnerable-DeFi/09.Puppet-V2.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ contract Challenge_9_Puppet_V2_Test is PRBTest {
// Get a reference to the created Uniswap pair
uniswapPair = IUniswapV2Pair(uniswapFactory.getPair(address(token), address(weth)));
// Deploy the lending pool
lendingPool = new PuppetV2Pool(address(weth),address(token),address(uniswapPair),address(uniswapFactory));
lendingPool = new PuppetV2Pool(address(weth), address(token), address(uniswapPair), address(uniswapFactory));

// Setup initial token balances of pool and player accounts
token.transfer(player, PLAYER_INITIAL_TOKEN_BALANCE);
Expand Down
Loading

0 comments on commit 17d3bfc

Please sign in to comment.