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

Error "duplicate key: CA8D: duplicate" in TestGenesisExportImport #2014

Open
webmaster128 opened this issue Oct 23, 2024 · 0 comments
Open

Comments

@webmaster128
Copy link
Member

When running the wasmd tests in a loop (current main) with

while go test -count=1 ./... ; do :; done

I just got this error

--- FAIL: TestGenesisExportImport (0.23s)
    store.go:206: <nil> DBG loadVersion ver=0
    store.go:244: <nil> DBG loadVersion commitID hash= key="KVStoreKey{0x140011d67c0, wasm}" ver=0
    store.go:63: <nil> INF Upgrading IAVL storage for faster queries + execution on live state. This may take a while commit=436F6D6D697449447B5B5D3A307D store_key="KVStoreKey{0x140011d67c0, wasm}" version=0
    store.go:77: <nil> DBG Finished loading IAVL tree
    genesis_test.go:90: 
                Error Trace:    /CosmWasm/wasmd/x/wasm/keeper/genesis_test.go:90
                Error:          Received unexpected error:
                            
                                github.com/CosmWasm/wasmd/x/wasm/keeper.Keeper.importContractState
                                        /CosmWasm/wasmd/x/wasm/keeper/keeper.go:1053
                                github.com/CosmWasm/wasmd/x/wasm/keeper.TestGenesisExportImport
                                        /CosmWasm/wasmd/x/wasm/keeper/genesis_test.go:89
                                duplicate key: CA8D: duplicate
                Test:           TestGenesisExportImport
FAIL
FAIL    github.com/CosmWasm/wasmd/x/wasm/keeper 9.101s
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