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

feat: add protobuf conversion impls #808

Merged
merged 11 commits into from
Nov 11, 2024
Merged

feat: add protobuf conversion impls #808

merged 11 commits into from
Nov 11, 2024

Conversation

djordon
Copy link
Contributor

@djordon djordon commented Nov 9, 2024

Description

This is more work on the path to #412, and follows #558, #577, #579, and #727.

Changes

  • Add conversion implementations between some of the protobuf types and their sister types.

Testing Information

This PR adds unit tests for all 13 conversion implementations.

Checklist:

  • I have performed a self-review of my code

@djordon djordon added sbtc signer binary The sBTC Bootstrap Signer. signer communication Communication across sBTC bootstrap signers. labels Nov 9, 2024
@djordon djordon added this to the sBTC Release Ready milestone Nov 9, 2024
@djordon djordon self-assigned this Nov 9, 2024
Copy link
Collaborator

@matteojug matteojug left a comment

Choose a reason for hiding this comment

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

Marvellous tests!

protobufs/stacks/signer/v1/decisions.proto Outdated Show resolved Hide resolved
protobufs/stacks/signer/v1/decisions.proto Outdated Show resolved Hide resolved
signer/src/proto/convert.rs Outdated Show resolved Hide resolved
signer/src/proto/convert.rs Show resolved Hide resolved
signer/src/proto/convert.rs Show resolved Hide resolved
comments, and a tag ID
@djordon djordon merged commit 5c85dc6 into main Nov 11, 2024
4 checks passed
@djordon djordon deleted the protobuf-conversion-impls branch November 11, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sbtc signer binary The sBTC Bootstrap Signer. signer communication Communication across sBTC bootstrap signers.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants