Skip to content

Commit 977aea7

Browse files
authored
feat(protocol-contracts): update lz config for mainnet (#1383)
* feat(protocol-contracts): update lz config for mainnet * chore(protocol-contracts): remove ts-ignore and update EndpointV2 artifact
1 parent c24b9d3 commit 977aea7

File tree

6 files changed

+78
-66
lines changed

6 files changed

+78
-66
lines changed

protocol-contracts/token/deploy/ZamaERC20.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const deploy: DeployFunction = async (hre) => {
2323
console.log(`Deployer: ${deployer}`)
2424

2525
// Token configuration
26-
const tokenName = 'ZAMAERC20'
26+
const tokenName = 'Zama'
2727
const tokenSymbol = 'ZAMA'
2828

2929
const numReceivers = parseInt(getRequiredEnvVar('NUM_INITIAL_RECEIVERS'))

protocol-contracts/token/deploy/ZamaOFT.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const deploy: DeployFunction = async (hre) => {
4343
const { address } = await deploy(contractName, {
4444
from: deployer,
4545
args: [
46-
'ZAMAOFT', // name
46+
'Zama', // name
4747
'ZAMA', // symbol
4848
endpointV2Deployment.address, // LayerZero's EndpointV2 address
4949
deployer, // owner

protocol-contracts/token/hardhat.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ const config: HardhatUserConfig = {
8282
},
8383
},
8484
'gateway-mainnet': {
85-
// @ts-ignore: TODO: Remove TS ignore once LayerZero endpoint is deployed.
8685
eid: EndpointId.ZAMA_V2_MAINNET,
8786
url: process.env.RPC_URL_ZAMA_GATEWAY_MAINNET || '',
8887
accounts,

protocol-contracts/token/layerzero.config.mainnet.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const ethereumContract: OmniPointHardhat = {
1111
}
1212

1313
const zamaMainnetContract: OmniPointHardhat = {
14-
// @ts-ignore: TODO: Remove TS ignore once LayerZero endpoint is deployed.
1514
eid: EndpointId.ZAMA_V2_MAINNET,
1615
contractName: 'ZamaOFT',
1716
}

protocol-contracts/token/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@
2828
"@layerzerolabs/devtools-evm-hardhat": "^4.0.0",
2929
"@layerzerolabs/eslint-config-next": "~2.3.39",
3030
"@layerzerolabs/io-devtools": "~0.3.0",
31-
"@layerzerolabs/lz-definitions": "^3.0.142",
31+
"@layerzerolabs/lz-definitions": "^3.0.147",
3232
"@layerzerolabs/lz-evm-messagelib-v2": "^3.0.75",
3333
"@layerzerolabs/lz-evm-protocol-v2": "^3.0.75",
34+
"@layerzerolabs/lz-evm-sdk-v2": "^3.0.147",
3435
"@layerzerolabs/lz-evm-v1-0.7": "^3.0.75",
3536
"@layerzerolabs/lz-v2-utilities": "^3.0.142",
3637
"@layerzerolabs/metadata-tools": "^3.0.2",

0 commit comments

Comments
 (0)