Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing relative paths #36

Merged
merged 2 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@symbioticfi/core",
"version": "1.0.0-devnet.4",
"version": "1.0.0-devnet.5",
"description": "Symbiotic is a shared security protocol enabling decentralized networks to control and customize their own multi-asset restaking implementation.",
"homepage": "https://symbiotic.fi/",
"bugs": "https://github.com/symbioticfi/core/issues",
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/delegator/IBaseDelegator.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {IEntity} from "src/interfaces/common/IEntity.sol";
import {IEntity} from "../common/IEntity.sol";

interface IBaseDelegator is IEntity {
error AlreadySet();
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/slasher/IBaseSlasher.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {IEntity} from "src/interfaces/common/IEntity.sol";
import {IEntity} from "../common/IEntity.sol";

interface IBaseSlasher is IEntity {
error NotNetworkMiddleware();
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/vault/IVault.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {IMigratableEntity} from "src/interfaces/common/IMigratableEntity.sol";
import {IMigratableEntity} from "../common/IMigratableEntity.sol";
import {IVaultStorage} from "./IVaultStorage.sol";

interface IVault is IMigratableEntity, IVaultStorage {
Expand Down
2 changes: 1 addition & 1 deletion test/DelegatorFactory.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {FullRestakeDelegator} from "../src/contracts/delegator/FullRestakeDelega
import {Slasher} from "../src/contracts/slasher/Slasher.sol";
import {VetoSlasher} from "../src/contracts/slasher/VetoSlasher.sol";

import {IVault} from "src/interfaces/vault/IVault.sol";
import {IVault} from "../src/interfaces/vault/IVault.sol";

import {Token} from "./mocks/Token.sol";
import {VaultConfigurator} from "../src/contracts/VaultConfigurator.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/POCBase.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {FullRestakeDelegator} from "../src/contracts/delegator/FullRestakeDelega
import {Slasher} from "../src/contracts/slasher/Slasher.sol";
import {VetoSlasher} from "../src/contracts/slasher/VetoSlasher.sol";

import {IVault} from "src/interfaces/vault/IVault.sol";
import {IVault} from "../src/interfaces/vault/IVault.sol";

import {Token} from "test/mocks/Token.sol";
import {FeeOnTransferToken} from "test/mocks/FeeOnTransferToken.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/SlasherFactory.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {FullRestakeDelegator} from "../src/contracts/delegator/FullRestakeDelega
import {Slasher} from "../src/contracts/slasher/Slasher.sol";
import {VetoSlasher} from "../src/contracts/slasher/VetoSlasher.sol";

import {IVault} from "src/interfaces/vault/IVault.sol";
import {IVault} from "../src/interfaces/vault/IVault.sol";

import {Token} from "./mocks/Token.sol";
import {VaultConfigurator} from "../src/contracts/VaultConfigurator.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/VaultConfigurator.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {FullRestakeDelegator} from "../src/contracts/delegator/FullRestakeDelega
import {Slasher} from "../src/contracts/slasher/Slasher.sol";
import {VetoSlasher} from "../src/contracts/slasher/VetoSlasher.sol";

import {IVault} from "src/interfaces/vault/IVault.sol";
import {IVault} from "../src/interfaces/vault/IVault.sol";

import {Token} from "./mocks/Token.sol";
import {VaultConfigurator} from "../src/contracts/VaultConfigurator.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/VaultFactory.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {FullRestakeDelegator} from "../src/contracts/delegator/FullRestakeDelega
import {Slasher} from "../src/contracts/slasher/Slasher.sol";
import {VetoSlasher} from "../src/contracts/slasher/VetoSlasher.sol";

import {IVault} from "src/interfaces/vault/IVault.sol";
import {IVault} from "../src/interfaces/vault/IVault.sol";

import {Token} from "./mocks/Token.sol";
import {VaultConfigurator} from "../src/contracts/VaultConfigurator.sol";
Expand Down
6 changes: 3 additions & 3 deletions test/common/MigratableEntity.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {Test, console2} from "forge-std/Test.sol";

import {IRegistry} from "../../src/interfaces/common/IRegistry.sol";

import {MigratablesFactory} from "src/contracts/common/MigratablesFactory.sol";
import {IMigratablesFactory} from "src/interfaces/common/IMigratablesFactory.sol";
import {IMigratableEntityProxy} from "src/interfaces/common/IMigratableEntityProxy.sol";
import {MigratablesFactory} from "../../src/contracts/common/MigratablesFactory.sol";
import {IMigratablesFactory} from "../../src/interfaces/common/IMigratablesFactory.sol";
import {IMigratableEntityProxy} from "../../src/interfaces/common/IMigratableEntityProxy.sol";

import {IMigratableEntity} from "../../src/interfaces/common/IMigratableEntity.sol";

Expand Down
14 changes: 7 additions & 7 deletions test/delegator/FullRestakeDelegator.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ import {FullRestakeDelegator} from "../../src/contracts/delegator/FullRestakeDel
import {Slasher} from "../../src/contracts/slasher/Slasher.sol";
import {VetoSlasher} from "../../src/contracts/slasher/VetoSlasher.sol";

import {IVault} from "src/interfaces/vault/IVault.sol";
import {IVault} from "../../src/interfaces/vault/IVault.sol";

import {Token} from "test/mocks/Token.sol";
import {VaultConfigurator} from "src/contracts/VaultConfigurator.sol";
import {IVaultConfigurator} from "src/interfaces/IVaultConfigurator.sol";
import {INetworkRestakeDelegator} from "src/interfaces/delegator/INetworkRestakeDelegator.sol";
import {IFullRestakeDelegator} from "src/interfaces/delegator/IFullRestakeDelegator.sol";
import {IBaseDelegator} from "src/interfaces/delegator/IBaseDelegator.sol";
import {ISlasher} from "src/interfaces/slasher/ISlasher.sol";
import {VaultConfigurator} from "../../src/contracts/VaultConfigurator.sol";
import {IVaultConfigurator} from "../../src/interfaces/IVaultConfigurator.sol";
import {INetworkRestakeDelegator} from "../../src/interfaces/delegator/INetworkRestakeDelegator.sol";
import {IFullRestakeDelegator} from "../../src/interfaces/delegator/IFullRestakeDelegator.sol";
import {IBaseDelegator} from "../../src/interfaces/delegator/IBaseDelegator.sol";
import {ISlasher} from "../../src/interfaces/slasher/ISlasher.sol";

import {IVaultStorage} from "../../src/interfaces/vault/IVaultStorage.sol";
import {Math} from "@openzeppelin/contracts/utils/math/Math.sol";
Expand Down
14 changes: 7 additions & 7 deletions test/delegator/NetworkRestakeDelegator.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ import {FullRestakeDelegator} from "../../src/contracts/delegator/FullRestakeDel
import {Slasher} from "../../src/contracts/slasher/Slasher.sol";
import {VetoSlasher} from "../../src/contracts/slasher/VetoSlasher.sol";

import {IVault} from "src/interfaces/vault/IVault.sol";
import {IVault} from "../../src/interfaces/vault/IVault.sol";

import {Token} from "test/mocks/Token.sol";
import {VaultConfigurator} from "src/contracts/VaultConfigurator.sol";
import {IVaultConfigurator} from "src/interfaces/IVaultConfigurator.sol";
import {INetworkRestakeDelegator} from "src/interfaces/delegator/INetworkRestakeDelegator.sol";
import {IFullRestakeDelegator} from "src/interfaces/delegator/IFullRestakeDelegator.sol";
import {IBaseDelegator} from "src/interfaces/delegator/IBaseDelegator.sol";
import {ISlasher} from "src/interfaces/slasher/ISlasher.sol";
import {VaultConfigurator} from "../../src/contracts/VaultConfigurator.sol";
import {IVaultConfigurator} from "../../src/interfaces/IVaultConfigurator.sol";
import {INetworkRestakeDelegator} from "../../src/interfaces/delegator/INetworkRestakeDelegator.sol";
import {IFullRestakeDelegator} from "../../src/interfaces/delegator/IFullRestakeDelegator.sol";
import {IBaseDelegator} from "../../src/interfaces/delegator/IBaseDelegator.sol";
import {ISlasher} from "../../src/interfaces/slasher/ISlasher.sol";

import {IVaultStorage} from "../../src/interfaces/vault/IVaultStorage.sol";
import {Math} from "@openzeppelin/contracts/utils/math/Math.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/slasher/Slasher.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {FullRestakeDelegator} from "../../src/contracts/delegator/FullRestakeDel
import {Slasher} from "../../src/contracts/slasher/Slasher.sol";
import {VetoSlasher} from "../../src/contracts/slasher/VetoSlasher.sol";

import {IVault} from "src/interfaces/vault/IVault.sol";
import {IVault} from "../../src/interfaces/vault/IVault.sol";

import {Token} from "test/mocks/Token.sol";
import {VaultConfigurator} from "../../src/contracts/VaultConfigurator.sol";
Expand Down
16 changes: 8 additions & 8 deletions test/slasher/VetoSlasher.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ import {FullRestakeDelegator} from "../../src/contracts/delegator/FullRestakeDel
import {Slasher} from "../../src/contracts/slasher/Slasher.sol";
import {VetoSlasher} from "../../src/contracts/slasher/VetoSlasher.sol";

import {IVault} from "src/interfaces/vault/IVault.sol";
import {IVault} from "../../src/interfaces/vault/IVault.sol";

import {Token} from "test/mocks/Token.sol";
import {VaultConfigurator} from "src/contracts/VaultConfigurator.sol";
import {IVaultConfigurator} from "src/interfaces/IVaultConfigurator.sol";
import {INetworkRestakeDelegator} from "src/interfaces/delegator/INetworkRestakeDelegator.sol";
import {IFullRestakeDelegator} from "src/interfaces/delegator/IFullRestakeDelegator.sol";
import {IBaseDelegator} from "src/interfaces/delegator/IBaseDelegator.sol";
import {IMigratableEntityProxy} from "src/interfaces/common/IMigratableEntityProxy.sol";
import {IMigratableEntity} from "src/interfaces/common/IMigratableEntity.sol";
import {VaultConfigurator} from "../../src/contracts/VaultConfigurator.sol";
import {IVaultConfigurator} from "../../src/interfaces/IVaultConfigurator.sol";
import {INetworkRestakeDelegator} from "../../src/interfaces/delegator/INetworkRestakeDelegator.sol";
import {IFullRestakeDelegator} from "../../src/interfaces/delegator/IFullRestakeDelegator.sol";
import {IBaseDelegator} from "../../src/interfaces/delegator/IBaseDelegator.sol";
import {IMigratableEntityProxy} from "../../src/interfaces/common/IMigratableEntityProxy.sol";
import {IMigratableEntity} from "../../src/interfaces/common/IMigratableEntity.sol";

import {IVaultStorage} from "../../src/interfaces/vault/IVaultStorage.sol";
import {IVetoSlasher} from "../../src/interfaces/slasher/IVetoSlasher.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/vault/Vault.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {FullRestakeDelegator} from "../../src/contracts/delegator/FullRestakeDel
import {Slasher} from "../../src/contracts/slasher/Slasher.sol";
import {VetoSlasher} from "../../src/contracts/slasher/VetoSlasher.sol";

import {IVault} from "src/interfaces/vault/IVault.sol";
import {IVault} from "../../src/interfaces/vault/IVault.sol";

import {Token} from "test/mocks/Token.sol";
import {FeeOnTransferToken} from "test/mocks/FeeOnTransferToken.sol";
Expand Down
Loading