rename intermediate proto packages

This commit is contained in:
William Banfield
2022-03-03 12:20:15 -05:00
parent 94f74b09dc
commit 78e0e274c5
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
syntax = "proto3";
package tendermint.abci;
package intermediate.abci;
// For more information on gogo.proto, see:
// https://github.com/gogo/protobuf/blob/master/extensions.md
+1 -1
View File
@@ -1,5 +1,5 @@
syntax = "proto3";
package tendermint.types;
package intermediate.types;
import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
+3
View File
@@ -2,7 +2,10 @@
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
MODNAME="$(go list -m)"
find ./proto/tendermint -name '*.proto' -not -path "./proto/tendermint/abci/types.proto" -not -path "./proto/intermediate" \