Skip to content

Commit

Permalink
feat!: add cosmwasmAPIGenerator to keeper (#41)
Browse files Browse the repository at this point in the history
* fix: remove pluskeeper

* fix: add field of CosmwasmAPIGenerator

To be able to decide which API the methods of CosmwasmAPIGenerator will use

* perf: define functions and variables to be exposed

* test: revert test of dynamiclink and api

* fix: revert event attributes

* fix: delete unnecessary assertExecuteResponse

* feat: add govKeeper

To be used when adding contract to inactive

* test: add tests for callcallablepoint
and validateInterface in inactive contract

* refactor: fix to use the wasmAPI defined in x/wasm

* fix: fix to use GetCosmwasmAPIGenerator

* fix: fix to use SetCosmwasmAPIGenerator

* fix: gofmt

* fix: reflect golangci-lint

* refactor: functions and variables created for x/wasmplus was used, so it has been revised and deleted

* docs: add CHANGELOG

* fix: reflect comment

remove unnecessary variables

* fix: reflect comment

NewWasmStore is needed as the default function of dynamic link,
so it was moved to the wasm directory and changed so that it does not depend on wasmplus.

* fix: reflect comment

add description
  • Loading branch information
da1suk8 authored May 8, 2023
1 parent d6ea9ec commit 74de5b2
Show file tree
Hide file tree
Showing 31 changed files with 1,359 additions and 450 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* [\#35](https://github.com/Finschia/wasmd/pull/35) stop wrap twice the response of handling non-plus wasm message in plus handler

### Breaking Changes
* [\#41](https://github.com/Finschia/wasmd/pull/41) add `cosmwasmAPIGenerator` to keeper

### Build, CI

Expand Down
2 changes: 0 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ import (
"github.com/line/wasmd/x/wasm"
wasmclient "github.com/line/wasmd/x/wasm/client"
wasmkeeper "github.com/line/wasmd/x/wasm/keeper"
wasmpluskeeper "github.com/line/wasmd/x/wasmplus/keeper"

// unnamed import of statik for swagger UI support
_ "github.com/line/lbm-sdk/client/docs/statik"
Expand Down Expand Up @@ -521,7 +520,6 @@ func NewWasmApp(
wasmDir,
wasmConfig,
availableCapabilities,
&wasmpluskeeper.Keeper{},
wasmOpts...,
)

Expand Down
Loading

0 comments on commit 74de5b2

Please sign in to comment.