From d6b51d786980e994628028a53773e06ad5cae886 Mon Sep 17 00:00:00 2001 From: Arman Aurobindo <66505181+armanthepythonguy@users.noreply.github.com> Date: Wed, 31 Jan 2024 22:21:11 +0530 Subject: [PATCH] Inherited interface for InterchainQueryRouter --- solidity/contracts/middleware/InterchainQueryRouter.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/solidity/contracts/middleware/InterchainQueryRouter.sol b/solidity/contracts/middleware/InterchainQueryRouter.sol index 4c06f41122..9d6fa6f916 100644 --- a/solidity/contracts/middleware/InterchainQueryRouter.sol +++ b/solidity/contracts/middleware/InterchainQueryRouter.sol @@ -5,6 +5,7 @@ pragma solidity ^0.8.13; import {Router} from "../client/Router.sol"; import {CallLib} from "./libs/Call.sol"; import {InterchainQueryMessage} from "./libs/InterchainQueryMessage.sol"; +import {IInterchainQueryRouter} from "../interfaces/IInterchainQueryRouter.sol"; import {TypeCasts} from "../libs/TypeCasts.sol"; // ============ External Imports ============ @@ -16,7 +17,7 @@ import {Initializable} from "@openzeppelin/contracts-upgradeable/proxy/utils/Ini * @title Interchain Query Router that performs remote view calls on other chains and returns the result. * @dev Currently does not support Sovereign Consensus (user specified Interchain Security Modules). */ -contract InterchainQueryRouter is Router { +contract InterchainQueryRouter is IInterchainQueryRouter, Router { using TypeCasts for address; using TypeCasts for bytes32; using InterchainQueryMessage for bytes;