-
Notifications
You must be signed in to change notification settings - Fork 35
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
Voyager contract verification #25
Conversation
dribeiro-ShardLabs
commented
Dec 3, 2021
•
edited
edited
- Implemented "starknet-verify" task, which queries Voyager for contract verifications
- Implemented "wait" flag for the "starknet-deploy" task, which if present waits until the status in the deployment transaction for a contract is "Pending"
…ard-Labs/starknet-hardhat-plugin into voyager-contract-verification
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.
The new changes seem to cover my comments from the last review, except the required changes to package-lock.json: #25 (comment)
src/index.ts
Outdated
@@ -349,7 +349,7 @@ task("starknet-deploy", "Deploys Starknet contracts which have been compiled.") | |||
const execResult = processExecuted(executed); | |||
|
|||
if(execResult == 0) | |||
tx_hashes.push(executed.stdout.toString().match(".*Transaction hash: (?<tx_hash>\\w*).*").groups["tx_hash"]); | |||
txHashes.push(executed.stdout.toString().match(".*Transaction hash: (?<tx_hash>\\w*).*").groups["tx_hash"]); |
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.
I guess you didn't want this line to look the way it does. Perhaps you meant to indent it and enclose with curly braces. Also, would it be possible to utilize extractTxHash
from types.ts?