Skip to content

Commit

Permalink
update to eid
Browse files Browse the repository at this point in the history
  • Loading branch information
sirarthurmoney committed Dec 1, 2023
1 parent a7e7a24 commit d6ecc1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ua-utils-evm-hardhat-test/deploy/001_bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down

0 comments on commit d6ecc1e

Please sign in to comment.