Skip to content

Commit

Permalink
Changed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mirooon committed Feb 24, 2025
1 parent b908c4d commit 5a1d07c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions script/deploy/verifyNetworkDeploymentLogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ function checkContractFileStatus(contractName: string): {
return { found: false, message: 'Contract file not found in src.' }
}

// ---------------------------------------------------------------------
// Main Command Definition
// ---------------------------------------------------------------------
const main = defineCommand({
meta: {
name: 'LIFI Deployment Verification',
Expand Down Expand Up @@ -216,7 +213,7 @@ const main = defineCommand({
spinner.succeed('Missing on-chain entries verification complete.')

// ---------------------------------------------------------------------
// Step 4: Verify diamond file vs. deploy log.
// Step 4: Verify diamond file vs deploy log
// ---------------------------------------------------------------------
spinner.start('Verifying diamond file facets against deploy log...')
await verifyDiamondAgainstDeployLog({
Expand Down Expand Up @@ -352,7 +349,7 @@ async function verifyOnChainAgainstDeployLog({

message += `Facet "${facetName}": `
if (deployLogAddr === onChainAddr) {
// Only compare versions if the on-chain contract is verified.
// only compare versions if the on-chain contract is verified
if (facetData && facetData.ContractName) {
const onChainVersion = formatVersion(
extractVersion(facetData.SourceCode || '')
Expand Down Expand Up @@ -488,7 +485,7 @@ async function verifyDiamondAgainstDeployLog({
? formatVersion(extractVersion(chainDiamondData.SourceCode || ''))
: NO_VERSION
let versionNote = ''
// Only compare versions if the diamond contract is verified.
// only compare versions if the diamond contract is verified
if (chainDiamondData && chainDiamondData.ContractName) {
if (
!(
Expand Down

0 comments on commit 5a1d07c

Please sign in to comment.