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

RPC messages work on ConfirmedBlockCertificates #2976

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

deuszx
Copy link
Contributor

@deuszx deuszx commented Nov 27, 2024

Motivation

RpcMessage::DownloadCertificateResponse and RpcMessage::DownloadCertificatesResponse contain Certificate type.

Proposal

Change to carry the ConfirmedBlockCertificate.

Test Plan

CI.

Release Plan

  • Nothing to do / These changes follow the usual release cycle.

Links

Closes #2975

linera-rpc/src/message.rs Outdated Show resolved Hide resolved
linera-rpc/src/simple/client.rs Outdated Show resolved Hide resolved
@deuszx deuszx requested a review from afck November 27, 2024 18:14
@deuszx
Copy link
Contributor Author

deuszx commented Nov 27, 2024

@afck In Ensure that we get correct number of certs in resposen. I made it so that we verify, after download, that we get exactly the certificates we requested and fail otherwise. Please double-check me here.

linera-core/src/node.rs Outdated Show resolved Hide resolved
linera-rpc/src/grpc/client.rs Show resolved Hide resolved
deuszx and others added 4 commits November 27, 2024 18:32
* Remove CertificateValue and change Certificate encoding.

* Review part 1

* Update linera-chain/src/certificate/mod.rs

Co-authored-by: Andreas Fackler <[email protected]>
Signed-off-by: deuszx <[email protected]>

---------

Signed-off-by: deuszx <[email protected]>
Co-authored-by: Andreas Fackler <[email protected]>
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.

RpcMessage type should work with ConfirmedBlockCertificate
2 participants