Skip to content

FAIL: TestCheckHeaderAndUpdateState #34

@boern

Description

@boern
→ 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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions