Skip to content

Commit

Permalink
test: removed unneccessary stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk committed Dec 23, 2024
1 parent 75903fa commit e3d26d6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/solidity-ibc/MigrationTest.t.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;

import "forge-std/console.sol";
import { Test } from "forge-std/Test.sol";
import { ILightClientMsgs } from "../../contracts/msgs/ILightClientMsgs.sol";
import { IICS04ChannelMsgs } from "../../contracts/msgs/IICS04ChannelMsgs.sol";
Expand All @@ -20,7 +19,6 @@ import {
import { ProxyAdmin } from "@openzeppelin/proxy/transparent/ProxyAdmin.sol";
import { IERC1967 } from "@openzeppelin/interfaces/IERC1967.sol";
import { VmSafe } from "forge-std/Vm.sol";
import { Strings } from "@openzeppelin/utils/Strings.sol";

contract MigrationTest is Test {
DummyLightClient public lightClient;
Expand Down Expand Up @@ -86,11 +84,6 @@ contract MigrationTest is Test {
address(newLogic),
abi.encodeWithSelector(DummyInitializable.initializeV2.selector)
);

bytes32 slot =
keccak256(abi.encode(uint256(keccak256("ibc.storage.ICSCore")) - 1)) & ~bytes32(uint256(0xff));

console.log("lol", Strings.toHexString(uint256(slot)));
}

function test_failure_upgrade() public {
Expand Down

0 comments on commit e3d26d6

Please sign in to comment.