diff --git a/packages/contracts/test/e2e/scenarios/send-grt-to-l2.ts b/packages/contracts/test/e2e/scenarios/send-grt-to-l2.ts index 9a462cb91..c74ae826f 100644 --- a/packages/contracts/test/e2e/scenarios/send-grt-to-l2.ts +++ b/packages/contracts/test/e2e/scenarios/send-grt-to-l2.ts @@ -5,7 +5,7 @@ // npx hardhat e2e:scenario send-grt-to-l2 --network --graph-config config/graph..yml import hre from 'hardhat' -import { TASK_BRIDGE_TO_L2 } from '../../tasks/bridge/to-l2' +import { TASK_BRIDGE_TO_L2 } from '../../../tasks/bridge/to-l2' import { getBridgeFixture } from './fixtures/bridge' import { getGREOptsFromArgv } from '@graphprotocol/sdk/gre' import { ethers } from 'ethers' diff --git a/packages/contracts/test/unit/disputes/configuration.test.ts b/packages/contracts/test/unit/disputes/configuration.test.ts index 259f9508f..0b94ee18a 100644 --- a/packages/contracts/test/unit/disputes/configuration.test.ts +++ b/packages/contracts/test/unit/disputes/configuration.test.ts @@ -2,7 +2,7 @@ import hre from 'hardhat' import { constants } from 'ethers' import { expect } from 'chai' -import { DisputeManager } from '../../build/types/DisputeManager' +import { DisputeManager } from '../../../build/types/DisputeManager' import { NetworkFixture } from '../lib/fixtures' import { GraphNetworkContracts, toBN } from '@graphprotocol/sdk' diff --git a/packages/contracts/test/unit/disputes/poi.test.ts b/packages/contracts/test/unit/disputes/poi.test.ts index 2a311be27..5d482056c 100644 --- a/packages/contracts/test/unit/disputes/poi.test.ts +++ b/packages/contracts/test/unit/disputes/poi.test.ts @@ -2,10 +2,10 @@ import hre from 'hardhat' import { expect } from 'chai' import { utils } from 'ethers' -import { DisputeManager } from '../../build/types/DisputeManager' -import { EpochManager } from '../../build/types/EpochManager' -import { GraphToken } from '../../build/types/GraphToken' -import { IStaking } from '../../build/types/IStaking' +import { DisputeManager } from '../../../build/types/DisputeManager' +import { EpochManager } from '../../../build/types/EpochManager' +import { GraphToken } from '../../../build/types/GraphToken' +import { IStaking } from '../../../build/types/IStaking' import { NetworkFixture } from '../lib/fixtures' diff --git a/packages/contracts/test/unit/disputes/query.test.ts b/packages/contracts/test/unit/disputes/query.test.ts index e00db65b6..ea6f4888e 100644 --- a/packages/contracts/test/unit/disputes/query.test.ts +++ b/packages/contracts/test/unit/disputes/query.test.ts @@ -3,10 +3,10 @@ import { expect } from 'chai' import { constants } from 'ethers' import { createAttestation, Receipt } from '@graphprotocol/common-ts' -import { DisputeManager } from '../../build/types/DisputeManager' -import { EpochManager } from '../../build/types/EpochManager' -import { GraphToken } from '../../build/types/GraphToken' -import { IStaking } from '../../build/types/IStaking' +import { DisputeManager } from '../../../build/types/DisputeManager' +import { EpochManager } from '../../../build/types/EpochManager' +import { GraphToken } from '../../../build/types/GraphToken' +import { IStaking } from '../../../build/types/IStaking' import { NetworkFixture } from '../lib/fixtures' diff --git a/packages/contracts/test/unit/gateway/bridgeEscrow.test.ts b/packages/contracts/test/unit/gateway/bridgeEscrow.test.ts index 2af2d1760..872b82451 100644 --- a/packages/contracts/test/unit/gateway/bridgeEscrow.test.ts +++ b/packages/contracts/test/unit/gateway/bridgeEscrow.test.ts @@ -2,8 +2,8 @@ import hre from 'hardhat' import { expect } from 'chai' import { BigNumber } from 'ethers' -import { GraphToken } from '../../build/types/GraphToken' -import { BridgeEscrow } from '../../build/types/BridgeEscrow' +import { GraphToken } from '../../../build/types/GraphToken' +import { BridgeEscrow } from '../../../build/types/BridgeEscrow' import { NetworkFixture } from '../lib/fixtures' diff --git a/packages/contracts/test/unit/gateway/l1GraphTokenGateway.test.ts b/packages/contracts/test/unit/gateway/l1GraphTokenGateway.test.ts index 93067fcfd..43b1f02d1 100644 --- a/packages/contracts/test/unit/gateway/l1GraphTokenGateway.test.ts +++ b/packages/contracts/test/unit/gateway/l1GraphTokenGateway.test.ts @@ -2,15 +2,15 @@ import hre from 'hardhat' import { expect } from 'chai' import { constants, Signer, utils } from 'ethers' -import { GraphToken } from '../../build/types/GraphToken' -import { BridgeMock } from '../../build/types/BridgeMock' -import { InboxMock } from '../../build/types/InboxMock' -import { OutboxMock } from '../../build/types/OutboxMock' -import { L1GraphTokenGateway } from '../../build/types/L1GraphTokenGateway' +import { GraphToken } from '../../../build/types/GraphToken' +import { BridgeMock } from '../../../build/types/BridgeMock' +import { InboxMock } from '../../../build/types/InboxMock' +import { OutboxMock } from '../../../build/types/OutboxMock' +import { L1GraphTokenGateway } from '../../../build/types/L1GraphTokenGateway' import { NetworkFixture, ArbitrumL1Mocks, L1FixtureContracts } from '../lib/fixtures' -import { BridgeEscrow } from '../../build/types/BridgeEscrow' +import { BridgeEscrow } from '../../../build/types/BridgeEscrow' import { helpers, applyL1ToL2Alias, toBN, toGRT, GraphNetworkContracts } from '@graphprotocol/sdk' import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers' diff --git a/packages/contracts/test/unit/governance/controller.test.ts b/packages/contracts/test/unit/governance/controller.test.ts index 1c08feb44..0d914d268 100644 --- a/packages/contracts/test/unit/governance/controller.test.ts +++ b/packages/contracts/test/unit/governance/controller.test.ts @@ -2,8 +2,8 @@ import hre from 'hardhat' import { expect } from 'chai' import { constants, utils } from 'ethers' -import { Controller } from '../../build/types/Controller' -import { EpochManager } from '../../build/types/EpochManager' +import { Controller } from '../../../build/types/Controller' +import { EpochManager } from '../../../build/types/EpochManager' import { NetworkFixture } from '../lib/fixtures' import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers' diff --git a/packages/contracts/test/unit/governance/governed.test.ts b/packages/contracts/test/unit/governance/governed.test.ts index f26e4b911..577c20c46 100644 --- a/packages/contracts/test/unit/governance/governed.test.ts +++ b/packages/contracts/test/unit/governance/governed.test.ts @@ -2,7 +2,7 @@ import { expect } from 'chai' import hre from 'hardhat' import '@nomiclabs/hardhat-ethers' -import { Governed } from '../../build/types/Governed' +import { Governed } from '../../../build/types/Governed' import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers' const { ethers } = hre diff --git a/packages/contracts/test/unit/governance/pausing.test.ts b/packages/contracts/test/unit/governance/pausing.test.ts index c27a2f7c6..17b339892 100644 --- a/packages/contracts/test/unit/governance/pausing.test.ts +++ b/packages/contracts/test/unit/governance/pausing.test.ts @@ -2,8 +2,8 @@ import hre from 'hardhat' import { expect } from 'chai' import { constants } from 'ethers' -import { Controller } from '../../build/types/Controller' -import { IStaking } from '../../build/types/IStaking' +import { Controller } from '../../../build/types/Controller' +import { IStaking } from '../../../build/types/IStaking' import { NetworkFixture } from '../lib/fixtures' import { GraphNetworkContracts, toGRT } from '@graphprotocol/sdk' diff --git a/packages/contracts/test/unit/l2/l2Curation.test.ts b/packages/contracts/test/unit/l2/l2Curation.test.ts index 3375c72cd..f6db4f345 100644 --- a/packages/contracts/test/unit/l2/l2Curation.test.ts +++ b/packages/contracts/test/unit/l2/l2Curation.test.ts @@ -2,12 +2,12 @@ import hre from 'hardhat' import { expect } from 'chai' import { utils, BigNumber, Event, Signer, constants } from 'ethers' -import { L2Curation } from '../../build/types/L2Curation' -import { GraphToken } from '../../build/types/GraphToken' -import { Controller } from '../../build/types/Controller' +import { L2Curation } from '../../../build/types/L2Curation' +import { GraphToken } from '../../../build/types/GraphToken' +import { Controller } from '../../../build/types/Controller' import { NetworkFixture } from '../lib/fixtures' -import { GNS } from '../../build/types/GNS' +import { GNS } from '../../../build/types/GNS' import { parseEther } from 'ethers/lib/utils' import { formatGRT, diff --git a/packages/contracts/test/unit/l2/l2GNS.test.ts b/packages/contracts/test/unit/l2/l2GNS.test.ts index e014b2e07..aee8174ca 100644 --- a/packages/contracts/test/unit/l2/l2GNS.test.ts +++ b/packages/contracts/test/unit/l2/l2GNS.test.ts @@ -5,8 +5,8 @@ import { defaultAbiCoder, parseEther } from 'ethers/lib/utils' import { L2FixtureContracts, NetworkFixture } from '../lib/fixtures' -import { L2GNS } from '../../build/types/L2GNS' -import { L2GraphTokenGateway } from '../../build/types/L2GraphTokenGateway' +import { L2GNS } from '../../../build/types/L2GNS' +import { L2GraphTokenGateway } from '../../../build/types/L2GraphTokenGateway' import { burnSignal, DEFAULT_RESERVE_RATIO, @@ -15,8 +15,8 @@ import { publishNewSubgraph, publishNewVersion, } from '../lib/gnsUtils' -import { L2Curation } from '../../build/types/L2Curation' -import { GraphToken } from '../../build/types/GraphToken' +import { L2Curation } from '../../../build/types/L2Curation' +import { GraphToken } from '../../../build/types/GraphToken' import { buildSubgraph, buildSubgraphId, @@ -30,7 +30,7 @@ import { toGRT, } from '@graphprotocol/sdk' import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers' -import { IL2Staking } from '../../build/types/IL2Staking' +import { IL2Staking } from '../../../build/types/IL2Staking' const { HashZero } = ethers.constants diff --git a/packages/contracts/test/unit/l2/l2GraphToken.test.ts b/packages/contracts/test/unit/l2/l2GraphToken.test.ts index 0af174e04..eea830a83 100644 --- a/packages/contracts/test/unit/l2/l2GraphToken.test.ts +++ b/packages/contracts/test/unit/l2/l2GraphToken.test.ts @@ -1,7 +1,7 @@ import hre from 'hardhat' import { expect } from 'chai' -import { L2GraphToken } from '../../build/types/L2GraphToken' +import { L2GraphToken } from '../../../build/types/L2GraphToken' import { grtTests } from '../lib/graphTokenTests' import { NetworkFixture } from '../lib/fixtures' diff --git a/packages/contracts/test/unit/l2/l2GraphTokenGateway.test.ts b/packages/contracts/test/unit/l2/l2GraphTokenGateway.test.ts index 1c3ffa4cc..c28f0fc0f 100644 --- a/packages/contracts/test/unit/l2/l2GraphTokenGateway.test.ts +++ b/packages/contracts/test/unit/l2/l2GraphTokenGateway.test.ts @@ -2,9 +2,9 @@ import hre from 'hardhat' import { expect, use } from 'chai' import { constants, ContractTransaction, Signer, utils } from 'ethers' -import { L2GraphToken } from '../../build/types/L2GraphToken' -import { L2GraphTokenGateway } from '../../build/types/L2GraphTokenGateway' -import { CallhookReceiverMock } from '../../build/types/CallhookReceiverMock' +import { L2GraphToken } from '../../../build/types/L2GraphToken' +import { L2GraphTokenGateway } from '../../../build/types/L2GraphTokenGateway' +import { CallhookReceiverMock } from '../../../build/types/CallhookReceiverMock' import { L2FixtureContracts, NetworkFixture } from '../lib/fixtures' @@ -12,7 +12,7 @@ import { FakeContract, smock } from '@defi-wonderland/smock' use(smock.matchers) -import { RewardsManager } from '../../build/types/RewardsManager' +import { RewardsManager } from '../../../build/types/RewardsManager' import { DeployType, GraphNetworkContracts, deploy, helpers, toBN, toGRT } from '@graphprotocol/sdk' import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers' diff --git a/packages/contracts/test/unit/l2/l2Staking.test.ts b/packages/contracts/test/unit/l2/l2Staking.test.ts index 890a697b3..0fbaabd1e 100644 --- a/packages/contracts/test/unit/l2/l2Staking.test.ts +++ b/packages/contracts/test/unit/l2/l2Staking.test.ts @@ -5,9 +5,9 @@ import { defaultAbiCoder, parseEther } from 'ethers/lib/utils' import { NetworkFixture } from '../lib/fixtures' -import { IL2Staking } from '../../build/types/IL2Staking' -import { L2GraphTokenGateway } from '../../build/types/L2GraphTokenGateway' -import { GraphToken } from '../../build/types/GraphToken' +import { IL2Staking } from '../../../build/types/IL2Staking' +import { L2GraphTokenGateway } from '../../../build/types/L2GraphTokenGateway' +import { GraphToken } from '../../../build/types/GraphToken' import { GraphNetworkContracts, deriveChannelKey, diff --git a/packages/contracts/test/unit/lib/fixtures.ts b/packages/contracts/test/unit/lib/fixtures.ts index cc851dc32..9f8da9f80 100644 --- a/packages/contracts/test/unit/lib/fixtures.ts +++ b/packages/contracts/test/unit/lib/fixtures.ts @@ -1,27 +1,27 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ import { Signer, providers } from 'ethers' -import { BridgeMock } from '../../build/types/BridgeMock' -import { InboxMock } from '../../build/types/InboxMock' -import { OutboxMock } from '../../build/types/OutboxMock' -import { Controller } from '../../build/types/Controller' -import { DisputeManager } from '../../build/types/DisputeManager' -import { EpochManager } from '../../build/types/EpochManager' -import { GraphToken } from '../../build/types/GraphToken' -import { Curation } from '../../build/types/Curation' -import { L2Curation } from '../../build/types/L2Curation' -import { L1GNS } from '../../build/types/L1GNS' -import { L2GNS } from '../../build/types/L2GNS' -import { IL1Staking } from '../../build/types/IL1Staking' -import { IL2Staking } from '../../build/types/IL2Staking' -import { RewardsManager } from '../../build/types/RewardsManager' -import { ServiceRegistry } from '../../build/types/ServiceRegistry' -import { GraphProxyAdmin } from '../../build/types/GraphProxyAdmin' -import { L1GraphTokenGateway } from '../../build/types/L1GraphTokenGateway' -import { BridgeEscrow } from '../../build/types/BridgeEscrow' -import { L2GraphTokenGateway } from '../../build/types/L2GraphTokenGateway' -import { L2GraphToken } from '../../build/types/L2GraphToken' -import { LibExponential } from '../../build/types/LibExponential' +import { BridgeMock } from '../../../build/types/BridgeMock' +import { InboxMock } from '../../../build/types/InboxMock' +import { OutboxMock } from '../../../build/types/OutboxMock' +import { Controller } from '../../../build/types/Controller' +import { DisputeManager } from '../../../build/types/DisputeManager' +import { EpochManager } from '../../../build/types/EpochManager' +import { GraphToken } from '../../../build/types/GraphToken' +import { Curation } from '../../../build/types/Curation' +import { L2Curation } from '../../../build/types/L2Curation' +import { L1GNS } from '../../../build/types/L1GNS' +import { L2GNS } from '../../../build/types/L2GNS' +import { IL1Staking } from '../../../build/types/IL1Staking' +import { IL2Staking } from '../../../build/types/IL2Staking' +import { RewardsManager } from '../../../build/types/RewardsManager' +import { ServiceRegistry } from '../../../build/types/ServiceRegistry' +import { GraphProxyAdmin } from '../../../build/types/GraphProxyAdmin' +import { L1GraphTokenGateway } from '../../../build/types/L1GraphTokenGateway' +import { BridgeEscrow } from '../../../build/types/BridgeEscrow' +import { L2GraphTokenGateway } from '../../../build/types/L2GraphTokenGateway' +import { L2GraphToken } from '../../../build/types/L2GraphToken' +import { LibExponential } from '../../../build/types/LibExponential' import { DeployType, GraphNetworkContracts, diff --git a/packages/contracts/test/unit/lib/gnsUtils.ts b/packages/contracts/test/unit/lib/gnsUtils.ts index f530c44dc..086231c03 100644 --- a/packages/contracts/test/unit/lib/gnsUtils.ts +++ b/packages/contracts/test/unit/lib/gnsUtils.ts @@ -1,12 +1,12 @@ import { BigNumber, ContractTransaction } from 'ethers' import { namehash } from 'ethers/lib/utils' -import { Curation } from '../../build/types/Curation' -import { L1GNS } from '../../build/types/L1GNS' -import { L2GNS } from '../../build/types/L2GNS' +import { Curation } from '../../../build/types/Curation' +import { L1GNS } from '../../../build/types/L1GNS' +import { L2GNS } from '../../../build/types/L2GNS' import { expect } from 'chai' -import { L2Curation } from '../../build/types/L2Curation' -import { GraphToken } from '../../build/types/GraphToken' -import { L2GraphToken } from '../../build/types/L2GraphToken' +import { L2Curation } from '../../../build/types/L2Curation' +import { GraphToken } from '../../../build/types/GraphToken' +import { L2GraphToken } from '../../../build/types/L2GraphToken' import { PublishSubgraph, Subgraph, buildSubgraphId, toBN } from '@graphprotocol/sdk' import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers' diff --git a/packages/contracts/test/unit/lib/graphTokenTests.ts b/packages/contracts/test/unit/lib/graphTokenTests.ts index 94f2f0fb0..a51410e13 100644 --- a/packages/contracts/test/unit/lib/graphTokenTests.ts +++ b/packages/contracts/test/unit/lib/graphTokenTests.ts @@ -2,8 +2,8 @@ import hre from 'hardhat' import { expect } from 'chai' import { constants, BigNumber, Signature, ethers, Wallet } from 'ethers' -import { L2GraphToken } from '../../build/types/L2GraphToken' -import { GraphToken } from '../../build/types/GraphToken' +import { L2GraphToken } from '../../../build/types/L2GraphToken' +import { GraphToken } from '../../../build/types/GraphToken' import { toBN, toGRT, helpers, Permit, signPermit, GraphNetworkContracts } from '@graphprotocol/sdk' import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers' import { NetworkFixture } from './fixtures' diff --git a/packages/contracts/test/unit/payments/allocationExchange.test.ts b/packages/contracts/test/unit/payments/allocationExchange.test.ts index 16539ea7f..87df2a55a 100644 --- a/packages/contracts/test/unit/payments/allocationExchange.test.ts +++ b/packages/contracts/test/unit/payments/allocationExchange.test.ts @@ -2,9 +2,9 @@ import hre from 'hardhat' import { expect } from 'chai' import { BigNumber, constants, Wallet } from 'ethers' -import { AllocationExchange } from '../../build/types/AllocationExchange' -import { GraphToken } from '../../build/types/GraphToken' -import { IStaking } from '../../build/types/IStaking' +import { AllocationExchange } from '../../../build/types/AllocationExchange' +import { GraphToken } from '../../../build/types/GraphToken' +import { IStaking } from '../../../build/types/IStaking' import { NetworkFixture } from '../lib/fixtures' import { arrayify, joinSignature, SigningKey, solidityKeccak256 } from 'ethers/lib/utils' @@ -17,7 +17,7 @@ import { toGRT, } from '@graphprotocol/sdk' import type { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers' -import { EpochManager } from '../../build/types/EpochManager' +import { EpochManager } from '../../../build/types/EpochManager' const { AddressZero, MaxUint256 } = constants diff --git a/packages/contracts/test/unit/rewards/rewards.test.ts b/packages/contracts/test/unit/rewards/rewards.test.ts index 5c4438b78..eb5baa4a8 100644 --- a/packages/contracts/test/unit/rewards/rewards.test.ts +++ b/packages/contracts/test/unit/rewards/rewards.test.ts @@ -5,11 +5,11 @@ import { BigNumber as BN } from 'bignumber.js' import { NetworkFixture } from '../lib/fixtures' -import { Curation } from '../../build/types/Curation' -import { EpochManager } from '../../build/types/EpochManager' -import { GraphToken } from '../../build/types/GraphToken' -import { RewardsManager } from '../../build/types/RewardsManager' -import { IStaking } from '../../build/types/IStaking' +import { Curation } from '../../../build/types/Curation' +import { EpochManager } from '../../../build/types/EpochManager' +import { GraphToken } from '../../../build/types/GraphToken' +import { RewardsManager } from '../../../build/types/RewardsManager' +import { IStaking } from '../../../build/types/IStaking' import { helpers, diff --git a/packages/contracts/test/unit/staking/allocation.test.ts b/packages/contracts/test/unit/staking/allocation.test.ts index c4a104312..b3e5a5d82 100644 --- a/packages/contracts/test/unit/staking/allocation.test.ts +++ b/packages/contracts/test/unit/staking/allocation.test.ts @@ -2,11 +2,11 @@ import hre from 'hardhat' import { expect } from 'chai' import { constants, BigNumber, PopulatedTransaction, Contract } from 'ethers' -import { Curation } from '../../build/types/Curation' -import { EpochManager } from '../../build/types/EpochManager' -import { GraphToken } from '../../build/types/GraphToken' -import { IStaking } from '../../build/types/IStaking' -import { LibExponential } from '../../build/types/LibExponential' +import { Curation } from '../../../build/types/Curation' +import { EpochManager } from '../../../build/types/EpochManager' +import { GraphToken } from '../../../build/types/GraphToken' +import { IStaking } from '../../../build/types/IStaking' +import { LibExponential } from '../../../build/types/LibExponential' import { NetworkFixture } from '../lib/fixtures' import { diff --git a/packages/contracts/test/unit/staking/configuration.test.ts b/packages/contracts/test/unit/staking/configuration.test.ts index d9e848f41..e95f65b0e 100644 --- a/packages/contracts/test/unit/staking/configuration.test.ts +++ b/packages/contracts/test/unit/staking/configuration.test.ts @@ -3,10 +3,10 @@ import { expect } from 'chai' import { ethers } from 'hardhat' import { constants } from 'ethers' -import { IStaking } from '../../build/types/IStaking' +import { IStaking } from '../../../build/types/IStaking' import { NetworkFixture } from '../lib/fixtures' -import { GraphProxyAdmin } from '../../build/types/GraphProxyAdmin' +import { GraphProxyAdmin } from '../../../build/types/GraphProxyAdmin' import { DeployType, GraphNetworkContracts, deploy, toBN, toGRT } from '@graphprotocol/sdk' import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers' diff --git a/packages/contracts/test/unit/staking/delegation.test.ts b/packages/contracts/test/unit/staking/delegation.test.ts index 3273ff52d..50cf0cbb0 100644 --- a/packages/contracts/test/unit/staking/delegation.test.ts +++ b/packages/contracts/test/unit/staking/delegation.test.ts @@ -2,9 +2,9 @@ import hre from 'hardhat' import { expect } from 'chai' import { constants, BigNumber } from 'ethers' -import { EpochManager } from '../../build/types/EpochManager' -import { GraphToken } from '../../build/types/GraphToken' -import { IStaking } from '../../build/types/IStaking' +import { EpochManager } from '../../../build/types/EpochManager' +import { GraphToken } from '../../../build/types/GraphToken' +import { IStaking } from '../../../build/types/IStaking' import { NetworkFixture } from '../lib/fixtures' import { diff --git a/packages/contracts/test/unit/staking/l2Transfer.test.ts b/packages/contracts/test/unit/staking/l2Transfer.test.ts index a6743bffc..1bc9507b8 100644 --- a/packages/contracts/test/unit/staking/l2Transfer.test.ts +++ b/packages/contracts/test/unit/staking/l2Transfer.test.ts @@ -3,12 +3,12 @@ import { expect } from 'chai' import { constants, BigNumber } from 'ethers' import { defaultAbiCoder, parseEther } from 'ethers/lib/utils' -import { GraphToken } from '../../build/types/GraphToken' -import { IL1Staking } from '../../build/types/IL1Staking' -import { IController } from '../../build/types/IController' -import { L1GraphTokenGateway } from '../../build/types/L1GraphTokenGateway' -import { L1GraphTokenLockTransferToolMock } from '../../build/types/L1GraphTokenLockTransferToolMock' -import { L1GraphTokenLockTransferToolBadMock } from '../../build/types/L1GraphTokenLockTransferToolBadMock' +import { GraphToken } from '../../../build/types/GraphToken' +import { IL1Staking } from '../../../build/types/IL1Staking' +import { IController } from '../../../build/types/IController' +import { L1GraphTokenGateway } from '../../../build/types/L1GraphTokenGateway' +import { L1GraphTokenLockTransferToolMock } from '../../../build/types/L1GraphTokenLockTransferToolMock' +import { L1GraphTokenLockTransferToolBadMock } from '../../../build/types/L1GraphTokenLockTransferToolBadMock' import { ArbitrumL1Mocks, NetworkFixture } from '../lib/fixtures' @@ -23,7 +23,6 @@ import { toGRT, } from '@graphprotocol/sdk' import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers' -import { IStaking } from '../../build/types/IStaking' const { AddressZero } = constants diff --git a/packages/contracts/test/unit/staking/rebate.test.ts b/packages/contracts/test/unit/staking/rebate.test.ts index ba9dd3c89..e05ad9a7c 100644 --- a/packages/contracts/test/unit/staking/rebate.test.ts +++ b/packages/contracts/test/unit/staking/rebate.test.ts @@ -2,7 +2,7 @@ import hre from 'hardhat' import { expect } from 'chai' import { BigNumber, Contract } from 'ethers' -import { LibExponential } from '../../build/types/LibExponential' +import { LibExponential } from '../../../build/types/LibExponential' import { formatGRT, helpers, isGraphL1ChainId, toGRT } from '@graphprotocol/sdk' import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers' diff --git a/packages/contracts/test/unit/staking/staking.test.ts b/packages/contracts/test/unit/staking/staking.test.ts index d1e9a2c00..6e88d23db 100644 --- a/packages/contracts/test/unit/staking/staking.test.ts +++ b/packages/contracts/test/unit/staking/staking.test.ts @@ -2,8 +2,8 @@ import hre from 'hardhat' import { expect } from 'chai' import { constants, BigNumber, Event } from 'ethers' -import { GraphToken } from '../../build/types/GraphToken' -import { IStaking } from '../../build/types/IStaking' +import { GraphToken } from '../../../build/types/GraphToken' +import { IStaking } from '../../../build/types/IStaking' import { NetworkFixture } from '../lib/fixtures' diff --git a/packages/contracts/test/unit/upgrade/admin.test.ts b/packages/contracts/test/unit/upgrade/admin.test.ts index 3cee40a6d..65b353970 100644 --- a/packages/contracts/test/unit/upgrade/admin.test.ts +++ b/packages/contracts/test/unit/upgrade/admin.test.ts @@ -2,10 +2,10 @@ import { expect } from 'chai' import hre from 'hardhat' import '@nomiclabs/hardhat-ethers' -import { GraphProxy } from '../../build/types/GraphProxy' -import { Curation } from '../../build/types/Curation' -import { GraphProxyAdmin } from '../../build/types/GraphProxyAdmin' -import { IStaking } from '../../build/types/IStaking' +import { GraphProxy } from '../../../build/types/GraphProxy' +import { Curation } from '../../../build/types/Curation' +import { GraphProxyAdmin } from '../../../build/types/GraphProxyAdmin' +import { IStaking } from '../../../build/types/IStaking' import { NetworkFixture } from '../lib/fixtures'