Skip to content

Conversation

@ksn6
Copy link
Contributor

@ksn6 ksn6 commented Jul 29, 2025

Problem

We'd like to factor out message types employed in votor into a new crate.

Summary of Changes

Perform said refactoring. Addresses #294.

@ksn6
Copy link
Contributor Author

ksn6 commented Jul 29, 2025

I could use feedback on votor-messages's Cargo.toml spec, particularly when it comes to the frozen ABI stuff. Is this done correctly?

@ksn6 ksn6 force-pushed the remove-certificate-rs branch from 01a5522 to 3a4f846 Compare July 30, 2025 19:40
ksn6 added 2 commits July 30, 2025 19:54
formatting

abi updates

sort dependencies

from_certificate_type -> new

CertificateId -> Certificate

votor -> votor-messages
@ksn6 ksn6 force-pushed the remove-certificate-rs branch from 3a4f846 to c1929d1 Compare July 30, 2025 19:55
Copy link
Contributor

@AshwinSekar AshwinSekar left a comment

Choose a reason for hiding this comment

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

LGTM thanks for cleaning this up!

@ksn6 ksn6 merged commit dc8a331 into anza-xyz:master Jul 30, 2025
3 of 6 checks passed
@ksn6 ksn6 deleted the remove-certificate-rs branch July 30, 2025 22:52
fn receive_new_certificates(
certificate_receiver: &Receiver<(CertificateId, CertificateMessage)>,
) -> Result<Vec<(CertificateId, CertificateMessage)>> {
certificate_receiver: &Receiver<(Certificate, CertificateMessage)>,
Copy link
Contributor

Choose a reason for hiding this comment

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

Originally we did this because Certificate contains something CertificateId doesn't have. Now you use Certificate, CertificateMessage should have Certificate.

Copy link
Contributor

Choose a reason for hiding this comment

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

That said, it's probably easier to just do #299

@AshwinSekar
Copy link
Contributor

For the future please don't merge PRs before the checks pass

@ksn6
Copy link
Contributor Author

ksn6 commented Jul 30, 2025

Checks already passed several times (this may not appear because of the rebases I've been making). That's fine though - can wait a bit longer in the future for the final green checks to show up.

bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 2, 2025
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.

3 participants