Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: Gates command should always return 8 bytes (#2631)
## Problem Writing number directly to stdout will result in a variable number of bytes depending on the number. The spec requires us to have 8 bytes in little endian format. ## Solution Write number into buffer with 8 bytes and then write the buffer to stdout # 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](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist).
- Loading branch information