mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
Merge pull request #8974 from ellemouton/falafelUpdate
lnrpc: update falafel version
This commit is contained in:
commit
4e5728f58a
@ -118,6 +118,10 @@ commitment when the channel was force closed.
|
||||
* [Added](https://github.com/lightningnetwork/lnd/pull/8836) a new failure
|
||||
reason `FailureReasonCanceled` to the list of payment failure reasons. It
|
||||
indicates that a payment was manually cancelled by the user.
|
||||
|
||||
* [Update the version](https://github.com/lightningnetwork/lnd/pull/8974) of
|
||||
[falafel](https://github.com/lightninglabs/falafel) used to generate JSON/wasm
|
||||
stubs. This latest version of falafel also supports proto3 optional fields.
|
||||
|
||||
## Breaking Changes
|
||||
## Performance Improvements
|
||||
|
@ -12,7 +12,7 @@ ARG PROTOBUF_VERSION
|
||||
ARG GRPC_GATEWAY_VERSION
|
||||
|
||||
ENV PROTOC_GEN_GO_GRPC_VERSION="v1.1.0"
|
||||
ENV FALAFEL_VERSION="v0.9.1"
|
||||
ENV FALAFEL_VERSION="v0.9.2"
|
||||
ENV GOCACHE=/tmp/build/.cache
|
||||
ENV GOMODCACHE=/tmp/build/.modcache
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: autopilot.proto
|
||||
|
||||
package autopilotrpc
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: chainkit.proto
|
||||
|
||||
package chainrpc
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: chainnotifier.proto
|
||||
|
||||
package chainrpc
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: dev.proto
|
||||
|
||||
package devrpc
|
||||
|
@ -50,18 +50,7 @@ function generate() {
|
||||
|
||||
PACKAGES="autopilotrpc chainrpc invoicesrpc neutrinorpc peersrpc routerrpc signrpc verrpc walletrpc watchtowerrpc wtclientrpc devrpc"
|
||||
for package in $PACKAGES; do
|
||||
# Special import for the wallet kit.
|
||||
manual_import=""
|
||||
if [[ "$package" == "walletrpc" ]]; then
|
||||
manual_import="github.com/lightningnetwork/lnd/lnrpc/signrpc"
|
||||
fi
|
||||
|
||||
# Special import for devrpc.
|
||||
if [[ "$package" == "devrpc" ]]; then
|
||||
manual_import="github.com/lightningnetwork/lnd/lnrpc"
|
||||
fi
|
||||
|
||||
opts="package_name=$package,manual_import=$manual_import,js_stubs=1"
|
||||
opts="package_name=$package,js_stubs=1"
|
||||
pushd $package
|
||||
protoc -I/usr/local/include -I. -I.. \
|
||||
--plugin=protoc-gen-custom=$falafel\
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: invoices.proto
|
||||
|
||||
package invoicesrpc
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: lightning.proto
|
||||
|
||||
package lnrpc
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: neutrino.proto
|
||||
|
||||
package neutrinorpc
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: peers.proto
|
||||
|
||||
package peersrpc
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: router.proto
|
||||
|
||||
package routerrpc
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: signer.proto
|
||||
|
||||
package signrpc
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: stateservice.proto
|
||||
|
||||
package lnrpc
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: verrpc.proto
|
||||
|
||||
package verrpc
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: walletkit.proto
|
||||
|
||||
package walletrpc
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: walletunlocker.proto
|
||||
|
||||
package lnrpc
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: watchtower.proto
|
||||
|
||||
package watchtowerrpc
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// Code generated by falafel 0.9.2. DO NOT EDIT.
|
||||
// source: wtclient.proto
|
||||
|
||||
package wtclientrpc
|
||||
|
@ -48,7 +48,7 @@ for file in $PROTOS; do
|
||||
|
||||
protoc -I/usr/local/include -I. \
|
||||
--plugin=protoc-gen-custom=$falafel\
|
||||
--custom_out=./build \
|
||||
--custom_out=. \
|
||||
--custom_opt="$opts" \
|
||||
--proto_path=../lnrpc \
|
||||
"${file}"
|
||||
@ -78,7 +78,7 @@ do
|
||||
protoc -I/usr/local/include -I. \
|
||||
-I../lnrpc \
|
||||
--plugin=protoc-gen-custom=$falafel \
|
||||
--custom_out=./build \
|
||||
--custom_out=. \
|
||||
--custom_opt="$opts" \
|
||||
--proto_path=${DIRECTORY} \
|
||||
${file}
|
||||
|
Loading…
Reference in New Issue
Block a user