Skip to content

Commit

Permalink
Update logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jefflau committed Jan 29, 2024
1 parent 141eda5 commit 29984e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions deploy/dnsregistrar/05_deploy_public_suffix_list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {

if (owner !== undefined && owner !== deployer && listOwner !== owner) {
console.log('Transferring ownership to owner account')
await psl.transferOwnership(owner)
const tx = await psl.transferOwnership(owner)
console.log(`Transfer ownership (tx: ${tx.hash})...`)
await tx.wait()
}
const publicSuffixList = psl.connect(await ethers.getSigner(owner))

Expand All @@ -40,7 +42,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
for (let i = 0; i < suffixes.length; i += 100) {
const batch = suffixes.slice(i, i + 100).map((suffix) => encodeName(suffix))
const tx = await publicSuffixList.addPublicSuffixes(batch)
console.log('Setting suffixes ' + tx.hash)
console.log(`Setting suffixes (tx: ${tx.hash})...`)
txes.push(tx)
}
console.log(
Expand Down

0 comments on commit 29984e3

Please sign in to comment.