Commit 2044a91
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
File tree
- cln-grpc
- proto
- src
- cln-rpc/src
- contrib
- msggen/msggen
- utils
- pyln-grpc-proto/pyln/grpc
- doc/schemas
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments