Skip to content

Commit

Permalink
schemas/decode.schema.json: Add added: vNEXTVERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
adi2011 committed Oct 25, 2023
1 parent fbd409a commit 185e4a4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .msggen.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"bolt12 invoice": 1,
"bolt12 invoice_request": 2,
"bolt12 offer": 0,
"encrypted blob": 5,
"rune": 4
},
"DecodepayFallbacksType": {
Expand Down Expand Up @@ -471,6 +472,7 @@
"DecodeResponse": {
"Decode.created_at": 60,
"Decode.currency_minor_unit": 8,
"Decode.decrypted": 76,
"Decode.description_hash": 64,
"Decode.expiry": 61,
"Decode.extra[]": 69,
Expand Down Expand Up @@ -1917,6 +1919,10 @@
"added": "pre-v0.10.1",
"deprecated": false
},
"Decode.decrypted": {
"added": "v23.11",
"deprecated": false
},
"Decode.description_hash": {
"added": "pre-v0.10.1",
"deprecated": false
Expand Down
1 change: 1 addition & 0 deletions contrib/msggen/msggen/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ class OptionalPatch(Patch):
'v23.02',
'v23.05',
'v23.08',
'v23.11',
]
# Oldest supported versions. Bump this if you no longer want to
# support older versions, and you want to make required fields
Expand Down
1 change: 1 addition & 0 deletions contrib/pyln-testing/pyln/testing/grpc2py.py
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,7 @@ def decode2py(m):
"restrictions": [decode_restrictions2py(i) for i in m.restrictions], # ArrayField[composite] in generate_composite
"warning_rune_invalid_utf8": m.warning_rune_invalid_utf8, # PrimitiveField in generate_composite
"hex": hexlify(m.hex), # PrimitiveField in generate_composite
"decrypted": hexlify(m.decrypted), # PrimitiveField in generate_composite
})


Expand Down
3 changes: 2 additions & 1 deletion doc/schemas/decode.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1537,7 +1537,8 @@
"valid": {},
"decrypted": {
"type": "hex",
"description": "The decrypted value of the provided bech32 of emergency.recover"
"description": "The decrypted value of the provided bech32 of emergency.recover",
"added": "v23.11"
}
}
}
Expand Down

0 comments on commit 185e4a4

Please sign in to comment.