Merge pull request #8974 from ellemouton/falafelUpdate
lnrpc: update falafel version
This commit is contained in:
20 files changed
+24
-31
No files matched your search
@@ -118,6 +118,10 @@ commitment when the channel was force closed.
|
|||||||
* [Added](https://github.com/lightningnetwork/lnd/pull/8836) a new failure
|
* [Added](https://github.com/lightningnetwork/lnd/pull/8836) a new failure
|
||||||
reason `FailureReasonCanceled` to the list of payment failure reasons. It
|
reason `FailureReasonCanceled` to the list of payment failure reasons. It
|
||||||
indicates that a payment was manually cancelled by the user.
|
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
|
## Breaking Changes
|
||||||
## Performance Improvements
|
## Performance Improvements
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ ARG PROTOBUF_VERSION
|
|||||||
ARG GRPC_GATEWAY_VERSION
|
ARG GRPC_GATEWAY_VERSION
|
||||||
|
|
||||||
ENV PROTOC_GEN_GO_GRPC_VERSION="v1.1.0"
|
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 GOCACHE=/tmp/build/.cache
|
||||||
ENV GOMODCACHE=/tmp/build/.modcache
|
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
|
// source: autopilot.proto
|
||||||
|
|
||||||
package autopilotrpc
|
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
|
// source: chainkit.proto
|
||||||
|
|
||||||
package chainrpc
|
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
|
// source: chainnotifier.proto
|
||||||
|
|
||||||
package chainrpc
|
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
|
// source: dev.proto
|
||||||
|
|
||||||
package devrpc
|
package devrpc
|
||||||
|
|||||||
+1
-12
@@ -50,18 +50,7 @@ function generate() {
|
|||||||
|
|
||||||
PACKAGES="autopilotrpc chainrpc invoicesrpc neutrinorpc peersrpc routerrpc signrpc verrpc walletrpc watchtowerrpc wtclientrpc devrpc"
|
PACKAGES="autopilotrpc chainrpc invoicesrpc neutrinorpc peersrpc routerrpc signrpc verrpc walletrpc watchtowerrpc wtclientrpc devrpc"
|
||||||
for package in $PACKAGES; do
|
for package in $PACKAGES; do
|
||||||
# Special import for the wallet kit.
|
opts="package_name=$package,js_stubs=1"
|
||||||
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"
|
|
||||||
pushd $package
|
pushd $package
|
||||||
protoc -I/usr/local/include -I. -I.. \
|
protoc -I/usr/local/include -I. -I.. \
|
||||||
--plugin=protoc-gen-custom=$falafel\
|
--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
|
// source: invoices.proto
|
||||||
|
|
||||||
package invoicesrpc
|
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
|
// source: lightning.proto
|
||||||
|
|
||||||
package lnrpc
|
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
|
// source: neutrino.proto
|
||||||
|
|
||||||
package neutrinorpc
|
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
|
// source: peers.proto
|
||||||
|
|
||||||
package peersrpc
|
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
|
// source: router.proto
|
||||||
|
|
||||||
package routerrpc
|
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
|
// source: signer.proto
|
||||||
|
|
||||||
package signrpc
|
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
|
// source: stateservice.proto
|
||||||
|
|
||||||
package lnrpc
|
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
|
// source: verrpc.proto
|
||||||
|
|
||||||
package verrpc
|
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
|
// source: walletkit.proto
|
||||||
|
|
||||||
package walletrpc
|
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
|
// source: walletunlocker.proto
|
||||||
|
|
||||||
package lnrpc
|
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
|
// source: watchtower.proto
|
||||||
|
|
||||||
package watchtowerrpc
|
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
|
// source: wtclient.proto
|
||||||
|
|
||||||
package wtclientrpc
|
package wtclientrpc
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ for file in $PROTOS; do
|
|||||||
|
|
||||||
protoc -I/usr/local/include -I. \
|
protoc -I/usr/local/include -I. \
|
||||||
--plugin=protoc-gen-custom=$falafel\
|
--plugin=protoc-gen-custom=$falafel\
|
||||||
--custom_out=./build \
|
--custom_out=. \
|
||||||
--custom_opt="$opts" \
|
--custom_opt="$opts" \
|
||||||
--proto_path=../lnrpc \
|
--proto_path=../lnrpc \
|
||||||
"${file}"
|
"${file}"
|
||||||
@@ -78,7 +78,7 @@ do
|
|||||||
protoc -I/usr/local/include -I. \
|
protoc -I/usr/local/include -I. \
|
||||||
-I../lnrpc \
|
-I../lnrpc \
|
||||||
--plugin=protoc-gen-custom=$falafel \
|
--plugin=protoc-gen-custom=$falafel \
|
||||||
--custom_out=./build \
|
--custom_out=. \
|
||||||
--custom_opt="$opts" \
|
--custom_opt="$opts" \
|
||||||
--proto_path=${DIRECTORY} \
|
--proto_path=${DIRECTORY} \
|
||||||
${file}
|
${file}
|
||||||
|
|||||||
Reference in new issue
Block a user