From d722b8ef233c4c10ffacc411578a51bc1792dee0 Mon Sep 17 00:00:00 2001 From: Alexey Chernyshov Date: Tue, 17 Oct 2023 09:05:07 +0300 Subject: [PATCH] feature: rm unused libraries contracts --- .../contracts/outdated/BeefyLightClient.sol | 6 +++--- .../contracts/{ => outdated}/libraries/Bitfield.sol | 0 .../contracts/{ => outdated}/libraries/Bits.sol | 0 .../contracts/{ => outdated}/libraries/MerkleProof.sol | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename ethereum-bridge-contracts/contracts/{ => outdated}/libraries/Bitfield.sol (100%) rename ethereum-bridge-contracts/contracts/{ => outdated}/libraries/Bits.sol (100%) rename ethereum-bridge-contracts/contracts/{ => outdated}/libraries/MerkleProof.sol (100%) diff --git a/ethereum-bridge-contracts/contracts/outdated/BeefyLightClient.sol b/ethereum-bridge-contracts/contracts/outdated/BeefyLightClient.sol index 6b0e98e5df..518f30f31c 100644 --- a/ethereum-bridge-contracts/contracts/outdated/BeefyLightClient.sol +++ b/ethereum-bridge-contracts/contracts/outdated/BeefyLightClient.sol @@ -3,12 +3,12 @@ pragma solidity 0.8.15; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; -import "../libraries/Bits.sol"; -import "../libraries/Bitfield.sol"; +import "./libraries/Bits.sol"; +import "./libraries/Bitfield.sol"; import "./libraries/ScaleCodec.sol"; import "./ISimplifiedMMRProof.sol"; import "./ISimplifiedMMRVerification.sol"; -import "../libraries/MerkleProof.sol"; +import "./libraries/MerkleProof.sol"; /** * @title A entry contract for the Ethereum light client diff --git a/ethereum-bridge-contracts/contracts/libraries/Bitfield.sol b/ethereum-bridge-contracts/contracts/outdated/libraries/Bitfield.sol similarity index 100% rename from ethereum-bridge-contracts/contracts/libraries/Bitfield.sol rename to ethereum-bridge-contracts/contracts/outdated/libraries/Bitfield.sol diff --git a/ethereum-bridge-contracts/contracts/libraries/Bits.sol b/ethereum-bridge-contracts/contracts/outdated/libraries/Bits.sol similarity index 100% rename from ethereum-bridge-contracts/contracts/libraries/Bits.sol rename to ethereum-bridge-contracts/contracts/outdated/libraries/Bits.sol diff --git a/ethereum-bridge-contracts/contracts/libraries/MerkleProof.sol b/ethereum-bridge-contracts/contracts/outdated/libraries/MerkleProof.sol similarity index 100% rename from ethereum-bridge-contracts/contracts/libraries/MerkleProof.sol rename to ethereum-bridge-contracts/contracts/outdated/libraries/MerkleProof.sol