Skip to content

Commit d11e7ce

Browse files
authored
fix: remove all v2/v3 references (#509)
* fix: remove all v2/v3 references Signed-off-by: Matt Rice <[email protected]> * WIP Signed-off-by: Matt Rice <[email protected]> * WIP Signed-off-by: Matt Rice <[email protected]> --------- Signed-off-by: Matt Rice <[email protected]>
1 parent 6c8ecb4 commit d11e7ce

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

deploy/032_deploy_uniswap_swap_and_bridge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { DeployFunction } from "hardhat-deploy/types";
22
import { HardhatRuntimeEnvironment } from "hardhat/types";
3-
import { TOKEN_SYMBOLS_MAP } from "@across-protocol/constants-v2";
3+
import { TOKEN_SYMBOLS_MAP } from "@across-protocol/constants";
44

55
import { getDeployedAddress } from "../src/DeploymentUtils";
66
import { L2_ADDRESS_MAP } from "./consts";

deploy/034_deploy_1inch_swap_and_bridge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { DeployFunction } from "hardhat-deploy/types";
22
import { HardhatRuntimeEnvironment } from "hardhat/types";
3-
import { TOKEN_SYMBOLS_MAP } from "@across-protocol/constants-v2";
3+
import { TOKEN_SYMBOLS_MAP } from "@across-protocol/constants";
44

55
import { getDeployedAddress } from "../src/DeploymentUtils";
66
import { L2_ADDRESS_MAP } from "./consts";

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@across-protocol/contracts-v2",
3-
"version": "2.5.10",
2+
"name": "@across-protocol/contracts",
3+
"version": "3.0.0",
44
"author": "UMA Team",
55
"license": "AGPL-3.0-only",
66
"repository": {
@@ -32,7 +32,7 @@
3232
"prepublish": "yarn build && hardhat export --export-all ./cache/massExport.json && ts-node ./scripts/processHardhatExport.ts && prettier --write ./deployments/deployments.json && yarn generate-contract-types"
3333
},
3434
"dependencies": {
35-
"@across-protocol/constants-v2": "^1.1.0",
35+
"@across-protocol/constants": "^3.0.0",
3636
"@defi-wonderland/smock": "^2.3.4",
3737
"@eth-optimism/contracts": "^0.5.40",
3838
"@ethersproject/abstract-provider": "5.7.0",

test-utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Note: this file sits on a separate export path and is intended to export test utilities and code:
2-
// You can import it like this: import * as testUtils from "@across-protocol/contracts-v2/dist/test-utils".
2+
// You can import it like this: import * as testUtils from "@across-protocol/contracts/dist/test-utils".
33
// This is separated because this code assumes the caller has a hardhat config because it imports
44
// hardhat. For non-test code, import the standard index file:
5-
// import * as contracts-v2 from "@across-protocol/contracts-v2"
5+
// import * as contracts from "@across-protocol/contracts"
66
export * from "./test/fixtures/SpokePool.Fixture";
77
export * from "./test/fixtures/HubPool.Fixture";
88
export * from "./test/fixtures/MerkleLib.Fixture";

test/chain-adapters/ZkSync_Adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ let zkSync: FakeContract, zkSyncErc20Bridge: FakeContract;
2424

2525
const zkSyncChainId = 324;
2626

27-
// TODO: Grab the following from relayer-v2/CONTRACT_ADDRESSES dictionary?
27+
// TODO: Grab the following from relayer/CONTRACT_ADDRESSES dictionary?
2828
const zkSyncAbi = [
2929
{
3030
inputs: [

test/chain-specific-spokepools/ZkSync_SpokePool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let l2Dai: string, crossDomainAliasAddress, crossDomainAlias: SignerWithAddress;
2121
let owner: SignerWithAddress, relayer: SignerWithAddress, rando: SignerWithAddress;
2222
let zkErc20Bridge: FakeContract, l2Eth: FakeContract;
2323

24-
// TODO: Grab the following from relayer-v2/CONTRACT_ADDRESSES dictionary?
24+
// TODO: Grab the following from relayer/CONTRACT_ADDRESSES dictionary?
2525
const abiData = {
2626
erc20DefaultBridge: {
2727
address: "0x11f943b2c77b743ab90f4a0ae7d5a4e7fca3e102",

utils/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export { CHAIN_IDs, TOKEN_SYMBOLS_MAP } from "@across-protocol/constants-v2";
1+
export { CHAIN_IDs, TOKEN_SYMBOLS_MAP } from "@across-protocol/constants";
22

33
export const FillStatus = {
44
Unfilled: 0,

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# yarn lockfile v1
33

44

5-
"@across-protocol/constants-v2@^1.1.0":
6-
version "1.1.0"
7-
resolved "https://registry.yarnpkg.com/@across-protocol/constants-v2/-/constants-v2-1.1.0.tgz#c9885fa8f465ce76d26a3e3d332558fbb6ad60f1"
8-
integrity sha512-UpEvF26NrzcaKTlfZsCBG5qpnVz9TJw82OflamuA4T99tiXjegTJVk7Kc/vocGNKh0wr4yPGFyDbzB2h9O50Xw==
5+
"@across-protocol/constants@^3.0.0":
6+
version "3.0.0"
7+
resolved "https://registry.yarnpkg.com/@across-protocol/constants/-/constants-3.0.0.tgz#0f5cbcaf40d43babbecb322d91a689b49c5536a0"
8+
integrity sha512-iJz1EDdYr+GRgHRZwcAw2G06ZvV9VOW6GQ846X7G/dd8wVQej18v1Fpx6th4bcSba1j7jR5Hfi+/zqSDoxyLmw==
99

1010
"@across-protocol/contracts@^0.1.4":
1111
version "0.1.4"

0 commit comments

Comments
 (0)