From 393b4930dc6667bb98a18406e3c44ce0549d2ce8 Mon Sep 17 00:00:00 2001 From: Daniel Wedul Date: Thu, 11 Jul 2024 13:45:19 -0600 Subject: [PATCH] Put the wasm dir back in wasm/wasm. (#2071) (#2078) * Put the wasm dir back in wasm/wasm. * Add changelog entry. Co-authored-by: Ira Miller <72319+iramiller@users.noreply.github.com> --- CHANGELOG.md | 4 ++++ app/app.go | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea25f910a..b9ba14f59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,6 +47,10 @@ Ref: https://keepachangelog.com/en/1.0.0/ * Update all the proto links in the spec docs to point to `v1.19.0` versions of the proto files [#2068](https://github.com/provenance-io/provenance/pull/2068). * Add the (empty) `umber-rc2` upgrade [#2069](https://github.com/provenance-io/provenance/pull/2069). +### Bug Fixes + +* Put the location of the wasm directory back to where it is in previous versions: data/wasm/wasm [#2071](https://github.com/provenance-io/provenance/pull/2071). + ### Dependencies - Bump `github.com/hashicorp/go-getter` from 1.7.4 to 1.7.5 ([#2057](https://github.com/provenance-io/provenance/pull/2057)) diff --git a/app/app.go b/app/app.go index 45b753fcc..73dfcabab 100644 --- a/app/app.go +++ b/app/app.go @@ -620,7 +620,7 @@ func New( icqIBCModule := icq.NewIBCModule(app.ICQKeeper) // Init CosmWasm module - wasmDir := filepath.Join(homePath, "data") + wasmDir := filepath.Join(homePath, "data", "wasm") wasmWrap := WasmWrapper{Wasm: wasmtypes.DefaultWasmConfig()} err = viper.Unmarshal(&wasmWrap)