Skip to content

Commit 6c8ecb4

Browse files
authored
chore: Update constants-v2 to 1.1.0 (#507)
This constants version deprecates _USDC in favor of USDC
1 parent 5d7153f commit 6c8ecb4

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

deploy/032_deploy_uniswap_swap_and_bridge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
2424
// https://etherscan.io/address/0xE592427A0AEce92De3Edee1F18E0157C05861564#writeProxyContract#F2
2525
["0x414bf389"],
2626
TOKEN_SYMBOLS_MAP[chainId === 8453 ? "USDbC" : "USDC.e"].addresses[chainId],
27-
TOKEN_SYMBOLS_MAP._USDC.addresses[chainId],
27+
TOKEN_SYMBOLS_MAP.USDC.addresses[chainId],
2828
],
2929
});
3030
};

deploy/034_deploy_1inch_swap_and_bridge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
3636
"0xf7a70056",
3737
],
3838
TOKEN_SYMBOLS_MAP[chainId === 8453 ? "USDbC" : "USDC.e"].addresses[chainId],
39-
TOKEN_SYMBOLS_MAP._USDC.addresses[chainId],
39+
TOKEN_SYMBOLS_MAP.USDC.addresses[chainId],
4040
],
4141
});
4242
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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.0.26",
35+
"@across-protocol/constants-v2": "^1.1.0",
3636
"@defi-wonderland/smock": "^2.3.4",
3737
"@eth-optimism/contracts": "^0.5.40",
3838
"@ethersproject/abstract-provider": "5.7.0",

tasks/enableL1TokenAcrossEcosystem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ task("enable-l1-token-across-ecosystem", "Enable a provided token across the ent
6767
chainIds.map((chainId) => {
6868
// Handle USDC special case where L1 USDC is mapped to different token symbols on L2s.
6969
if (matchedSymbol === "USDC") {
70-
const nativeUsdcAddress = TOKEN_SYMBOLS_MAP._USDC.addresses[chainId];
70+
const nativeUsdcAddress = TOKEN_SYMBOLS_MAP.USDC.addresses[chainId];
7171
const bridgedUsdcAddress = TOKEN_SYMBOLS_MAP["USDC.e"].addresses[chainId];
7272
if (nativeUsdcAddress) {
7373
return nativeUsdcAddress;

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.0.26":
6-
version "1.0.26"
7-
resolved "https://registry.yarnpkg.com/@across-protocol/constants-v2/-/constants-v2-1.0.26.tgz#04fff84574af9fe4128318a19d7b7990ee10f32e"
8-
integrity sha512-XuxBGNvhevdTT+GQGreg1YP+RsRWzuqOEHNA9m/p7l3qjFkXuWUM9nj77ttccbIi0tCZQDiMR8VxwHBCAXB4LQ==
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==
99

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

0 commit comments

Comments
 (0)