Skip to content
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

FAIL: TestCheckHeaderAndUpdateState #34

Open
boern opened this issue Nov 15, 2022 · 0 comments
Open

FAIL: TestCheckHeaderAndUpdateState #34

boern opened this issue Nov 15, 2022 · 0 comments

Comments

@boern
Copy link

boern commented Nov 15, 2022

→ types ±|main|$ go test -test.timeout=0 -run TestCheckHeaderAndUpdateState -v
=== RUN   TestCheckHeaderAndUpdateState
    update_test.go:46: ==== RPC_CLIENT_ADDRESS not set, will use default ====
2022/11/15 14:35:02 Connecting to ws://127.0.0.1:9944...
    update_test.go:53: ==== connected! ====
    update_test.go:73: ====== subcribed! ======
    update_test.go:144: Initializing client state
    update_test.go:148: Recieved Commitment #1
EROR[11-15|14:36:04] failed to calculate root for mmr leaf []
    update_test.go:351:
        	Error Trace:	/home/boern/workspace/composable/ibc-go/modules/light-clients/11-beefy/types/update_test.go:351
        	Error:      	Received unexpected error:

        	            	github.com/cosmos/ibc-go/v5/modules/light-clients/11-beefy/types.(*ClientState).verifyHeader
        	            		/home/boern/workspace/composable/ibc-go/modules/light-clients/11-beefy/types/update.go:172
        	            	github.com/cosmos/ibc-go/v5/modules/light-clients/11-beefy/types.(*ClientState).VerifyClientMessage
        	            		/home/boern/workspace/composable/ibc-go/modules/light-clients/11-beefy/types/update.go:29
        	            	github.com/cosmos/ibc-go/v5/modules/light-clients/11-beefy/types_test.TestCheckHeaderAndUpdateState
        	            		/home/boern/workspace/composable/ibc-go/modules/light-clients/11-beefy/types/update_test.go:350
        	            	failed to encode MMR leaf: corrupted proof: proof items is not enough to build a tree
        	Test:       	TestCheckHeaderAndUpdateState
--- FAIL: TestCheckHeaderAndUpdateState (62.29s)
FAIL
exit status 1
FAIL	github.com/cosmos/ibc-go/v5/modules/light-clients/11-beefy/types	62.331s

I executed the test as described in the README, but it failed.
The 11-beefy light client is still in development ? and it can be used in cosmos appchain ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant