Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramarti committed Oct 4, 2024
1 parent 86b6cbb commit 5fc4f43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions contracts/script/TestPrecompileUpgrades.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,6 @@ contract TestPrecompileUpgrades is Script {
if (EIP1967Helper.getImplementation(Predeploys.Upgrades) != newImpl) {
revert("UpgradeEntrypoint not upgraded");
}


vm.stopBroadcast();
}


}
4 changes: 2 additions & 2 deletions contracts/test/utils/Test.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { IPTokenSlashing } from "../../src/protocol/IPTokenSlashing.sol";
import { UpgradeEntrypoint } from "../../src/protocol/UpgradeEntrypoint.sol";
import { Predeploys } from "../../src/libraries/Predeploys.sol";

import { EtchInitialState } from "../../script/EtchInitialState.s.sol";
import { GenerateAlloc } from "../../script/GenerateAlloc.s.sol";

contract Test is ForgeTest {
address internal admin = address(0x123);
Expand All @@ -23,7 +23,7 @@ contract Test is ForgeTest {
UpgradeEntrypoint internal upgradeEntrypoint;

function setUp() virtual public {
EtchInitialState initializer = new EtchInitialState();
GenerateAlloc initializer = new GenerateAlloc();
initializer.disableStateDump(); // Faster tests. Don't call to verify JSON output
initializer.run();
ipTokenStaking = IPTokenStaking(Predeploys.Staking);
Expand Down

0 comments on commit 5fc4f43

Please sign in to comment.