From 30ebc880c4f51e64ed67c0a94c6387996b309304 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Thu, 3 Mar 2022 12:30:35 -0500 Subject: [PATCH] update abci-gen script for rename --- scripts/abci-gen.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/scripts/abci-gen.sh b/scripts/abci-gen.sh index 37f54a033..8f31f429e 100755 --- a/scripts/abci-gen.sh +++ b/scripts/abci-gen.sh @@ -1,11 +1,8 @@ #!/usr/bin/env bash set -euo pipefail -cp ./proto/intermediate/abci/types.proto ./proto/tendermint/abci/types.proto -sed -i 's/package intermediate\./package tendermint\./g' ./proto/tendermint/abci/types.proto - -cp ./proto/intermediate/types/types.proto ./proto/tendermint/types/types.proto -sed -i 's/package intermediate\./package tendermint\./g' ./proto/tendermint/types/types.proto +cp ./proto/tendermint/abci/types.proto.intermediate ./proto/tendermint/abci/types.proto +cp ./proto/tendermint/types/types.proto.intermediate ./proto/tendermint/types/types.proto MODNAME="$(go list -m)" find ./proto/tendermint -name '*.proto' -not -path "./proto/tendermint/abci/types.proto" -not -path "./proto/intermediate" \ @@ -19,7 +16,7 @@ mv ./proto/tendermint/abci/types.pb.go ./abci/types echo "proto files have been compiled" -echo "removing copied files" +echo "checking out copied files" find proto/tendermint/ -name '*.proto' \ | xargs -I {} git checkout {}