Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
fix: restore SubnetRegistrator address return
Browse files Browse the repository at this point in the history
Signed-off-by: Jawad Tariq <[email protected]>
  • Loading branch information
JDawg287 committed Dec 28, 2023
1 parent 5955236 commit a5d374c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/deploy-subnet-registrator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const main = async function (..._args: Arg[]) {
)
.then(async (contract) => {
const address = await contract.getAddress()
console.log(address)
const subnetRegistrator = SubnetRegistrator__factory.connect(
address,
deployerWallet
Expand Down
4 changes: 2 additions & 2 deletions scripts/deploy-topos-msg-protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const main = async function (...args: string[]) {
adminThreshold
)

const erc20MessagingAddresss = await processContract(
const erc20MessagingAddress = await processContract(
toposDeployerWallet,
erc20MessagingJSON,
erc20MessagingSalt!,
Expand All @@ -104,7 +104,7 @@ const main = async function (...args: string[]) {
export TOPOS_CORE_CONTRACT_ADDRESS=${toposCoreAddress}
export TOPOS_CORE_PROXY_CONTRACT_ADDRESS=${toposCoreProxyAddress}
export TOKEN_DEPLOYER_CONTRACT_ADDRESS=${tokenDeployerAddress}
export ERC20_MESSAGING_CONTRACT_ADDRESS=${erc20MessagingAddresss}
export ERC20_MESSAGING_CONTRACT_ADDRESS=${erc20MessagingAddress}
`)
}

Expand Down

0 comments on commit a5d374c

Please sign in to comment.