diff --git a/x/wasm/keeper/wasmtesting/store.go b/x/wasm/keeper/wasmtesting/store.go index 2cb9a6de6f..cb0cab86b0 100644 --- a/x/wasm/keeper/wasmtesting/store.go +++ b/x/wasm/keeper/wasmtesting/store.go @@ -23,3 +23,7 @@ type mockCMS struct { func (m *mockCMS) Write() { *m.committed = true } + +func (m *mockCMS) RunAtomic(cb func(storetypes.CacheMultiStore) error) error { + return cb(m.CacheMultiStore()) +}