-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: test ci reviewer (ignore this) #157
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -17,7 +17,12 @@ task(TASK_DEPLOY_TOKEN) | |||||
.addOptionalParam("factory", "Address of Title Escrow factory (Optional)") | ||||||
.setAction(async ({ name, symbol, verify, factory, standalone }, hre) => { | ||||||
const { ethers, network } = hre; | ||||||
const { contractAddress } = constants; | ||||||
const {contractAddress} = constants; | ||||||
|
||||||
let testUselessVar; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶 |
||||||
|
||||||
var oldSchoolCoolVar = "cool"; | ||||||
superical marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶 |
||||||
|
||||||
try { | ||||||
const [deployer] = await ethers.getSigners(); | ||||||
const deployerAddress = await deployer.getAddress(); | ||||||
|
@@ -57,7 +62,7 @@ task(TASK_DEPLOY_TOKEN) | |||||
const initParam = encodeInitParams({ | ||||||
name, | ||||||
symbol, | ||||||
deployer: deployerAddress, | ||||||
deployer: deployerAddress | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Suggested change
|
||||||
}); | ||||||
const tx = await deployerContract.deploy(implAddress, initParam); | ||||||
console.log(`[Transaction] Pending ${tx.hash}`); | ||||||
|
@@ -72,7 +77,7 @@ task(TASK_DEPLOY_TOKEN) | |||||
const token = await deployContract<TradeTrustToken>({ | ||||||
params: [name, symbol, factoryAddress], | ||||||
contractName, | ||||||
hre, | ||||||
hre | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Suggested change
|
||||||
}); | ||||||
registryAddress = token.address; | ||||||
} | ||||||
|
@@ -87,7 +92,7 @@ task(TASK_DEPLOY_TOKEN) | |||||
address: registryAddress, | ||||||
constructorArgsParams: [name, symbol, factoryAddress], | ||||||
contract: "contracts/TradeTrustToken.sol:TradeTrustToken", | ||||||
hre, | ||||||
hre | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Suggested change
|
||||||
}); | ||||||
} else { | ||||||
console.log("[Status] Skipped verification, already verified."); | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Replace
contractAddress
with·contractAddress·