Skip to content

Commit

Permalink
fix openzeppelin import
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Sep 13, 2024
1 parent f443240 commit 8b87b9c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions interfaces/IIsmpModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ pragma solidity 0.8.17;
import {PostRequest, PostResponse, GetResponse, GetRequest} from "./Message.sol";
import {DispatchPost, DispatchPostResponse, DispatchGet} from "./IDispatcher.sol";
import {IIsmpHost} from "./IIsmpHost.sol";
import {Context} from "openzeppelin/utils/Context.sol";
import {IERC20} from "openzeppelin/token/ERC20/IERC20.sol";
import {SafeERC20} from "openzeppelin/token/ERC20/utils/SafeERC20.sol";

import {Context} from "@openzeppelin/contracts/utils/Context.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

struct IncomingPostRequest {
// The Post request
Expand Down
2 changes: 1 addition & 1 deletion interfaces/StateMachine.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.17;

import {Strings} from "openzeppelin/utils/Strings.sol";
import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";

library StateMachine {
/// @notice The identifier for the relay chain.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@polytope-labs/ismp-solidity",
"version": "0.6.1",
"version": "0.6.2",
"description": "Hyperbridge Solidity SDK for the Interoperable state machine protocol",
"author": "Polytope Labs <[email protected]>",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion remappings.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
openzeppelin/=node_modules/openzeppelin-solidity/contracts/
@openzeppelin/=node_modules/openzeppelin-solidity
@polytope-labs/solidity-merkle-trees/=node_modules/@polytope-labs/solidity-merkle-trees/src/

0 comments on commit 8b87b9c

Please sign in to comment.