diff --git a/packages/ua-utils-evm-hardhat-test/deploy/001_bootstrap.ts b/packages/ua-utils-evm-hardhat-test/deploy/001_bootstrap.ts index ffb488c84..cd348e163 100644 --- a/packages/ua-utils-evm-hardhat-test/deploy/001_bootstrap.ts +++ b/packages/ua-utils-evm-hardhat-test/deploy/001_bootstrap.ts @@ -8,14 +8,14 @@ import assert from 'assert' * @param env `HardhatRuntimeEnvironment` */ const deploy: DeployFunction = async ({ getUnnamedAccounts, deployments, network }) => { - assert(network.config.endpointId != null, `Missing endpoint ID for network ${network.name}`) + assert(network.config.eid != null, `Missing endpoint ID for network ${network.name}`) const [deployer] = await getUnnamedAccounts() assert(deployer, 'Missing deployer') const endpointV2Deployment = await deployments.deploy('EndpointV2', { from: deployer, - args: [network.config.endpointId], + args: [network.config.eid], }) const sendUln302 = await deployments.deploy('SendUln302', {