Skip to content

Commit ffc7abd

Browse files
authored
refactor(templates): rm internal/ from Stargate scaffold (ignite#659)
1 parent 7b211e5 commit ffc7abd

File tree

4 files changed

+6
-23
lines changed

4 files changed

+6
-23
lines changed

go.mod

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@ require (
1919
github.com/gobuffalo/plush v3.8.3+incompatible
2020
github.com/gobuffalo/plushgen v0.1.2
2121
github.com/goccy/go-yaml v1.8.0
22-
github.com/golang/protobuf v1.4.3
2322
github.com/google/go-cmp v0.5.2 // indirect
2423
github.com/google/uuid v1.1.2
2524
github.com/gookit/color v1.2.7
2625
github.com/gorilla/mux v1.8.0
2726
github.com/grpc-ecosystem/go-grpc-middleware v1.2.2
28-
github.com/grpc-ecosystem/grpc-gateway v1.15.2
2927
github.com/imdario/mergo v0.3.11
3028
github.com/improbable-eng/grpc-web v0.13.0
3129
github.com/jpillora/chisel v1.7.3
@@ -39,7 +37,6 @@ require (
3937
github.com/radovskyb/watcher v1.0.7
4038
github.com/rakyll/statik v0.1.7
4139
github.com/rdegges/go-ipify v0.0.0-20150526035502-2d94a6a86c40
42-
github.com/regen-network/cosmos-proto v0.3.0
4340
github.com/rs/cors v1.7.0
4441
github.com/spf13/cobra v1.1.1
4542
github.com/spf13/pflag v1.0.5

starport/pkg/cosmosprotoc/cosmosprotoc.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@ func InstallDependencies(ctx context.Context, appPath string) error {
3939
step.Exec(
4040
"go",
4141
"get",
42-
"github.com/regen-network/cosmos-proto/protoc-gen-gocosmos",
42+
"github.com/regen-network/cosmos-proto/protoc-gen-gocosmos@v0.3.1",
4343
),
4444
),
4545
// install grpc-gateway.
4646
step.New(
4747
step.Exec(
4848
"go",
49-
"install",
50-
"github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway",
51-
"github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger",
52-
"github.com/golang/protobuf/protoc-gen-go",
49+
"get",
50+
"github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v1.16.0",
51+
"github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v1.16.0",
52+
"github.com/golang/protobuf/protoc-gen-go@v1.4.3",
5353
),
5454
),
5555
)

starport/templates/app/stargate/go.mod.plush

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,15 @@ go 1.15
44

55
require (
66
github.com/cosmos/cosmos-sdk v0.40.0
7-
github.com/gogo/protobuf v1.3.1
8-
github.com/golang/protobuf v1.4.3
7+
github.com/gogo/protobuf v1.3.2
98
github.com/gorilla/mux v1.8.0
10-
github.com/grpc-ecosystem/grpc-gateway v1.16.0
11-
github.com/regen-network/cosmos-proto v0.3.0
129
github.com/spf13/cast v1.3.1
1310
github.com/spf13/cobra v1.1.1
1411
github.com/spf13/pflag v1.0.5
1512
github.com/tendermint/tendermint v0.34.2
1613
github.com/tendermint/tm-db v0.6.3
1714
google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d
1815
google.golang.org/grpc v1.33.2
19-
2016
)
2117

2218
replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.2-alpha.regen.4

starport/templates/app/stargate/internal/tools/tools.go

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)