Skip to content

Conversation

@wen-coding
Copy link
Contributor

No description provided.

@wen-coding wen-coding marked this pull request as draft July 26, 2025 05:55
@wen-coding wen-coding marked this pull request as ready for review July 26, 2025 06:12
@wen-coding wen-coding linked an issue Jul 26, 2025 that may be closed by this pull request
voting_context,
));
alpenglow_update_commitment_cache(
let _ = alpenglow_update_commitment_cache(
Copy link
Contributor

Choose a reason for hiding this comment

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

whats the purpose of adding an error if we just ignore it here?

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 function is called from both EventHandler and CertificatePoolService. This PR only handles the error on the CertificatePoolService side, the EventHandler error handling can be done in a future PR maybe? I suppose EventHandler should also exit on disconnect.

Copy link
Contributor

@bw-solana bw-solana left a comment

Choose a reason for hiding this comment

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

LGTM. Would be good to hook up to EventHandler in the future

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.

Can be done in a future PR, but lets create an error.rs to hold all of these various error types for easier reading.

@wen-coding wen-coding merged commit e84f02b into anza-xyz:master Jul 29, 2025
7 checks passed
@wen-coding wen-coding deleted the certificate_pool_service_trysend_error branch July 29, 2025 00:42
wen-coding added a commit to wen-coding/alpenglow that referenced this pull request Jul 29, 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 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.

Propagate errors in CertificatePoolService

4 participants