Skip to content

Commit

Permalink
chore: Deploy UltraLightNode302
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista committed Nov 17, 2023
1 parent 6db10e9 commit 66e534f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/ua-utils-test-v2/deploy/001_bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,20 @@ const deploy: DeployFunction = async ({ getUnnamedAccounts, deployments, network
assert(network.config.endpointId != null, `Missing endpoint ID for network ${network.name}`)

const [deployer] = await getUnnamedAccounts()

const endpointV2Deployment = await deployments.deploy("EndpointV2", {
from: deployer,
args: [network.config.endpointId, AddressZero],
})

const uln302Deployment = await deployments.deploy("UltraLightNode302", {
from: deployer,
args: [endpointV2Deployment.address, 0],
})

console.table({
EndpointV2: endpointV2Deployment.address,
UltraLightNode302: uln302Deployment.address,
})
}

Expand Down

0 comments on commit 66e534f

Please sign in to comment.