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

chore(bb): refactor bb CLI interface #1672

Merged
merged 8 commits into from
Aug 21, 2023
Merged

Conversation

kevaundray
Copy link
Contributor

Resolves #1671

Checklist:

Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

  • If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
  • I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
  • Every change is related to the PR description.
  • I have linked this pull request to relevant issues (if any exist).

process.stdout.write(contract);
writeFileSync(outputPath, contract);

debug(`contract written to: ${outputPath}`);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All input which is just "information" is printed to debug which should print to stderr, instead of console.log which is printing to stdout

@@ -67,6 +67,7 @@
"resolve-typescript-plugin": "^2.0.1",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.2",
"tslib": "^2.6.2",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for #1670

@kevaundray kevaundray marked this pull request as ready for review August 19, 2023 22:30
@kevaundray kevaundray changed the title chore(acir): refactor bb binary interface chore(acir): refactor bb CLI interface Aug 19, 2023
@kevaundray
Copy link
Contributor Author

nit: We should print out byte arrays as hexstrings

@kevaundray
Copy link
Contributor Author

nit: We should print out byte arrays as hexstrings

This will now be done as part of #1674

@TomAFrench TomAFrench linked an issue Aug 21, 2023 that may be closed by this pull request
@TomAFrench
Copy link
Member

I think acir is the wrong scope for this PR. bb instead?

@kevaundray
Copy link
Contributor Author

I think acir is the wrong scope for this PR. bb instead?

Thats a good point -- I'm not sure what scope this should be, though bb is better than acir because other parts might use acir when talking about the simulator

@kevaundray kevaundray changed the title chore(acir): refactor bb CLI interface chore(bb): refactor bb CLI interface Aug 21, 2023
Copy link
Member

@TomAFrench TomAFrench left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@kevaundray kevaundray merged commit a5bf6e0 into master Aug 21, 2023
@kevaundray kevaundray deleted the kw/cleanup-bb-binary-interface branch August 21, 2023 11:20
codygunton pushed a commit that referenced this pull request Jan 23, 2024
* Copied index.html to output (#1661)

* Generate htnl file (#1662)

* Deployment fix (#1663)

* Deployment fixes (#1665)

* Deployment fix attempt (#1667)

* Updated falafel and kebab terraform with new project directory structure (#1670)

* Reduce the amount of logging in kebab (#1668)

* Reduce the amount of logging in kebab

* Logging improvement

* Bug fix

* Reverted erroneous change

* Pw/increase faucet drip (#1669)

* Increased the faucet drip size

* Force contract redeployment

* Deploy terraform from correct directory (#1671)

* JB/Website grants updates (#1666)

* Add new grant

* Improve research images

* Mini typo

* JB/Website build manifest (#1672)

* Add website to build manifest

* JB/Brand iteration (#1673)

* Small build change

* JB/Fix website deployment (#1676)

* Fix deployment

* JB/Fix website deploy (#1677)

* Fix deploy

Co-authored-by: Jonathan Bursztyn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
2 participants