Skip to content

Commit

Permalink
Fix init params
Browse files Browse the repository at this point in the history
  • Loading branch information
kanshi committed Jan 29, 2024
1 parent 99c6c42 commit e7a7512
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion operations/registrator-deploy-dev-goerli.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ job "registrator-deploy-dev-goerli" {

config {
network_mode = "host"
image = "ghcr.io/ator-development/registrator:0.1.1"
image = "ghcr.io/ator-development/registrator:0.1.2"
entrypoint = ["npx"]
command = "hardhat"
args = ["run", "--network", "goerli", "scripts/deploy.ts"]
Expand Down
2 changes: 1 addition & 1 deletion operations/registrator-deploy-live-goerli.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ job "registrator-deploy-live-goerli" {

config {
network_mode = "host"
image = "ghcr.io/ator-development/registrator:0.1.1"
image = "ghcr.io/ator-development/registrator:0.1.2"
entrypoint = ["npx"]
command = "hardhat"
args = ["run", "--network", "goerli", "scripts/deploy.ts"]
Expand Down
2 changes: 1 addition & 1 deletion operations/registrator-deploy-stage-goerli.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ job "registrator-deploy-stage-goerli" {

config {
network_mode = "host"
image = "ghcr.io/ator-development/registrator:0.1.1"
image = "ghcr.io/ator-development/registrator:0.1.2"
entrypoint = ["npx"]
command = "hardhat"
args = ["run", "--network", "goerli", "scripts/deploy.ts"]
Expand Down
3 changes: 2 additions & 1 deletion scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ async function main() {
const Contract = await ethers.getContractFactory('Registrator', deployer)

const defaultBlockLock = 5n * 60n * 24n * 180n // 12s per block, 180 days
const defaultLockSize = 100n * BigInt(1e18);

const instance = await upgrades.deployProxy(
Contract,
[ atorContractAddress, operatorAddress, defaultBlockLock ]
[ atorContractAddress, operatorAddress, defaultBlockLock, defaultLockSize ]
)
await instance.waitForDeployment()
const proxyContractAddress = await instance.getAddress()
Expand Down

0 comments on commit e7a7512

Please sign in to comment.