Skip to content

Commit 2044a91

Browse files
daywalker90sangbida
authored andcommitted
msggen: propagate added and deprecated fields
Whenever we want to add a new rpc command or notification in msggen's `util.py` we get an error during `make` that the `added` field of that new command or notification is missing even when it's clearly not. We had to uncomment 2 lines in `patch.py` and override any missing `added` annotation to get it running. We now pass any `added` or `deprecated` fields from the parent object correctly so we no longer have to do this. Unfortunately we have commited wrong metadata to `.msggen.json` in the past. This commit also includes missing `added` annotation for commands added after the `pre-v0.10.1` cutoff and manual fixes of the metadata in `.msggen.json`
1 parent d365b6d commit 2044a91

17 files changed

Lines changed: 1733 additions & 1682 deletions

.msggen.json

Lines changed: 403 additions & 403 deletions
Large diffs are not rendered by default.

cln-grpc/proto/node.proto

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cln-grpc/src/convert.rs

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)