Skip to content

Commit fdb29a2

Browse files
crodriguezvegadamiannolan
andauthoredApr 18, 2024
feat(depinject): support for core (#5976)
* wip: depinject ibc core module configuration * fix import cosmos/app/v1alpha1 import * fix wrong merge * add generation of pulsar files * remove previously generated proto file * add api import in go.mod * add api import to e2e * remove wrong import * some go.mod chores * remove code that should come in a different PR * update pulsar files * api go mod tidy * move to depinject.go * lint fix * replace api for 08-wasm * replace api for callbacks * e2e go mod tidy * copy api module to /go * chore: consolidate protogen scripts * review comments * replace staking keeper with consensus host in module inputs * downgrade api module to go 1.21 * Revert "downgrade api module to go 1.21" This reverts commit b56e330. * downgrade go to 1.21 in api module and update ics23 replace commit * remove pb.go files --------- Co-authored-by: Damian Nolan <damiannolan@gmail.com>
1 parent 71233e5 commit fdb29a2

File tree

13 files changed

+687
-10
lines changed

13 files changed

+687
-10
lines changed
 

‎Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ RUN test -n "${IBC_GO_VERSION}"
1010

1111
# Copy relevant files before go mod download. Replace directives to local paths break if local
1212
# files are not copied before go mod download.
13+
ADD api api
1314
ADD internal internal
1415
ADD testing testing
1516
ADD modules modules

‎api/go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
module github.com/cosmos/ibc-go/api
22

3-
go 1.22.0
3+
go 1.21
44

55
// NOTE: This replace points the ics23 code deps used by 23-commitment to a branch using pulsar codegen (i.e. protov2 compatible encoding interfaces)
66
// This should be removed and reverted when depinject supports protov1 with gogoproto.
7-
replace github.com/cosmos/ics23/go/api => github.com/cosmos/ics23/go/api v0.0.0-20240417162222-d137921f67b6
7+
replace github.com/cosmos/ics23/go/api => github.com/cosmos/ics23/go/api v0.0.0-20240418174942-ccce00eba150
88

99
require (
1010
cosmossdk.io/api v0.7.2
1111
github.com/cosmos/cosmos-proto v1.0.0-beta.4
1212
github.com/cosmos/gogoproto v1.4.11
1313
github.com/cosmos/ics23/go/api v0.0.0
1414
google.golang.org/genproto/googleapis/api v0.0.0-20231012201019-e917dd12ba7a
15+
google.golang.org/grpc v1.59.0
1516
google.golang.org/protobuf v1.33.0
1617
)
1718

@@ -24,5 +25,4 @@ require (
2425
golang.org/x/text v0.14.0 // indirect
2526
google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b // indirect
2627
google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405 // indirect
27-
google.golang.org/grpc v1.59.0 // indirect
2828
)

‎api/go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ github.com/cosmos/cosmos-proto v1.0.0-beta.4 h1:aEL7tU/rLOmxZQ9z4i7mzxcLbSCY48Od
44
github.com/cosmos/cosmos-proto v1.0.0-beta.4/go.mod h1:oeB+FyVzG3XrQJbJng0EnV8Vljfk9XvTIpGILNU/9Co=
55
github.com/cosmos/gogoproto v1.4.11 h1:LZcMHrx4FjUgrqQSWeaGC1v/TeuVFqSLa43CC6aWR2g=
66
github.com/cosmos/gogoproto v1.4.11/go.mod h1:/g39Mh8m17X8Q/GDEs5zYTSNaNnInBSohtaxzQnYq1Y=
7-
github.com/cosmos/ics23/go/api v0.0.0-20240417162222-d137921f67b6 h1:cPC1qMDSDWseBhHklSYXGcB/tbmw1J5BxGdqSbF/ED8=
8-
github.com/cosmos/ics23/go/api v0.0.0-20240417162222-d137921f67b6/go.mod h1:4crp9SaEZDYXZlr0ennsDKEe08EPE5mxAKhOmUWYYNI=
7+
github.com/cosmos/ics23/go/api v0.0.0-20240418174942-ccce00eba150 h1:7I4KVIRmT9VAiGJFwD+8yMu9ecEWlUZVdqPpPTNaEjE=
8+
github.com/cosmos/ics23/go/api v0.0.0-20240418174942-ccce00eba150/go.mod h1:FpETw40u/nTgyoOxCdh0kOk38N7f4Ec/Z77nICQm/TE=
99
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
1010
github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
1111
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=

0 commit comments

Comments
 (0)