Skip to content

Conversation

@nepet
Copy link
Member

@nepet nepet commented Apr 8, 2025

In order to keep up with changes in tonic and prost as well as changes in the upstream cln repo we need to upgrade those crates once in a while.

The newly added streams from cln_grpc are left to be implemented in the future as we need to access a module that is currently private.

@nepet nepet force-pushed the 2514-upgrade-cln-rpc-grpc branch from 60d617d to f513baa Compare April 8, 2025 06:52
@nepet nepet requested a review from cdecker April 8, 2025 07:09
nepet added 4 commits April 8, 2025 15:39
Upgrade cln crates and adapt changes to the messages. Changes
AutoCleanInvoices to AutoCleanOnce

Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>
Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>
We need to upgrade those to match with the rest of the project.

Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>
Upgrade to the current version and, adjust the wrapper and other
messages to the changes. Need to fill out the streams after we
made NotificationStream - respectively the server module public.

Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>
@nepet nepet force-pushed the 2514-upgrade-cln-rpc-grpc branch from f513baa to 49d71b8 Compare April 8, 2025 13:40
.ok_or(Error::Channel("No channel with scid"))?
.status
.ok_or(Error::Channel("No amount found"))?)
return Err(Error::Service(format!(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ok, this means we will deprecate any pre-v23.05 node in the prod system before rollout. That is intended I assume?

Copy link
Collaborator

Choose a reason for hiding this comment

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

For reference, that is currently about <1% of nodes, and <0.01% of active nodes.

@cdecker cdecker merged commit da48b65 into main Apr 11, 2025
11 checks passed
@cdecker cdecker deleted the 2514-upgrade-cln-rpc-grpc branch April 11, 2025 12:55
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