Skip to content

Commit

Permalink
🎁 Deploy UltraLightNode302 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista authored Nov 17, 2023
1 parent 393bc3b commit e35cb87
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 e35cb87

Please sign in to comment.