@agoric/cosmos 0.34.2-dev-9f6644d.0 → 0.34.2-dev-fc871c0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.clang-format +116 -0
- package/Makefile +38 -67
- package/ante/ante.go +2 -2
- package/ante/inbound_test.go +1 -1
- package/app/app.go +173 -142
- package/app/export.go +6 -6
- package/app/genesis.go +4 -0
- package/app/sim_test.go +299 -50
- package/app/upgrade.go +70 -3
- package/cmd/agd/agvm.go +1 -1
- package/cmd/agd/main.go +1 -1
- package/cmd/libdaemon/main.go +1 -1
- package/daemon/cmd/root.go +25 -34
- package/daemon/cmd/root_test.go +5 -4
- package/daemon/cmd/testnet.go +221 -95
- package/daemon/main.go +1 -0
- package/git-revision.txt +1 -1
- package/go.mod +93 -58
- package/go.sum +148 -95
- package/package.json +2 -2
- package/proto/agoric/swingset/genesis.proto +7 -11
- package/proto/agoric/swingset/msgs.proto +56 -75
- package/proto/agoric/swingset/query.proto +7 -10
- package/proto/agoric/swingset/swingset.proto +79 -108
- package/proto/agoric/vbank/genesis.proto +5 -5
- package/proto/agoric/vbank/msgs.proto +1 -2
- package/proto/agoric/vbank/vbank.proto +42 -52
- package/proto/agoric/vibc/msgs.proto +8 -11
- package/proto/agoric/vstorage/genesis.proto +6 -9
- package/proto/agoric/vstorage/query.proto +19 -48
- package/proto/agoric/vstorage/vstorage.proto +4 -10
- package/proto/agoric/vtransfer/genesis.proto +7 -7
- package/proto/buf.gen.gogo.yaml +8 -0
- package/proto/buf.gen.pulsar.yaml +17 -0
- package/proto/buf.gen.swagger.yaml +5 -0
- package/proto/buf.yaml +10 -0
- package/scripts/protocgen.sh +14 -21
- package/third_party/proto/amino/amino.proto +79 -0
- package/third_party/proto/cosmos/base/v1beta1/coin.proto +7 -2
- package/third_party/proto/cosmos/ics23/v1/proofs.proto +243 -0
- package/third_party/proto/cosmos/msg/v1/msg.proto +30 -0
- package/third_party/proto/cosmos/upgrade/v1beta1/upgrade.proto +17 -5
- package/third_party/proto/cosmos_proto/cosmos.proto +16 -1
- package/third_party/proto/gogoproto/gogo.proto +2 -2
- package/third_party/proto/google/protobuf/any.proto +6 -3
- package/third_party/proto/ibc/core/channel/v1/channel.proto +1 -1
- package/third_party/proto/ibc/core/client/v1/client.proto +4 -2
- package/types/address_hooks.go +2 -2
- package/types/address_hooks_test.go +3 -3
- package/types/ibc_packet.go +3 -3
- package/types/ibc_packet_test.go +3 -3
- package/vm/proto_json.go +2 -2
- package/x/swingset/abci.go +1 -1
- package/x/swingset/alias.go +0 -1
- package/x/swingset/config.go +1 -1
- package/x/swingset/keeper/extension_snapshotter.go +1 -1
- package/x/swingset/keeper/extension_snapshotter_test.go +1 -1
- package/x/swingset/keeper/keeper.go +1 -1
- package/x/swingset/keeper/keeper_test.go +1 -1
- package/x/swingset/keeper/querier.go +1 -30
- package/x/swingset/keeper/swing_store_exports_handler.go +1 -1
- package/x/swingset/keeper/swing_store_exports_handler_test.go +1 -1
- package/x/swingset/module.go +1 -14
- package/x/swingset/types/genesis.pb.go +2 -2
- package/x/swingset/types/msgs.pb.go +4 -3
- package/x/swingset/types/msgs_test.go +1 -1
- package/x/swingset/types/query.pb.go +4 -3
- package/x/swingset/types/swingset.pb.go +2 -2
- package/x/vbank/genesis.go +1 -1
- package/x/vbank/keeper/querier.go +1 -21
- package/x/vbank/module.go +1 -16
- package/x/vbank/types/genesis.pb.go +2 -2
- package/x/vbank/types/msgs.pb.go +3 -2
- package/x/vbank/types/query.pb.go +4 -3
- package/x/vbank/types/vbank.pb.go +2 -2
- package/x/vbank/vbank_test.go +16 -16
- package/x/vibc/keeper/keeper.go +8 -5
- package/x/vibc/keeper/migrations.go +36 -0
- package/x/vibc/keeper/triggers.go +1 -1
- package/x/vibc/module.go +9 -17
- package/x/vibc/types/expected_keepers.go +5 -10
- package/x/vibc/types/ibc_module.go +4 -4
- package/x/vibc/types/msgs.go +1 -1
- package/x/vibc/types/msgs.pb.go +5 -4
- package/x/vibc/types/receiver.go +2 -2
- package/x/vlocalchain/keeper/keeper.go +3 -3
- package/x/vlocalchain/types/vlocalchain.pb.go +1 -1
- package/x/vlocalchain/vlocalchain_test.go +6 -6
- package/x/vstorage/alias.go +0 -1
- package/x/vstorage/client/cli/query.go +1 -1
- package/x/vstorage/genesis.go +1 -1
- package/x/vstorage/keeper/keeper.go +6 -5
- package/x/vstorage/keeper/keeper_test.go +24 -24
- package/x/vstorage/keeper/querier.go +1 -32
- package/x/vstorage/keeper/querier_test.go +41 -6
- package/x/vstorage/module.go +1 -14
- package/x/vstorage/types/genesis.pb.go +2 -2
- package/x/vstorage/types/query.pb.go +8 -5
- package/x/vstorage/types/vstorage.pb.go +2 -2
- package/x/vstorage/vstorage_test.go +3 -3
- package/x/vtransfer/genesis.go +1 -1
- package/x/vtransfer/ibc_middleware.go +4 -4
- package/x/vtransfer/ibc_middleware_test.go +10 -11
- package/x/vtransfer/keeper/keeper.go +5 -5
- package/x/vtransfer/module.go +1 -14
- package/x/vtransfer/types/expected_keepers.go +2 -18
- package/x/vtransfer/types/genesis.pb.go +2 -2
- package/x/vtransfer/utils_test.go +15 -15
- package/daemon/cmd/genaccounts.go +0 -195
package/.clang-format
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
---
|
|
2
|
+
Language: Proto
|
|
3
|
+
BasedOnStyle: Google
|
|
4
|
+
AccessModifierOffset: -2
|
|
5
|
+
AlignAfterOpenBracket: Align
|
|
6
|
+
AlignConsecutiveAssignments: true
|
|
7
|
+
AlignConsecutiveDeclarations: true
|
|
8
|
+
AlignEscapedNewlines: Right
|
|
9
|
+
AlignOperands: true
|
|
10
|
+
AlignTrailingComments: true
|
|
11
|
+
AllowAllParametersOfDeclarationOnNextLine: true
|
|
12
|
+
AllowShortBlocksOnASingleLine: true
|
|
13
|
+
AllowShortCaseLabelsOnASingleLine: false
|
|
14
|
+
AllowShortFunctionsOnASingleLine: Empty
|
|
15
|
+
AllowShortIfStatementsOnASingleLine: false
|
|
16
|
+
AllowShortLoopsOnASingleLine: false
|
|
17
|
+
AlwaysBreakAfterDefinitionReturnType: None
|
|
18
|
+
AlwaysBreakAfterReturnType: None
|
|
19
|
+
AlwaysBreakBeforeMultilineStrings: false
|
|
20
|
+
AlwaysBreakTemplateDeclarations: false
|
|
21
|
+
BinPackArguments: true
|
|
22
|
+
BinPackParameters: true
|
|
23
|
+
BraceWrapping:
|
|
24
|
+
AfterClass: false
|
|
25
|
+
AfterControlStatement: false
|
|
26
|
+
AfterEnum: false
|
|
27
|
+
AfterFunction: false
|
|
28
|
+
AfterNamespace: false
|
|
29
|
+
AfterObjCDeclaration: false
|
|
30
|
+
AfterStruct: false
|
|
31
|
+
AfterUnion: false
|
|
32
|
+
AfterExternBlock: false
|
|
33
|
+
BeforeCatch: false
|
|
34
|
+
BeforeElse: false
|
|
35
|
+
IndentBraces: false
|
|
36
|
+
SplitEmptyFunction: true
|
|
37
|
+
SplitEmptyRecord: true
|
|
38
|
+
SplitEmptyNamespace: true
|
|
39
|
+
BreakBeforeBinaryOperators: None
|
|
40
|
+
BreakBeforeBraces: Attach
|
|
41
|
+
BreakBeforeInheritanceComma: false
|
|
42
|
+
BreakBeforeTernaryOperators: true
|
|
43
|
+
BreakConstructorInitializersBeforeComma: false
|
|
44
|
+
BreakConstructorInitializers: BeforeColon
|
|
45
|
+
BreakAfterJavaFieldAnnotations: false
|
|
46
|
+
BreakStringLiterals: true
|
|
47
|
+
ColumnLimit: 120
|
|
48
|
+
CommentPragmas: '^ IWYU pragma:'
|
|
49
|
+
CompactNamespaces: false
|
|
50
|
+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
51
|
+
ConstructorInitializerIndentWidth: 4
|
|
52
|
+
ContinuationIndentWidth: 4
|
|
53
|
+
Cpp11BracedListStyle: true
|
|
54
|
+
DerivePointerAlignment: false
|
|
55
|
+
DisableFormat: false
|
|
56
|
+
ExperimentalAutoDetectBinPacking: false
|
|
57
|
+
FixNamespaceComments: true
|
|
58
|
+
ForEachMacros:
|
|
59
|
+
- foreach
|
|
60
|
+
- Q_FOREACH
|
|
61
|
+
- BOOST_FOREACH
|
|
62
|
+
IncludeBlocks: Preserve
|
|
63
|
+
IncludeCategories:
|
|
64
|
+
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
|
65
|
+
Priority: 2
|
|
66
|
+
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
|
|
67
|
+
Priority: 3
|
|
68
|
+
- Regex: '.*'
|
|
69
|
+
Priority: 1
|
|
70
|
+
IncludeIsMainRegex: '(Test)?$'
|
|
71
|
+
IndentCaseLabels: false
|
|
72
|
+
IndentPPDirectives: None
|
|
73
|
+
IndentWidth: 2
|
|
74
|
+
IndentWrappedFunctionNames: false
|
|
75
|
+
JavaScriptQuotes: Leave
|
|
76
|
+
JavaScriptWrapImports: true
|
|
77
|
+
KeepEmptyLinesAtTheStartOfBlocks: true
|
|
78
|
+
MacroBlockBegin: ''
|
|
79
|
+
MacroBlockEnd: ''
|
|
80
|
+
MaxEmptyLinesToKeep: 1
|
|
81
|
+
NamespaceIndentation: None
|
|
82
|
+
ObjCBlockIndentWidth: 2
|
|
83
|
+
ObjCSpaceAfterProperty: false
|
|
84
|
+
ObjCSpaceBeforeProtocolList: true
|
|
85
|
+
PenaltyBreakAssignment: 2
|
|
86
|
+
PenaltyBreakBeforeFirstCallParameter: 19
|
|
87
|
+
PenaltyBreakComment: 300
|
|
88
|
+
PenaltyBreakFirstLessLess: 120
|
|
89
|
+
PenaltyBreakString: 1000
|
|
90
|
+
PenaltyExcessCharacter: 1000000
|
|
91
|
+
PenaltyReturnTypeOnItsOwnLine: 60
|
|
92
|
+
PointerAlignment: Right
|
|
93
|
+
RawStringFormats:
|
|
94
|
+
- Delimiters:
|
|
95
|
+
- pb
|
|
96
|
+
Language: TextProto
|
|
97
|
+
BasedOnStyle: Google
|
|
98
|
+
ReflowComments: true
|
|
99
|
+
SortIncludes: true
|
|
100
|
+
SortUsingDeclarations: true
|
|
101
|
+
SpaceAfterCStyleCast: false
|
|
102
|
+
SpaceAfterTemplateKeyword: true
|
|
103
|
+
SpaceBeforeAssignmentOperators: true
|
|
104
|
+
SpaceBeforeParens: ControlStatements
|
|
105
|
+
SpaceInEmptyParentheses: false
|
|
106
|
+
SpacesBeforeTrailingComments: 1
|
|
107
|
+
SpacesInAngles: false
|
|
108
|
+
SpacesInContainerLiterals: false
|
|
109
|
+
SpacesInCStyleCastParentheses: false
|
|
110
|
+
SpacesInParentheses: false
|
|
111
|
+
SpacesInSquareBrackets: false
|
|
112
|
+
Standard: Cpp11
|
|
113
|
+
TabWidth: 8
|
|
114
|
+
UseTab: Never
|
|
115
|
+
---
|
|
116
|
+
|
package/Makefile
CHANGED
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
NAME := $(shell sed -ne 's/.*"name": "\([^"]*\)".*/\1/p' package.json)
|
|
4
4
|
VERSION := $(shell sed -ne 's/.*"version": "\([^"]*\)".*/\1/p' package.json)
|
|
5
5
|
GIT_COMMIT = $(shell hash=`git rev-parse --short HEAD 2>/dev/null`; if test -n "$$hash"; then echo $$hash`git diff --quiet || echo -dirty`; else cat git-revision.txt; fi)
|
|
6
|
-
PR_TARGET_REPO =
|
|
6
|
+
PR_TARGET_REPO = https://github.com/Agoric/agoric-sdk.git
|
|
7
7
|
# TODO: figure out how to handle other branches like pismo-release
|
|
8
8
|
PR_TARGET_BRANCH = master
|
|
9
|
+
DOCKER := $(shell which docker)
|
|
9
10
|
|
|
10
11
|
default: all
|
|
11
12
|
|
|
@@ -90,22 +91,38 @@ endif
|
|
|
90
91
|
### Protobuf ###
|
|
91
92
|
###############################################################################
|
|
92
93
|
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
protoVer=0.15.3
|
|
95
|
+
protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer)
|
|
96
|
+
protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName)
|
|
95
97
|
|
|
96
|
-
proto-
|
|
97
|
-
${BIN}/buf lint
|
|
98
|
+
proto-all: proto-format proto-lint proto-gen
|
|
98
99
|
|
|
99
|
-
proto-
|
|
100
|
-
|
|
100
|
+
proto-gen:
|
|
101
|
+
@echo "Generating Protobuf files"
|
|
102
|
+
@$(protoImage) sh ./scripts/protocgen.sh
|
|
101
103
|
|
|
102
|
-
|
|
104
|
+
proto-format:
|
|
105
|
+
@$(protoImage) find ./proto -name "*.proto" -exec clang-format -i {} \;
|
|
106
|
+
|
|
107
|
+
proto-lint:
|
|
108
|
+
@$(protoImage) buf lint --error-format=json ./proto
|
|
109
|
+
|
|
110
|
+
proto-check-breaking:
|
|
111
|
+
@$(protoImage) buf breaking --against $(PR_TARGET_REPO)#branch=$(PR_TARGET_BRANCH),subdir=golang/cosmos
|
|
112
|
+
|
|
113
|
+
GOGO_PROTO_URL = file://$(shell go list -m -f '{{ .Dir }}' github.com/cosmos/gogoproto)
|
|
103
114
|
# GOOGLE_API_URL = file://$(shell go list -m -f '{{ .Dir }}' github.com/googleapis/googleapis)/google/api
|
|
104
|
-
IBC_PROTO_URL = file://$(shell go list -m -f '{{ .Dir }}' github.com/cosmos/ibc-go/
|
|
115
|
+
IBC_PROTO_URL = file://$(shell go list -m -f '{{ .Dir }}' github.com/cosmos/ibc-go/v7)/proto/ibc/core
|
|
105
116
|
COSMOS_PROTO_PROTO_URL = file://$(shell go list -m -f '{{ .Dir }}' github.com/cosmos/cosmos-proto)/proto/cosmos_proto
|
|
106
117
|
COSMOS_SDK_PROTO_URL = file://$(shell go list -m -f '{{ .Dir }}' github.com/cosmos/cosmos-sdk)/proto/cosmos
|
|
118
|
+
COSMOS_SDK_AMINO_URL = file://$(shell go list -m -f '{{ .Dir }}' github.com/cosmos/cosmos-sdk)/proto/amino
|
|
119
|
+
|
|
120
|
+
# Needed for cosmic-proto.
|
|
121
|
+
COSMOS_ICS23_URL = https://buf.build/cosmos/ics23/raw/main/-/cosmos/ics23/v1
|
|
107
122
|
|
|
108
123
|
COSMOS_PROTO_TYPES = third_party/proto/cosmos_proto
|
|
124
|
+
COSMOS_ICS23_TYPES = third_party/proto/cosmos/ics23/v1
|
|
125
|
+
COSMOS_SDK_AMINO_TYPES = third_party/proto/amino
|
|
109
126
|
GOGO_PROTO_TYPES = third_party/proto/gogoproto
|
|
110
127
|
GOOGLE_API_TYPES = third_party/proto/google/api
|
|
111
128
|
GOOGLE_PROTO_TYPES = third_party/proto/google/protobuf
|
|
@@ -114,12 +131,17 @@ IBC_CLIENT_TYPES = third_party/proto/ibc/core/client/v1
|
|
|
114
131
|
SDK_BASE_TYPES = third_party/proto/cosmos/base/v1beta1
|
|
115
132
|
SDK_QUERY_TYPES = third_party/proto/cosmos/base/query/v1beta1
|
|
116
133
|
SDK_UPGRADE_TYPES = third_party/proto/cosmos/upgrade/v1beta1
|
|
134
|
+
SDK_MSG_TYPES = third_party/proto/cosmos/msg/v1
|
|
117
135
|
|
|
118
136
|
proto-update-deps:
|
|
119
137
|
mkdir -p $(COSMOS_PROTO_TYPES)
|
|
120
138
|
url="$(COSMOS_PROTO_PROTO_URL)"; \
|
|
121
139
|
curl -sSL $$url/cosmos.proto > $(COSMOS_PROTO_TYPES)/cosmos.proto
|
|
122
140
|
|
|
141
|
+
mkdir -p $(COSMOS_ICS23_TYPES)
|
|
142
|
+
url="$(COSMOS_ICS23_URL)"; \
|
|
143
|
+
curl -sSL $$url/proofs.proto > $(COSMOS_ICS23_TYPES)/proofs.proto
|
|
144
|
+
|
|
123
145
|
mkdir -p $(GOGO_PROTO_TYPES)
|
|
124
146
|
url="$(GOGO_PROTO_URL)"; \
|
|
125
147
|
curl -sSL $$url/gogoproto/gogo.proto > $(GOGO_PROTO_TYPES)/gogo.proto
|
|
@@ -147,66 +169,15 @@ proto-update-deps:
|
|
|
147
169
|
mkdir -p $(SDK_QUERY_TYPES) && \
|
|
148
170
|
curl -sSL $$url/base/query/v1beta1/pagination.proto > $(SDK_QUERY_TYPES)/pagination.proto && \
|
|
149
171
|
mkdir -p $(SDK_UPGRADE_TYPES) && \
|
|
150
|
-
curl -sSL $$url/upgrade/v1beta1/upgrade.proto > $(SDK_UPGRADE_TYPES)/upgrade.proto
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
UNAME_M ?= $(shell uname -m)
|
|
154
|
-
|
|
155
|
-
BUF_VERSION ?= 1.0.0
|
|
156
|
-
|
|
157
|
-
PROTOC_VERSION ?= 3.11.2
|
|
158
|
-
ifeq ($(UNAME_S),Linux)
|
|
159
|
-
ifeq ($(UNAME_M),aarch64)
|
|
160
|
-
PROTOC_ZIP ?= protoc-${PROTOC_VERSION}-linux-aarch_64.zip
|
|
161
|
-
else
|
|
162
|
-
PROTOC_ZIP ?= protoc-${PROTOC_VERSION}-linux-x86_64.zip
|
|
163
|
-
endif
|
|
164
|
-
endif
|
|
165
|
-
ifeq ($(UNAME_S),Darwin)
|
|
166
|
-
PROTOC_ZIP ?= protoc-${PROTOC_VERSION}-osx-x86_64.zip
|
|
167
|
-
endif
|
|
168
|
-
|
|
169
|
-
proto-tools: proto-tools-stamp buf grpc-gateway-stamp
|
|
170
|
-
|
|
171
|
-
proto-tools-stamp:
|
|
172
|
-
echo "Installing protoc compiler..."
|
|
173
|
-
mkdir -p "${BIN}"
|
|
174
|
-
(cd /tmp; \
|
|
175
|
-
curl -OL "https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/${PROTOC_ZIP}"; \
|
|
176
|
-
unzip -o ${PROTOC_ZIP} -d "${BIN}/.." bin/protoc 'include/*'; \
|
|
177
|
-
rm -f ${PROTOC_ZIP})
|
|
178
|
-
|
|
179
|
-
echo "Installing protoc-gen-gocosmos..."
|
|
180
|
-
go install github.com/regen-network/cosmos-proto/protoc-gen-gocosmos
|
|
181
|
-
|
|
182
|
-
# Create dummy file to satisfy dependency and avoid
|
|
183
|
-
# rebuilding when this Makefile target is hit twice
|
|
184
|
-
# in a row
|
|
185
|
-
touch $@
|
|
186
|
-
|
|
187
|
-
buf: buf-stamp
|
|
188
|
-
|
|
189
|
-
buf-stamp:
|
|
190
|
-
echo "Installing buf..."
|
|
191
|
-
curl -sSL \
|
|
192
|
-
"https://github.com/bufbuild/buf/releases/download/v${BUF_VERSION}/buf-${UNAME_S}-${UNAME_M}" \
|
|
193
|
-
-o "${BIN}/buf" && \
|
|
194
|
-
chmod +x "${BIN}/buf"
|
|
195
|
-
|
|
196
|
-
touch $@
|
|
197
|
-
|
|
198
|
-
GATEWAY_PKGS = \
|
|
199
|
-
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway \
|
|
200
|
-
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger \
|
|
201
|
-
google.golang.org/protobuf/cmd/protoc-gen-go
|
|
202
|
-
|
|
203
|
-
grpc-gateway-stamp:
|
|
204
|
-
go install $(GATEWAY_PKGS)
|
|
205
|
-
touch $@
|
|
172
|
+
curl -sSL $$url/upgrade/v1beta1/upgrade.proto > $(SDK_UPGRADE_TYPES)/upgrade.proto && \
|
|
173
|
+
mkdir -p $(SDK_MSG_TYPES) && \
|
|
174
|
+
curl -sSL $$url/msg/v1/msg.proto > $(SDK_MSG_TYPES)/msg.proto
|
|
206
175
|
|
|
207
|
-
|
|
208
|
-
|
|
176
|
+
url="$(COSMOS_SDK_AMINO_URL)"; \
|
|
177
|
+
mkdir -p $(COSMOS_SDK_AMINO_TYPES) && \
|
|
178
|
+
curl -sSL $$url/amino.proto > $(COSMOS_SDK_AMINO_TYPES)/amino.proto
|
|
209
179
|
|
|
180
|
+
.PHONY: proto-all proto-format proto-lint proto-gen proto-check-breaking proto-update-deps
|
|
210
181
|
|
|
211
182
|
lint:
|
|
212
183
|
golangci-lint run
|
package/ante/ante.go
CHANGED
|
@@ -5,8 +5,8 @@ import (
|
|
|
5
5
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
6
6
|
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
|
|
7
7
|
"github.com/cosmos/cosmos-sdk/x/auth/ante"
|
|
8
|
-
ibcante "github.com/cosmos/ibc-go/
|
|
9
|
-
ibckeeper "github.com/cosmos/ibc-go/
|
|
8
|
+
ibcante "github.com/cosmos/ibc-go/v7/modules/core/ante"
|
|
9
|
+
ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper"
|
|
10
10
|
)
|
|
11
11
|
|
|
12
12
|
// HandlerOptions extend the SDK's AnteHandler options by requiring the IBC
|
package/ante/inbound_test.go
CHANGED
|
@@ -12,7 +12,7 @@ import (
|
|
|
12
12
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
13
13
|
"github.com/cosmos/cosmos-sdk/types/tx"
|
|
14
14
|
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
|
15
|
-
"github.com/
|
|
15
|
+
"github.com/cosmos/gogoproto/proto"
|
|
16
16
|
)
|
|
17
17
|
|
|
18
18
|
func TestInboundAnteHandle(t *testing.T) {
|