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

🐛 Cannot Update TallyVM #385

Closed
gluax opened this issue Oct 17, 2024 · 1 comment
Closed

🐛 Cannot Update TallyVM #385

gluax opened this issue Oct 17, 2024 · 1 comment
Labels
type: bug 🐛 Something isn't working

Comments

@gluax
Copy link
Contributor

gluax commented Oct 17, 2024

🐛 Bug Report

The tallyVM cannot be updated, if it updates wasmer, at least on x86.

Steps to Reproduce

On an x86 machine:
go get github.com/sedaprotocol/seda-wasm-vm/[email protected]
make unit-test

Code snippet to reproduce

N/A

Stack trace & error message

--- FAIL: TestExecuteTally (0.18s)
    abci_test.go:237: 
                Error Trace:    /home/gluax/seda/seda-chain/x/tally/keeper/integration_test.go:233
                                                        /home/gluax/seda/seda-chain/x/tally/keeper/abci_test.go:237
                Error:          Received unexpected error:
                            
                                github.com/CosmWasm/wasmd/x/wasm/keeper.Keeper.instantiate
                                        /home/gluax/go/pkg/mod/github.com/!cosm!wasm/[email protected]/x/wasm/keeper/keeper.go:323
                                github.com/CosmWasm/wasmd/x/wasm/keeper.PermissionedKeeper.Instantiate
                                        /home/gluax/go/pkg/mod/github.com/!cosm!wasm/[email protected]/x/wasm/keeper/contract_keeper.go:69
                                github.com/sedaprotocol/seda-chain/x/tally/keeper_test.initFixture
                                        /home/gluax/seda/seda-chain/x/tally/keeper/integration_test.go:232
                                github.com/sedaprotocol/seda-chain/x/tally/keeper_test.TestExecuteTally
                                        /home/gluax/seda/seda-chain/x/tally/keeper/abci_test.go:237
                                Error calling the VM: Error executing Wasm: Wasmer runtime error: RuntimeError: unreachable: instantiate wasm contract failed
                Test:           TestExecuteTally
--- FAIL: TestEndBlock (0.11s)
    abci_test.go:413: 
                Error Trace:    /home/gluax/seda/seda-chain/x/tally/keeper/integration_test.go:233
                                                        /home/gluax/seda/seda-chain/x/tally/keeper/abci_test.go:413
                Error:          Received unexpected error:
                            
                                github.com/CosmWasm/wasmd/x/wasm/keeper.Keeper.instantiate
                                        /home/gluax/go/pkg/mod/github.com/!cosm!wasm/[email protected]/x/wasm/keeper/keeper.go:323
                                github.com/CosmWasm/wasmd/x/wasm/keeper.PermissionedKeeper.Instantiate
                                        /home/gluax/go/pkg/mod/github.com/!cosm!wasm/[email protected]/x/wasm/keeper/contract_keeper.go:69
                                github.com/sedaprotocol/seda-chain/x/tally/keeper_test.initFixture
                                        /home/gluax/seda/seda-chain/x/tally/keeper/integration_test.go:232
                                github.com/sedaprotocol/seda-chain/x/tally/keeper_test.TestEndBlock
                                        /home/gluax/seda/seda-chain/x/tally/keeper/abci_test.go:413
                                Error calling the VM: Error executing Wasm: Wasmer runtime error: RuntimeError: unreachable: instantiate wasm contract failed
                Test:           TestEndBlock

Expected Behavior

Contract instantiation should work.

@gluax
Copy link
Contributor Author

gluax commented Oct 29, 2024

Was fixed by #398.

@gluax gluax closed this as completed Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant