From 5618f8fb5d6f86f1b358c2f36bf38a53e6562748 Mon Sep 17 00:00:00 2001 From: Alessandro Manfredi Date: Tue, 9 Apr 2024 09:01:46 +0200 Subject: [PATCH] feat(contracts): mv MockAdapter and MockReporter under adapters --- .../evm/contracts/{test => adapters/Mock}/MockAdapter.sol | 4 ++-- .../evm/contracts/{test => adapters/Mock}/MockReporter.sol | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename packages/evm/contracts/{test => adapters/Mock}/MockAdapter.sol (78%) rename packages/evm/contracts/{test => adapters/Mock}/MockReporter.sol (74%) diff --git a/packages/evm/contracts/test/MockAdapter.sol b/packages/evm/contracts/adapters/Mock/MockAdapter.sol similarity index 78% rename from packages/evm/contracts/test/MockAdapter.sol rename to packages/evm/contracts/adapters/Mock/MockAdapter.sol index 8e318dac..c8440dfb 100644 --- a/packages/evm/contracts/test/MockAdapter.sol +++ b/packages/evm/contracts/adapters/Mock/MockAdapter.sol @@ -1,8 +1,8 @@ // SPDX-License-Identifier: LGPL-3.0-only pragma solidity ^0.8.20; -import { Adapter } from "../adapters/Adapter.sol"; -import { BlockHashAdapter } from "../adapters/BlockHashAdapter.sol"; +import { Adapter } from "../Adapter.sol"; +import { BlockHashAdapter } from "../BlockHashAdapter.sol"; contract MockAdapter is Adapter, BlockHashAdapter { error LengthMismatch(); diff --git a/packages/evm/contracts/test/MockReporter.sol b/packages/evm/contracts/adapters/Mock/MockReporter.sol similarity index 74% rename from packages/evm/contracts/test/MockReporter.sol rename to packages/evm/contracts/adapters/Mock/MockReporter.sol index 275d4d3f..7bdcb7db 100644 --- a/packages/evm/contracts/test/MockReporter.sol +++ b/packages/evm/contracts/adapters/Mock/MockReporter.sol @@ -1,8 +1,8 @@ // SPDX-License-Identifier: LGPL-3.0-only pragma solidity ^0.8.20; -import { Reporter } from "../adapters/Reporter.sol"; -import { IAdapter } from "../interfaces/IAdapter.sol"; +import { Reporter } from "../Reporter.sol"; +import { IAdapter } from "../../interfaces/IAdapter.sol"; contract MockReporter is Reporter { constructor(address headerStorage, address yaho) Reporter(headerStorage, yaho) {}