Skip to content

Commit

Permalink
feat: remove remapings (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashitakah authored Apr 2, 2024
1 parent fa3221e commit 5369801
Show file tree
Hide file tree
Showing 34 changed files with 91 additions and 94 deletions.
9 changes: 1 addition & 8 deletions remappings.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
ds-test/=node_modules/ds-test/src
forge-std/=node_modules/forge-std/src
isolmate/=node_modules/isolmate/src

@openzeppelin/=node_modules/@openzeppelin/contracts

@contracts/=solidity/contracts
@interfaces/=solidity/interfaces
@script/=solidity/script
@test/=solidity/test
@utils/=solidity/utils
openzeppelin/=node_modules/@openzeppelin/contracts
9 changes: 5 additions & 4 deletions solidity/contracts/core/AutomationVault.sol
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.19;

import {IAutomationVault} from '@interfaces/core/IAutomationVault.sol';
import {IERC20, SafeERC20} from '@openzeppelin/token/ERC20/utils/SafeERC20.sol';
import {EnumerableSet} from '@openzeppelin/utils/structs/EnumerableSet.sol';
import {_ALL} from '@utils/Constants.sol';
import {EnumerableSet} from 'openzeppelin/utils/structs/EnumerableSet.sol';
import {IERC20, SafeERC20} from 'openzeppelin/token/ERC20/utils/SafeERC20.sol';

import {IAutomationVault} from '../../interfaces/core/IAutomationVault.sol';
import {_ALL} from '../../utils/Constants.sol';

/**
* @title AutomationVault
Expand Down
7 changes: 4 additions & 3 deletions solidity/contracts/core/AutomationVaultFactory.sol
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.19;

import {IAutomationVaultFactory} from '@interfaces/core/IAutomationVaultFactory.sol';
import {AutomationVault, IAutomationVault} from '@contracts/core/AutomationVault.sol';
import {EnumerableSet} from '@openzeppelin/utils/structs/EnumerableSet.sol';
import {EnumerableSet} from 'openzeppelin/utils/structs/EnumerableSet.sol';

import {IAutomationVaultFactory} from '../../interfaces/core/IAutomationVaultFactory.sol';
import {AutomationVault, IAutomationVault} from '../core/AutomationVault.sol';
/**
* @title AutomationVaultFactory
* @notice This contract deploys the new automation vaults
*/

contract AutomationVaultFactory is IAutomationVaultFactory {
using EnumerableSet for EnumerableSet.AddressSet;

Expand Down
2 changes: 1 addition & 1 deletion solidity/contracts/for-test/BasicJob.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.19;

import {IBasicJob} from '@interfaces/for-test/IBasicJob.sol';
import {IBasicJob} from '../../interfaces/for-test/IBasicJob.sol';

/**
* @notice This contract is a basic job that can be automated by any automation vault
Expand Down
4 changes: 2 additions & 2 deletions solidity/contracts/for-test/BasicJobChecker.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.19;

import {IGelatoRelay} from '@interfaces/relays/IGelatoRelay.sol';
import {IBasicJobChecker, IAutomationVault, IBasicJob} from '@interfaces/for-test/IBasicJobChecker.sol';
import {IGelatoRelay} from '../../interfaces/relays/IGelatoRelay.sol';
import {IBasicJobChecker, IAutomationVault, IBasicJob} from '../../interfaces/for-test/IBasicJobChecker.sol';

/**
* @notice This contract is a basic job checker for gelato relay
Expand Down
7 changes: 4 additions & 3 deletions solidity/contracts/periphery/XKeeperMetadata.sol
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.19;

import {IXKeeperMetadata} from '@interfaces/periphery/IXKeeperMetadata.sol';
import {IAutomationVault} from '@interfaces/core/IAutomationVault.sol';
import {EnumerableSet} from '@openzeppelin/utils/structs/EnumerableSet.sol';
import {EnumerableSet} from 'openzeppelin/utils/structs/EnumerableSet.sol';

import {IXKeeperMetadata} from '../../interfaces/periphery/IXKeeperMetadata.sol';
import {IAutomationVault} from '../../interfaces/core/IAutomationVault.sol';

/**
* @title XKeeperMetadata
Expand Down
6 changes: 3 additions & 3 deletions solidity/contracts/relays/GelatoRelay.sol
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.19;

import {IAutomate} from '@interfaces/external/IAutomate.sol';
import {IGelato} from '@interfaces/external/IGelato.sol';
import {IGelatoRelay, IAutomationVault} from '@interfaces/relays/IGelatoRelay.sol';
import {IAutomate} from '../../interfaces/external/IAutomate.sol';
import {IGelato} from '../../interfaces/external/IGelato.sol';
import {IGelatoRelay, IAutomationVault} from '../../interfaces/relays/IGelatoRelay.sol';

/**
* @title GelatoRelay
Expand Down
4 changes: 2 additions & 2 deletions solidity/contracts/relays/Keep3rBondedRelay.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.19;

import {IKeep3rBondedRelay, IAutomationVault, IKeep3rRelay} from '@interfaces/relays/IKeep3rBondedRelay.sol';
import {IKeep3rV2} from '@interfaces/relays/IKeep3rRelay.sol';
import {IKeep3rBondedRelay, IAutomationVault, IKeep3rRelay} from '../../interfaces/relays/IKeep3rBondedRelay.sol';
import {IKeep3rV2} from '../../interfaces/relays/IKeep3rRelay.sol';

/**
* @title Keep3rBondedRelay
Expand Down
4 changes: 2 additions & 2 deletions solidity/contracts/relays/Keep3rRelay.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.19;

import {IKeep3rRelay, IAutomationVault} from '@interfaces/relays/IKeep3rRelay.sol';
import {IKeep3rV2} from '@interfaces/external/IKeep3rV2.sol';
import {IKeep3rRelay, IAutomationVault} from '../../interfaces/relays/IKeep3rRelay.sol';
import {IKeep3rV2} from '../../interfaces/external/IKeep3rV2.sol';

/**
* @title Keep3rRelay
Expand Down
6 changes: 3 additions & 3 deletions solidity/contracts/relays/OpenRelay.sol
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.19;

import {IOpenRelay} from '@interfaces/relays/IOpenRelay.sol';
import {IAutomationVault} from '@interfaces/core/IAutomationVault.sol';
import {_NATIVE_TOKEN} from '@utils/Constants.sol';
import {IOpenRelay} from '../../interfaces/relays/IOpenRelay.sol';
import {IAutomationVault} from '../../interfaces/core/IAutomationVault.sol';
import {_NATIVE_TOKEN} from '../../utils/Constants.sol';

/**
* @title OpenRelay
Expand Down
2 changes: 1 addition & 1 deletion solidity/interfaces/core/IAutomationVaultFactory.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.19;

import {IAutomationVault} from '@interfaces/core/IAutomationVault.sol';
import {IAutomationVault} from '../../interfaces/core/IAutomationVault.sol';

interface IAutomationVaultFactory {
/*///////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion solidity/interfaces/external/IAutomate.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import {ITaskTreasuryUpgradable} from '@interfaces/external/ITaskTreasuryUpgradable.sol';
import {ITaskTreasuryUpgradable} from '../../interfaces/external/ITaskTreasuryUpgradable.sol';

// solhint-disable max-line-length
library LibDataTypes {
Expand Down
2 changes: 1 addition & 1 deletion solidity/interfaces/external/IKeep3rV1.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.4 <0.9.0;

import {IERC20Metadata} from '@openzeppelin/token/ERC20/extensions/IERC20Metadata.sol';
import {IERC20Metadata} from 'openzeppelin/token/ERC20/extensions/IERC20Metadata.sol';

interface IKeep3rV1 is IERC20Metadata {}
4 changes: 2 additions & 2 deletions solidity/interfaces/for-test/IBasicJobChecker.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.19;

import {IAutomationVault} from '@interfaces/core/IAutomationVault.sol';
import {IBasicJob} from '@interfaces/for-test/IBasicJob.sol';
import {IAutomationVault} from '../../interfaces/core/IAutomationVault.sol';
import {IBasicJob} from '../../interfaces/for-test/IBasicJob.sol';

interface IBasicJobChecker {
/*///////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion solidity/interfaces/periphery/IXKeeperMetadata.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.19;

import {IAutomationVault} from '@interfaces/core/IAutomationVault.sol';
import {IAutomationVault} from '../../interfaces/core/IAutomationVault.sol';

interface IXKeeperMetadata {
/*///////////////////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions solidity/interfaces/relays/IGelatoRelay.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.19;

import {IAutomate} from '@interfaces/external/IAutomate.sol';
import {IAutomationVault} from '@interfaces/core/IAutomationVault.sol';
import {IAutomate} from '../../interfaces/external/IAutomate.sol';
import {IAutomationVault} from '../../interfaces/core/IAutomationVault.sol';

interface IGelatoRelay {
/*///////////////////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions solidity/interfaces/relays/IKeep3rBondedRelay.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.19;

import {IAutomationVault} from '@interfaces/core/IAutomationVault.sol';
import {IKeep3rRelay} from '@interfaces/relays/IKeep3rRelay.sol';
import {IAutomationVault} from '../../interfaces/core/IAutomationVault.sol';
import {IKeep3rRelay} from '../../interfaces/relays/IKeep3rRelay.sol';

interface IKeep3rBondedRelay is IKeep3rRelay {
/*///////////////////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions solidity/interfaces/relays/IKeep3rRelay.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.19;

import {IAutomationVault} from '@interfaces/core/IAutomationVault.sol';
import {IKeep3rV2} from '@interfaces/external/IKeep3rV2.sol';
import {IAutomationVault} from '../../interfaces/core/IAutomationVault.sol';
import {IKeep3rV2} from '../../interfaces/external/IKeep3rV2.sol';

interface IKeep3rRelay {
/*///////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion solidity/interfaces/relays/IOpenRelay.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.19;

import {IAutomationVault} from '@interfaces/core/IAutomationVault.sol';
import {IAutomationVault} from '../../interfaces/core/IAutomationVault.sol';

interface IOpenRelay {
/*///////////////////////////////////////////////////////////////
Expand Down
20 changes: 10 additions & 10 deletions solidity/script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ pragma solidity 0.8.19;

import {Script} from 'forge-std/Script.sol';

import {AutomationVaultFactory, IAutomationVaultFactory} from '@contracts/core/AutomationVaultFactory.sol';
import {IAutomationVault} from '@contracts/core/AutomationVault.sol';
import {OpenRelay, IOpenRelay} from '@contracts/relays/OpenRelay.sol';
import {GelatoRelay, IGelatoRelay} from '@contracts/relays/GelatoRelay.sol';
import {Keep3rRelay, IKeep3rRelay} from '@contracts/relays/Keep3rRelay.sol';
import {Keep3rBondedRelay, IKeep3rBondedRelay} from '@contracts/relays/Keep3rBondedRelay.sol';
import {XKeeperMetadata, IXKeeperMetadata} from '@contracts/periphery/XKeeperMetadata.sol';
import {_NATIVE_TOKEN} from '@utils/Constants.sol';
import {IAutomate} from '@interfaces/external/IAutomate.sol';
import {IKeep3rV2} from '@interfaces/external/IKeep3rV2.sol';
import {AutomationVaultFactory, IAutomationVaultFactory} from '../contracts/core/AutomationVaultFactory.sol';
import {IAutomationVault} from '../contracts/core/AutomationVault.sol';
import {OpenRelay, IOpenRelay} from '../contracts/relays/OpenRelay.sol';
import {GelatoRelay, IGelatoRelay} from '../contracts/relays/GelatoRelay.sol';
import {Keep3rRelay, IKeep3rRelay} from '../contracts/relays/Keep3rRelay.sol';
import {Keep3rBondedRelay, IKeep3rBondedRelay} from '../contracts/relays/Keep3rBondedRelay.sol';
import {XKeeperMetadata, IXKeeperMetadata} from '../contracts/periphery/XKeeperMetadata.sol';
import {_NATIVE_TOKEN} from '../utils/Constants.sol';
import {IAutomate} from '../interfaces/external/IAutomate.sol';
import {IKeep3rV2} from '../interfaces/external/IKeep3rV2.sol';

abstract contract Deploy is Script {
// When new contracts need to be deployed, make sure to update the salt version to avoid address collition
Expand Down
6 changes: 3 additions & 3 deletions solidity/test/integration/AutomationVault.t.sol
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.19;

import {CommonIntegrationTest} from '@test/integration/Common.t.sol';
import {CommonIntegrationTest} from '../integration/Common.t.sol';
import {IERC20, SafeERC20} from 'openzeppelin/token/ERC20/utils/SafeERC20.sol';

import {IAutomationVault} from '@interfaces/core/IAutomationVault.sol';
import {IERC20, SafeERC20} from '@openzeppelin/token/ERC20/utils/SafeERC20.sol';
import {IAutomationVault} from '../../interfaces/core/IAutomationVault.sol';
import {_DAI_WHALE, _DAI} from './Constants.sol';

contract IntegrationAutomationVault is CommonIntegrationTest {
Expand Down
8 changes: 4 additions & 4 deletions solidity/test/integration/Common.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ pragma solidity 0.8.19;

import {Test} from 'forge-std/Test.sol';

import {BasicJob} from '@contracts/for-test/BasicJob.sol';
import {Deploy} from '@script/Deploy.s.sol';
import {IAutomate} from '@interfaces/external/IAutomate.sol';
import {IKeep3rV2} from '@interfaces/external/IKeep3rV2.sol';
import {BasicJob} from '../../contracts/for-test/BasicJob.sol';
import {Deploy} from '../../script/Deploy.s.sol';
import {IAutomate} from '../../interfaces/external/IAutomate.sol';
import {IKeep3rV2} from '../../interfaces/external/IKeep3rV2.sol';
import {_KEEP3R_V2, _AUTOMATE} from './Constants.sol';

contract DeployForTest is Deploy {
Expand Down
13 changes: 7 additions & 6 deletions solidity/test/integration/Constants.sol
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import {IOpsProxyFactory} from '@interfaces/external/IOpsProxyFactory.sol';
import {IKeep3rV2} from '@interfaces/external/IKeep3rV2.sol';
import {IKeep3rV1} from '@interfaces/external/IKeep3rV1.sol';
import {IKeep3rHelper} from '@interfaces/external/IKeep3rHelper.sol';
import {IERC20} from '@openzeppelin/token/ERC20/utils/SafeERC20.sol';
import {IAutomate} from '@interfaces/external/IAutomate.sol';
import {IERC20} from 'openzeppelin/token/ERC20/utils/SafeERC20.sol';

import {IOpsProxyFactory} from '../../interfaces/external/IOpsProxyFactory.sol';
import {IKeep3rV2} from '../../interfaces/external/IKeep3rV2.sol';
import {IKeep3rV1} from '../../interfaces/external/IKeep3rV1.sol';
import {IKeep3rHelper} from '../../interfaces/external/IKeep3rHelper.sol';
import {IAutomate} from '../../interfaces/external/IAutomate.sol';

address constant _KEEP3R_GOVERNOR = 0x0D5Dc686d0a2ABBfDaFDFb4D0533E886517d4E83;
address constant _KP3R_WHALE = 0x2FC52C61fB0C03489649311989CE2689D93dC1a2;
Expand Down
2 changes: 1 addition & 1 deletion solidity/test/integration/Deploy.t.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.19;

import {CommonIntegrationTest} from '@test/integration/Common.t.sol';
import {CommonIntegrationTest} from '../integration/Common.t.sol';

contract IntegrationDeploy is CommonIntegrationTest {
function test_automationVaultParams() public {
Expand Down
10 changes: 5 additions & 5 deletions solidity/test/integration/GelatoRelay.t.sol
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.19;

import {CommonIntegrationTest} from '@test/integration/Common.t.sol';
import {CommonIntegrationTest} from '../integration/Common.t.sol';

import {IAutomationVault} from '@interfaces/core/IAutomationVault.sol';
import {IAutomate, LibDataTypes} from '@interfaces/external/IAutomate.sol';
import {IGelato} from '@interfaces/external/IGelato.sol';
import {IOpsProxyFactory} from '@interfaces/external/IOpsProxyFactory.sol';
import {IAutomationVault} from '../../interfaces/core/IAutomationVault.sol';
import {IAutomate, LibDataTypes} from '../../interfaces/external/IAutomate.sol';
import {IGelato} from '../../interfaces/external/IGelato.sol';
import {IOpsProxyFactory} from '../../interfaces/external/IOpsProxyFactory.sol';
import {_NATIVE_TOKEN, _OPS_PROXY_FACTORY} from './Constants.sol';

contract IntegrationGelatoRelay is CommonIntegrationTest {
Expand Down
12 changes: 6 additions & 6 deletions solidity/test/integration/Keep3rRelay.t.sol
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.19;

import {CommonIntegrationTest} from '@test/integration/Common.t.sol';
import {CommonIntegrationTest} from '../integration/Common.t.sol';

import {IAutomationVault} from '@interfaces/core/IAutomationVault.sol';
import {IKeep3rV2} from '@interfaces/external/IKeep3rV2.sol';
import {IKeep3rHelper} from '@interfaces/external/IKeep3rHelper.sol';
import {IKeep3rV1} from '@interfaces/external/IKeep3rV1.sol';
import {IKeep3rBondedRelay} from '@interfaces/relays/IKeep3rBondedRelay.sol';
import {IAutomationVault} from '../../interfaces/core/IAutomationVault.sol';
import {IKeep3rV2} from '../../interfaces/external/IKeep3rV2.sol';
import {IKeep3rHelper} from '../../interfaces/external/IKeep3rHelper.sol';
import {IKeep3rV1} from '../../interfaces/external/IKeep3rV1.sol';
import {IKeep3rBondedRelay} from '../../interfaces/relays/IKeep3rBondedRelay.sol';
import {_KEEP3R_V2, _KEEP3R_HELPER, _KEEP3R_V1, _KEEP3R_GOVERNOR, _KP3R_WHALE} from './Constants.sol';

contract IntegrationKeep3rRelay is CommonIntegrationTest {
Expand Down
4 changes: 2 additions & 2 deletions solidity/test/integration/OpenRelay.t.sol
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.19;

import {CommonIntegrationTest} from '@test/integration/Common.t.sol';
import {CommonIntegrationTest} from '../integration/Common.t.sol';

import {IAutomationVault} from '@interfaces/core/IAutomationVault.sol';
import {IAutomationVault} from '../../interfaces/core/IAutomationVault.sol';

contract IntegrationOpenRelay is CommonIntegrationTest {
function setUp() public override {
Expand Down
6 changes: 3 additions & 3 deletions solidity/test/unit/AutomationVault.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
pragma solidity 0.8.19;

import {Test} from 'forge-std/Test.sol';
import {IERC20} from 'openzeppelin/token/ERC20/IERC20.sol';

import {AutomationVault, IAutomationVault, EnumerableSet} from '@contracts/core/AutomationVault.sol';
import {IERC20} from '@openzeppelin/token/ERC20/IERC20.sol';
import {_NATIVE_TOKEN, _ALL} from '@utils/Constants.sol';
import {AutomationVault, IAutomationVault, EnumerableSet} from '../../contracts/core/AutomationVault.sol';
import {_NATIVE_TOKEN, _ALL} from '../../utils/Constants.sol';

contract AutomationVaultForTest is AutomationVault {
using EnumerableSet for EnumerableSet.AddressSet;
Expand Down
4 changes: 2 additions & 2 deletions solidity/test/unit/AutomationVaultFactory.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ pragma solidity 0.8.19;

import {Test} from 'forge-std/Test.sol';

import {AutomationVaultFactory, EnumerableSet} from '@contracts/core/AutomationVaultFactory.sol';
import {AutomationVault, IAutomationVault} from '@contracts/core/AutomationVault.sol';
import {AutomationVaultFactory, EnumerableSet} from '../../contracts/core/AutomationVaultFactory.sol';
import {AutomationVault, IAutomationVault} from '../../contracts/core/AutomationVault.sol';

contract AutomationVaultFactoryForTest is AutomationVaultFactory {
using EnumerableSet for EnumerableSet.AddressSet;
Expand Down
2 changes: 1 addition & 1 deletion solidity/test/unit/GelatoRelay.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pragma solidity 0.8.19;

import {Test} from 'forge-std/Test.sol';

import {GelatoRelay, IAutomationVault, IAutomate, IGelato} from '@contracts/relays/GelatoRelay.sol';
import {GelatoRelay, IAutomationVault, IAutomate, IGelato} from '../../contracts/relays/GelatoRelay.sol';

/**
* @title GelatoRelay Unit tests
Expand Down
2 changes: 1 addition & 1 deletion solidity/test/unit/Keep3rBondedRelay.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
IKeep3rBondedRelay,
IAutomationVault,
IKeep3rV2
} from '@contracts/relays/Keep3rBondedRelay.sol';
} from '../../contracts/relays/Keep3rBondedRelay.sol';

contract Keep3rBondedRelayForTest is Keep3rBondedRelay {
constructor(IKeep3rV2 _keep3rV2) Keep3rBondedRelay(_keep3rV2) {}
Expand Down
Loading

0 comments on commit 5369801

Please sign in to comment.