Skip to content

Commit

Permalink
🔨 minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GianfrancoBazzani committed Nov 6, 2024
1 parent 37900d3 commit be508a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions contracts/test/levels/Impersonator.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ contract TestImpersonator is Test, Utils {
vm.stopPrank();

vm.startPrank(player);
instance = Impersonator(payable(createLevelInstance(ethernaut, Level(address(factory)), 0.001 ether))); // TODO: ethe not required?
instance = Impersonator(payable(createLevelInstance(ethernaut, Level(address(factory)), 0)));
vm.stopPrank();
}

/*//////////////////////////////////////////////////////////////
TESTS
//////////////////////////////////////////////////////////////*/

/// @notice Check the intial state of the level and enviroment.º
/// @notice Check the intial state of the level and enviroment.
function testInit() public {
ECLocker locker0 = instance.lockers(0);
assertEq(locker0.lockId(), 1337);
Expand Down
2 changes: 0 additions & 2 deletions contracts/test/levels/MagicAnimalCarousel.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import {MagicAnimalCarouselFactory} from "src/levels/MagicAnimalCarouselFactory.
import {Level} from "src/levels/base/Level.sol";
import {Ethernaut} from "src/Ethernaut.sol";

import {console} from "forge-std/console.sol"; //TODO. delete

contract TestMagicAnimalCarousel is Test, Utils {
Ethernaut ethernaut;
MagicAnimalCarousel instance;
Expand Down

0 comments on commit be508a7

Please sign in to comment.