Skip to content

Commit

Permalink
🔥 remove unused comments from scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Aboudjem committed Nov 8, 2023
1 parent a8831d1 commit 966150c
Show file tree
Hide file tree
Showing 15 changed files with 55 additions and 88 deletions.
7 changes: 0 additions & 7 deletions scripts/deploy-arbitrum-goerli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ async function deployChainlinkOracleAggregatorContract(
});
} catch (err) {
console.log("issue with the verification ", oracleAggregatorComputedAddr);
// console.log(err);
return oracleAggregatorComputedAddr;
}
} else {
Expand Down Expand Up @@ -147,7 +146,6 @@ async function deployTokenPaymasterContract(
});
} catch (err) {
console.log("issue with the verification ", tokenPaymasterComputedAddr);
// console.log(err);
return tokenPaymasterComputedAddr;
}
} else {
Expand Down Expand Up @@ -217,7 +215,6 @@ async function deployDerivedPriceFeed(
"issue with the verification ",
derivedPriceFeedBComputedAddr
);
// console.log(err);
return derivedPriceFeedBComputedAddr;
}
} else {
Expand Down Expand Up @@ -468,10 +465,6 @@ async function main() {
console.log(
"==================tokenPaymasterInstance======================="
);

// tx = await tokenPaymasterInstance.transferOwnership(owner)
// receipt = await tx.wait()
// console.log("tokenPaymasterInstance ownership transferred to %s", owner);
}
}

Expand Down
10 changes: 4 additions & 6 deletions scripts/deploy-arbitrum-one-mainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function deployChainlinkOracleAggregatorContract(
});
} catch (err) {
console.log("issue with the verification ", oracleAggregatorComputedAddr);
// console.log(err);

return oracleAggregatorComputedAddr;
}
} else {
Expand Down Expand Up @@ -150,7 +150,7 @@ async function deployTokenPaymasterContract(
});
} catch (err) {
console.log("issue with the verification ", tokenPaymasterComputedAddr);
// console.log(err);

return tokenPaymasterComputedAddr;
}
} else {
Expand Down Expand Up @@ -220,7 +220,7 @@ async function deployDerivedPriceFeed(
"issue with the verification ",
derivedPriceFeedBComputedAddr
);
// console.log(err);

return derivedPriceFeedBComputedAddr;
}
} else {
Expand Down Expand Up @@ -476,9 +476,7 @@ async function main() {
"==================tokenPaymasterInstance======================="
);

// tx = await tokenPaymasterInstance.transferOwnership(owner)
// receipt = await tx.wait()
// console.log("tokenPaymasterInstance ownership transferred to %s", owner);

}
}

Expand Down
10 changes: 4 additions & 6 deletions scripts/deploy-avalanche-mainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function deployChainlinkOracleAggregatorContract(
});
} catch (err) {
console.log("issue with the verification ", oracleAggregatorComputedAddr);
// console.log(err);

return oracleAggregatorComputedAddr;
}
} else {
Expand Down Expand Up @@ -150,7 +150,7 @@ async function deployTokenPaymasterContract(
});
} catch (err) {
console.log("issue with the verification ", tokenPaymasterComputedAddr);
// console.log(err);

return tokenPaymasterComputedAddr;
}
} else {
Expand Down Expand Up @@ -220,7 +220,7 @@ async function deployDerivedPriceFeed(
"issue with the verification ",
derivedPriceFeedBComputedAddr
);
// console.log(err);

return derivedPriceFeedBComputedAddr;
}
} else {
Expand Down Expand Up @@ -473,9 +473,7 @@ async function main() {
"==================tokenPaymasterInstance======================="
);

// tx = await tokenPaymasterInstance.transferOwnership(owner)
// receipt = await tx.wait()
// console.log("tokenPaymasterInstance ownership transferred to %s", owner);

}
}

Expand Down
10 changes: 4 additions & 6 deletions scripts/deploy-avalanche-testnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function deployChainlinkOracleAggregatorContract(
});
} catch (err) {
console.log("issue with the verification ", oracleAggregatorComputedAddr);
// console.log(err);

return oracleAggregatorComputedAddr;
}
} else {
Expand Down Expand Up @@ -150,7 +150,7 @@ async function deployTokenPaymasterContract(
});
} catch (err) {
console.log("issue with the verification ", tokenPaymasterComputedAddr);
// console.log(err);

return tokenPaymasterComputedAddr;
}
} else {
Expand Down Expand Up @@ -220,7 +220,7 @@ async function deployDerivedPriceFeed(
"issue with the verification ",
derivedPriceFeedBComputedAddr
);
// console.log(err);

return derivedPriceFeedBComputedAddr;
}
} else {
Expand Down Expand Up @@ -473,9 +473,7 @@ async function main() {
"==================tokenPaymasterInstance======================="
);

// tx = await tokenPaymasterInstance.transferOwnership(owner)
// receipt = await tx.wait()
// console.log("tokenPaymasterInstance ownership transferred to %s", owner);

}
}

Expand Down
10 changes: 4 additions & 6 deletions scripts/deploy-base-goerli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function deployChainlinkOracleAggregatorContract(
});
} catch (err) {
console.log("issue with the verification ", oracleAggregatorComputedAddr);
// console.log(err);

return oracleAggregatorComputedAddr;
}
} else {
Expand Down Expand Up @@ -150,7 +150,7 @@ async function deployTokenPaymasterContract(
});
} catch (err) {
console.log("issue with the verification ", tokenPaymasterComputedAddr);
// console.log(err);

return tokenPaymasterComputedAddr;
}
} else {
Expand Down Expand Up @@ -220,7 +220,7 @@ async function deployDerivedPriceFeed(
"issue with the verification ",
derivedPriceFeedBComputedAddr
);
// console.log(err);

return derivedPriceFeedBComputedAddr;
}
} else {
Expand Down Expand Up @@ -473,9 +473,7 @@ async function main() {
"==================tokenPaymasterInstance======================="
);

// tx = await tokenPaymasterInstance.transferOwnership(owner)
// receipt = await tx.wait()
// console.log("tokenPaymasterInstance ownership transferred to %s", owner);

}
}

Expand Down
10 changes: 4 additions & 6 deletions scripts/deploy-bnb-mainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function deployChainlinkOracleAggregatorContract(
});
} catch (err) {
console.log("issue with the verification ", oracleAggregatorComputedAddr);
// console.log(err);

return oracleAggregatorComputedAddr;
}
} else {
Expand Down Expand Up @@ -150,7 +150,7 @@ async function deployTokenPaymasterContract(
});
} catch (err) {
console.log("issue with the verification ", tokenPaymasterComputedAddr);
// console.log(err);

return tokenPaymasterComputedAddr;
}
} else {
Expand Down Expand Up @@ -220,7 +220,7 @@ async function deployDerivedPriceFeed(
"issue with the verification ",
derivedPriceFeedBComputedAddr
);
// console.log(err);

return derivedPriceFeedBComputedAddr;
}
} else {
Expand Down Expand Up @@ -476,9 +476,7 @@ async function main() {
"==================tokenPaymasterInstance======================="
);

// tx = await tokenPaymasterInstance.transferOwnership(owner)
// receipt = await tx.wait()
// console.log("tokenPaymasterInstance ownership transferred to %s", owner);

}
}

Expand Down
10 changes: 4 additions & 6 deletions scripts/deploy-bnb-testnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function deployChainlinkOracleAggregatorContract(
});
} catch (err) {
console.log("issue with the verification ", oracleAggregatorComputedAddr);
// console.log(err);

return oracleAggregatorComputedAddr;
}
} else {
Expand Down Expand Up @@ -150,7 +150,7 @@ async function deployTokenPaymasterContract(
});
} catch (err) {
console.log("issue with the verification ", tokenPaymasterComputedAddr);
// console.log(err);

return tokenPaymasterComputedAddr;
}
} else {
Expand Down Expand Up @@ -220,7 +220,7 @@ async function deployDerivedPriceFeed(
"issue with the verification ",
derivedPriceFeedBComputedAddr
);
// console.log(err);

return derivedPriceFeedBComputedAddr;
}
} else {
Expand Down Expand Up @@ -473,9 +473,7 @@ async function main() {
"==================tokenPaymasterInstance======================="
);

// tx = await tokenPaymasterInstance.transferOwnership(owner)
// receipt = await tx.wait()
// console.log("tokenPaymasterInstance ownership transferred to %s", owner);

}
}

Expand Down
10 changes: 4 additions & 6 deletions scripts/deploy-eth-mainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function deployChainlinkOracleAggregatorContract(
});
} catch (err) {
console.log("issue with the verification ", oracleAggregatorComputedAddr);
// console.log(err);

return oracleAggregatorComputedAddr;
}
} else {
Expand Down Expand Up @@ -150,7 +150,7 @@ async function deployTokenPaymasterContract(
});
} catch (err) {
console.log("issue with the verification ", tokenPaymasterComputedAddr);
// console.log(err);

return tokenPaymasterComputedAddr;
}
} else {
Expand Down Expand Up @@ -220,7 +220,7 @@ async function deployDerivedPriceFeed(
"issue with the verification ",
derivedPriceFeedBComputedAddr
);
// console.log(err);

return derivedPriceFeedBComputedAddr;
}
} else {
Expand Down Expand Up @@ -470,9 +470,7 @@ async function main() {
"==================tokenPaymasterInstance======================="
);

// tx = await tokenPaymasterInstance.transferOwnership(owner)
// receipt = await tx.wait()
// console.log("tokenPaymasterInstance ownership transferred to %s", owner);

}
}

Expand Down
10 changes: 4 additions & 6 deletions scripts/deploy-goerli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function deployChainlinkOracleAggregatorContract(
});
} catch (err) {
console.log("issue with the verification ", oracleAggregatorComputedAddr);
// console.log(err);

return oracleAggregatorComputedAddr;
}
} else {
Expand Down Expand Up @@ -150,7 +150,7 @@ async function deployTokenPaymasterContract(
});
} catch (err) {
console.log("issue with the verification ", tokenPaymasterComputedAddr);
// console.log(err);

return tokenPaymasterComputedAddr;
}
} else {
Expand Down Expand Up @@ -220,7 +220,7 @@ async function deployDerivedPriceFeed(
"issue with the verification ",
derivedPriceFeedBComputedAddr
);
// console.log(err);

return derivedPriceFeedBComputedAddr;
}
} else {
Expand Down Expand Up @@ -473,9 +473,7 @@ async function main() {
"==================tokenPaymasterInstance======================="
);

// tx = await tokenPaymasterInstance.transferOwnership(owner)
// receipt = await tx.wait()
// console.log("tokenPaymasterInstance ownership transferred to %s", owner);

}
}

Expand Down
10 changes: 4 additions & 6 deletions scripts/deploy-moonbeam-mainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function deployChainlinkOracleAggregatorContract(
});
} catch (err) {
console.log("issue with the verification ", oracleAggregatorComputedAddr);
// console.log(err);

return oracleAggregatorComputedAddr;
}
} else {
Expand Down Expand Up @@ -150,7 +150,7 @@ async function deployTokenPaymasterContract(
});
} catch (err) {
console.log("issue with the verification ", tokenPaymasterComputedAddr);
// console.log(err);

return tokenPaymasterComputedAddr;
}
} else {
Expand Down Expand Up @@ -220,7 +220,7 @@ async function deployDerivedPriceFeed(
"issue with the verification ",
derivedPriceFeedBComputedAddr
);
// console.log(err);

return derivedPriceFeedBComputedAddr;
}
} else {
Expand Down Expand Up @@ -473,9 +473,7 @@ async function main() {
"==================tokenPaymasterInstance======================="
);

// tx = await tokenPaymasterInstance.transferOwnership(owner)
// receipt = await tx.wait()
// console.log("tokenPaymasterInstance ownership transferred to %s", owner);

}
}

Expand Down
Loading

0 comments on commit 966150c

Please sign in to comment.