-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to relay packets with error (serde parse error: missing field data) #2444
Comments
Looks like the data returned by the As far as I can tell, we do not use the value of these two fields, so we could make them optional. Injective
{
"jsonrpc": "2.0",
"id": -1,
"result": {
"response": {
"last_block_height": "13111281",
"last_block_app_hash": "nf/g23bemW4IAgz53DqCliUivcra12DFw/I60URaIcA="
}
}
} Cosmos Hub
{
"jsonrpc": "2.0",
"id": -1,
"result": {
"response": {
"data": "GaiaApp",
"version": "v7.0.0",
"last_block_height": "11338424",
"last_block_app_hash": "FvCOSo05Doi2fuLkp66s79cm4a336Lti3pTylto/O6k="
}
}
} |
@romac we looked into it and had to add this from MakeFile so should be fixed in production too on our end soon, it might be a good idea to make them optional though since it's a manual process that has to be done. |
Good to hear, thanks! We will indeed look into making those optional on our end. |
This looks similar to informalsystems/tendermint-rs#1132. I will backport informalsystems/tendermint-rs#1131 to tendermint-rs 0.23. |
Is it possible to provide further details here on what you changed to your Makefile, in case others encounter the same problem? Many thanks! |
@adizere sure. These two lines did the trick
|
@achilleas-kal would you consider quickly running Hermes from #2465 to see if this issue is still causing problems in production? The upgrade to the newer tendermint-rs lib should have fixed it. |
@adizere happy to but we're using kubernetes and we build docker images from the hermes repository so I can't exactly build from source. Could you push a docker image with the fix? If I get an image i.e. |
This does not change |
Since @mzabaluev added test fixtures to tendermint-rs for the case where the version and/or data are missing, I think we can go ahead and close this issue. I'll include a changelog entry in the v1.0.0-rc.1 release PR. |
* Bump Hermes to v1.0.0-rc.1 * Bump crates to 0.17.0 and ibc-proto to 0.19.1 * Add changelog entry for #2444 * Release changelog for Hermes v1.0.0-rc.1 * Update changelog * Update upgrading instructions * Move a changelog entry to the proper section * Update changelog after rebase * Highlight breaking change in Hermes config
@mzabaluev Looks like @achilleas-kal didn't include the other relevant variables for the version flags (he only included our commit diff). Here's the portion for the relevant LDFLAGS from our Makefile GIT_COMMIT = $(shell git rev-parse --short HEAD)
COSMOS_VERSION_PKG = github.com/cosmos/cosmos-sdk/version
COSMOS_VERSION_NAME = injective
# process build tags
build_tags = netgo
ifeq ($(LEDGER_ENABLED),true)
ifeq ($(OS),Windows_NT)
GCCEXE = $(shell where gcc.exe 2> NUL)
ifeq ($(GCCEXE),)
$(error gcc.exe not installed for ledger support, please install or set LEDGER_ENABLED=false)
else
build_tags += ledger
endif
else
UNAME_S = $(shell uname -s)
ifeq ($(UNAME_S),OpenBSD)
$(warning OpenBSD detected, disabling ledger support (https://github.com/cosmos/cosmos-sdk/issues/1988))
else
GCC = $(shell command -v gcc 2> /dev/null)
ifeq ($(GCC),)
$(error gcc not installed for ledger support, please install or set LEDGER_ENABLED=false)
else
build_tags += ledger
endif
endif
endif
endif
ifeq ($(WITH_CLEVELDB),yes)
build_tags += gcc
endif
build_tags += $(BUILD_TAGS)
build_tags := $(strip $(build_tags))
whitespace :=
empty = $(whitespace) $(whitespace)
comma := ,
build_tags_comma_sep := $(subst $(empty),$(comma),$(build_tags))
install: export GOPROXY=direct
install: export VERSION_FLAGS="-X $(COSMOS_VERSION_PKG).Version=$(APP_VERSION) -X $(COSMOS_VERSION_PKG).Name=$(COSMOS_VERSION_NAME) -X $(COSMOS_VERSION_PKG).AppName=injectived -X $(COSMOS_VERSION_PKG).Commit=$(GIT_COMMIT)"
install:
cd cmd/injectived/ && go install -tags $(build_tags_comma_sep) -ldflags $(VERSION_FLAGS) |
* Bump Hermes to v1.0.0-rc.1 * Bump crates to 0.17.0 and ibc-proto to 0.19.1 * Add changelog entry for informalsystems#2444 * Release changelog for Hermes v1.0.0-rc.1 * Update changelog * Update upgrading instructions * Move a changelog entry to the proper section * Update changelog after rebase * Highlight breaking change in Hermes config
Summary of Bug
Hermes v0.15 won't relay packets on Injective Chain (ibc-go v3.1) with the error below. Downgrading to hermes v0.13 fixed the issue.
Steps to Reproduce
This started happening upon a chain upgrade on Injective, the only change that could be related to IBC transfers was an upgrade from ibc-go v2 to ibc-go v3.1.
For Admin Use
The text was updated successfully, but these errors were encountered: