Skip to content
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

Merged
merged 16 commits into from
Dec 6, 2021

Conversation

dribeiro-ShardLabs
Copy link
Contributor

@dribeiro-ShardLabs dribeiro-ShardLabs commented Dec 3, 2021

  • 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"

@dribeiro-ShardLabs dribeiro-ShardLabs requested review from FabijanC and a user December 3, 2021 15:58
src/constants.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Show resolved Hide resolved
test/starknet-verify/hardhat.config.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
package-lock.json Outdated Show resolved Hide resolved
Copy link
Collaborator

@FabijanC FabijanC left a 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/types.ts Outdated Show resolved Hide resolved
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"]);
Copy link
Collaborator

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?

src/index.ts Outdated Show resolved Hide resolved
@dribeiro-ShardLabs dribeiro-ShardLabs merged commit e675a0f into master Dec 6, 2021
@FabijanC FabijanC deleted the voyager-contract-verification branch February 7, 2022 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants