From 24d38183a8af846894aba75de688a9a1f715f779 Mon Sep 17 00:00:00 2001 From: Evan Gray Date: Mon, 31 Oct 2022 14:42:20 +0000 Subject: [PATCH] docs: add proto generation info --- DEVELOP.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/DEVELOP.md b/DEVELOP.md index d5ed7750e..d72305482 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -130,6 +130,14 @@ IntelliJ's [remote development backend](https://www.jetbrains.com/remote-develop ## Tips and tricks +### Generate protos (Go / TypeScript) + +As of [#1352](https://github.com/wormhole-foundation/wormhole/pull/1352), the tsproto generated ts files are provided in two npm packages for [node](./sdk/js-proto-node/) and [web](./sdk/js-proto-web/) + +As of [#1824](https://github.com/wormhole-foundation/wormhole/pull/1824), changes to the proto files must match the generated go files. + +To re-generate these files run `rm -rf node/pkg/proto && docker build --target go-export -f Dockerfile.proto -o type=local,dest=node .` from the root of the repo. + ### Call gRPC services tools/bin/grpcurl -protoset <(tools/bin/buf build -o -) -plaintext localhost:7072 spy.v1.SpyRPCService/SubscribeSignedVAA @@ -171,12 +179,6 @@ Launch the devnet with flags supplying your database info to forward events to y tilt up -- --num=1 --gcpProject=your-project-id --bigTableKeyPath=./your-service-account-key.json -### bridge UI - -Run the bridge UI in devnet by supplying the `--bridge_ui` flag: - - tilt up -- --bridge_ui - ### Algorand Node logs: