ignite / cli

Ignite is a CLI tool and hub designed for constructing Proof of Stake Blockchains rooted in Cosmos-SDK
https://ignite.com
Other
1.26k stars 549 forks source link

Build error after adding wasm module using ignite CLI #4394

Closed ramiqadoumi closed 3 weeks ago

ramiqadoumi commented 3 weeks ago

After adding the Wasm module using the Ignite CLI and successfully building the chain on my local machine, I encountered an error when attempting to build the chain in a demo environment : # github.com/CosmWasm/wasmd/x/wasm/keeper ../go/pkg/mod/github.com/!cosm!wasm/wasmd@v0.51.0/x/wasm/keeper/test_common.go:386:3: cannot use runtime.NewKVStoreService(keys[types.StoreKey]) (value of type "cosmossdk.io/core/store".KVStoreService) as "cosmossdk.io/store/types".StoreKey value in argument to NewKeeper: "cosmossdk.io/core/store".KVStoreService does not implement "cosmossdk.io/store/types".StoreKey (missing method Name) ../go/pkg/mod/github.com/!cosm!wasm/wasmd@v0.51.0/x/wasm/keeper/test_common.go:400:3: cannot use availableCapabilities (variable of type []string) as string value in argument to NewKeeper

when I try to add wasm module using ignite I got this error : [ERROR] app github.com/ignite/apps/wasm: error encountered while scanning stdout: error="read |0: file already closed"

Ignite cli version v28.5.3. Cosmos SDK version v0.50.10. wasm module version v0.51.0. Go version go1.22.3 linux/amd64. The go and ignite versions are identical on both the local and demo environments. Any insights into resolving this build issue would be appreciated. Thank you