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

make test fails #11

Open
rootulp opened this issue Dec 3, 2024 · 0 comments · May be fixed by #26
Open

make test fails #11

rootulp opened this issue Dec 3, 2024 · 0 comments · May be fixed by #26
Assignees

Comments

@rootulp
Copy link
Contributor

rootulp commented Dec 3, 2024

e80f8c7

$ make test
--> Running tests
m?   	github.com/celestiaorg/celestia-zkevm-ibc-demo/simapp	[no test files]
?   	github.com/celestiaorg/celestia-zkevm-ibc-demo/simapp/params	[no test files]
?   	github.com/celestiaorg/celestia-zkevm-ibc-demo/simapp/simd	[no test files]
?   	github.com/celestiaorg/celestia-zkevm-ibc-demo/simapp/upgrades	[no test files]
?   	github.com/celestiaorg/celestia-zkevm-ibc-demo/testing/demo	[no test files]
?   	github.com/celestiaorg/celestia-zkevm-ibc-demo/testing/demo/pkg	[no test files]
?   	github.com/celestiaorg/celestia-zkevm-ibc-demo/x/header	[no test files]
Seed: 571856eba4bc0111
WARNING: proto: file name proto/groth16/v1/groth16.proto does not start with expected celestia/ibc/lightclients/groth16/v1/; please make sure your folder structure matches the proto files fully-qualified names
clientID:  07-tendermint-0
07-tendermint-0 ClientID
--- FAIL: TestGroth16TestSuite (3.33s)
    --- FAIL: TestGroth16TestSuite/TestVerifyMembership (0.12s)
        store.go:102: test panicked: cannot convert *tendermint.ClientState into *groth16.ClientState
            goroutine 34818 [running]:
            runtime/debug.Stack()
            	/opt/homebrew/Cellar/go/1.23.3/libexec/src/runtime/debug/stack.go:26 +0x64
            github.com/stretchr/testify/suite.failOnPanic(0x1400070d040, {0x103c37ae0, 0x14001850240})
            	/Users/rootulp/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:89 +0x38
            github.com/stretchr/testify/suite.Run.func1.1()
            	/Users/rootulp/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:188 +0x230
            panic({0x103c37ae0?, 0x14001850240?})
            	/opt/homebrew/Cellar/go/1.23.3/libexec/src/runtime/panic.go:785 +0x124
            github.com/celestiaorg/celestia-zkevm-ibc-demo/ibc/lightclients/groth16.getClientState({0x1041bf3a0, 0x140022201b0}, {0x1041c2dc0, 0x14001db4da0})
            	/Users/rootulp/git/rootulp/celestiaorg/celestia-zkevm-ibc-demo/ibc/lightclients/groth16/store.go:102 +0x120
            github.com/celestiaorg/celestia-zkevm-ibc-demo/ibc/lightclients/groth16.LightClientModule.VerifyMembership({{0x1041c2dc0, 0x14001db4da0}, {{0x104175c60, 0x14000425140}}, {{0x0, 0x0}, {0x0, 0x0}}}, {0x1041a99a8, 0x14001791188}, ...)
            	/Users/rootulp/git/rootulp/celestiaorg/celestia-zkevm-ibc-demo/ibc/lightclients/groth16/light_client_module.go:103 +0x90
            github.com/celestiaorg/celestia-zkevm-ibc-demo/ibc/lightclients/groth16_test.(*Groth16TestSuite).TestVerifyMembership(0x14001150d88)
            	/Users/rootulp/git/rootulp/celestiaorg/celestia-zkevm-ibc-demo/ibc/lightclients/groth16/light_client_module_test.go:286 +0x62c
            reflect.Value.call({0x140011671c0?, 0x14000425eb8?, 0x0?}, {0x102d7bfa3, 0x4}, {0x14001667f20, 0x1, 0x101f8c4e0?})
            	/opt/homebrew/Cellar/go/1.23.3/libexec/src/reflect/value.go:581 +0x97c
            reflect.Value.Call({0x140011671c0?, 0x14000425eb8?, 0x604?}, {0x14001667f20?, 0x10540a3f0?, 0x105d6bc40?})
            	/opt/homebrew/Cellar/go/1.23.3/libexec/src/reflect/value.go:365 +0x94
            github.com/stretchr/testify/suite.Run.func1(0x1400070d040)
            	/Users/rootulp/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:202 +0x390
            testing.tRunner(0x1400070d040, 0x14000b817a0)
            	/opt/homebrew/Cellar/go/1.23.3/libexec/src/testing/testing.go:1690 +0xe4
            created by testing.(*T).Run in goroutine 9
            	/opt/homebrew/Cellar/go/1.23.3/libexec/src/testing/testing.go:1743 +0x314
    --- FAIL: TestGroth16TestSuite/TestVerifyUpgrade (0.20s)
        upgrade_test.go:519:
            	Error Trace:	/Users/rootulp/git/rootulp/celestiaorg/celestia-zkevm-ibc-demo/ibc/lightclients/groth16/upgrade_test.go:519
            	Error:      	Error "client state proof failed. Path: [upgrade upgradedIBCState/7/upgradedClient]: failed to verify membership proof at index 0: provided key doesn't match proof: invalid proof" does not contain "invalid client upgrade"
            	Test:       	TestGroth16TestSuite/TestVerifyUpgrade
            	Messages:   	verify upgrade passed on invalid case: unsuccessful upgrade: upgrade height revision height is more than the current client revision height
FAIL
FAIL	github.com/celestiaorg/celestia-zkevm-ibc-demo/ibc/lightclients/groth16	4.322s
ok  	github.com/celestiaorg/celestia-zkevm-ibc-demo/ibc/mpt	1.262s
ok  	github.com/celestiaorg/celestia-zkevm-ibc-demo/simapp/simd/cmd	1.441s
FAIL
make: *** [test] Error 1
@rootulp rootulp linked a pull request Dec 11, 2024 that will close this issue
@rootulp rootulp self-assigned this Dec 11, 2024
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

Successfully merging a pull request may close this issue.

1 participant