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

Ica 45 #2

Open
wants to merge 79 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
0fc0ac5
Replace custom codec with sdk codec
alpe Feb 21, 2022
95d58b8
Merge pull request #760 from CosmWasm/749-client-encoding
alpe Feb 21, 2022
446c664
Redact errors returned in reply
ethanfrey Feb 23, 2022
8f75ad1
Fix lint error, failing test
ethanfrey Feb 23, 2022
30bb290
Fix submessage tests
ethanfrey Feb 23, 2022
32976f2
bump tendermint and tm-db
faddat Mar 1, 2022
3953bda
Adjust error string
ethanfrey Mar 2, 2022
66ac1f5
Handle nil logger again
ethanfrey Mar 2, 2022
d4284fb
Merge pull request #767 from notional-labs/faddat/tm-tmdb
alpe Mar 2, 2022
654fcec
Revert "Handle nil logger again"
alpe Mar 2, 2022
b2217a3
Fix test setup and assertions
alpe Mar 2, 2022
70ee69a
Add no admin flag for gov
alpe Mar 2, 2022
64ac68e
Merge pull request #771 from CosmWasm/768-gov-noadmin
ethanfrey Mar 2, 2022
daf0d00
Merge pull request #770 from CosmWasm/759-redact-reply-errors-tests
ethanfrey Mar 2, 2022
c3aeb1b
Merge pull request #765 from CosmWasm/759-redact-reply-errors
ethanfrey Mar 2, 2022
e3215d4
Add SECURITY text inspired by @elsehow
ethanfrey Jan 5, 2022
747a4ad
Address PR feedback
ethanfrey Mar 2, 2022
e03c7f4
Relaxed address strength restrictions for legacy 20 byte addresses (#…
iramiller Mar 3, 2022
bfa6a1c
Make utils methods public (#773)
pinosu Mar 3, 2022
f35a13f
Merge pull request #716 from CosmWasm/update-security-md
ethanfrey Mar 3, 2022
05a59a5
Bump deps to wasmvm v1.0.0-beta7
ethanfrey Mar 7, 2022
c8a7b83
Update static lib download in Dockerfile
ethanfrey Mar 7, 2022
feeccb6
Mark a whole lot of tests to skip on m1 as they core dump
ethanfrey Mar 7, 2022
5757449
Redact query errors
ethanfrey Mar 7, 2022
4638213
Add deny list for some grpc queries
ethanfrey Mar 7, 2022
6a780dc
Make type conversion helpers public
alpe Mar 9, 2022
b7dd4ce
Merge pull request #775 from CosmWasm/redact-query-errors
ethanfrey Mar 9, 2022
4c12353
cleanup from PR comments
ethanfrey Mar 9, 2022
c1a72f7
Merge pull request #776 from CosmWasm/limit-stargate-querier
ethanfrey Mar 9, 2022
a2512c4
Merge pull request #778 from CosmWasm/public_utils
ethanfrey Mar 9, 2022
2700e6b
Merge pull request #774 from CosmWasm/wasmvm-beta7
ethanfrey Mar 9, 2022
380301d
Improve how we redact query errors
ethanfrey Mar 9, 2022
2bd4041
Skip a few more tests on m1
ethanfrey Mar 9, 2022
3554193
[skip ci] Update CHANGELOG for 0.24 release
ethanfrey Mar 9, 2022
f35326a
Ensure SystemError is consistently unredacted
ethanfrey Mar 9, 2022
327f6b6
[skip ci] Update version info in README / INTEGRATION
ethanfrey Mar 9, 2022
3bc0bde
Merge pull request #779 from CosmWasm/prepare-0.24
ethanfrey Mar 9, 2022
c23c7ec
Bump github.com/cosmos/ibc-go/v2 from 2.0.3 to 2.2.0
dependabot[bot] Mar 16, 2022
f1ba587
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1
dependabot[bot] Mar 16, 2022
e7a3ac3
Merge pull request #787 from CosmWasm/dependabot/go_modules/github.co…
alpe Mar 16, 2022
7ec06a0
Upgrade sdk and iavl with osmosis's fast storage, make necessary adju…
p0mvn Feb 20, 2022
6aa516c
push smol thing to github so can work with Mr. Vuong
faddat Mar 19, 2022
1aeee0c
ica
faddat Mar 19, 2022
03ad826
capital on app.*
faddat Mar 19, 2022
c88f056
ica+wasm for juno
faddat Mar 19, 2022
22c91a1
Merge branch 'v0.24.0-osmo' into ica-45
faddat Mar 19, 2022
16ea5b0
Merge pull request #786 from CosmWasm/dependabot/go_modules/github.co…
alpe Mar 20, 2022
8d175d0
fix bug in app.go
vuong177 Mar 20, 2022
39dc661
add counterpartyChannelID param to wasm IBCHandler.OnChainOpenAck
vuong177 Mar 21, 2022
5a17535
fix err in test
vuong177 Mar 21, 2022
da3e82b
update app.go
vuong177 Mar 21, 2022
069afd7
update ChannelKeeper for ibc v3
vuong177 Mar 21, 2022
f9be12b
update test
vuong177 Mar 21, 2022
96989a2
update app.go
vuong177 Mar 21, 2022
1f80a48
all test passed
vuong177 Mar 22, 2022
3dd9622
no iavl anymore ?&& cosmos-sdk mainline
vuong177 Mar 22, 2022
1c9a1e1
fix: close iterators
albertchon Mar 22, 2022
50daae1
Merge https://github.com/CosmWasm/wasmd into ica-45
faddat Mar 23, 2022
35d86bd
Use libwasmvm_muslc.aarch64.a in docker image
webmaster128 Mar 22, 2022
49ee92a
Merge pull request #792 from albertchon/b/close-iterators
alpe Mar 25, 2022
a543aa5
Use callback pattern for contract state iterator
alpe Mar 25, 2022
2032c33
Merge pull request #794 from CosmWasm/792_contract_state_callback
alpe Mar 28, 2022
09629ab
Merge pull request #790 from CosmWasm/use-libwasmvm_muslc.aarch64.a
webmaster128 Mar 30, 2022
5666089
Prepare Changelog for v0.25.0
alpe Apr 5, 2022
1dd874a
Add more tests for event edge cases
alpe Apr 6, 2022
72062f1
Upgrade wasmvm to v1.0.0-beta10
webmaster128 Apr 6, 2022
5ad1d86
Update Dockerfile to v1.0.0-beta10 artifacts
webmaster128 Apr 6, 2022
fe0cd52
Update CHANGELOG.md
webmaster128 Apr 6, 2022
1460371
Merge pull request #798 from CosmWasm/changelog_v025
webmaster128 Apr 6, 2022
574e30a
Merge pull request #800 from CosmWasm/upgrade-wasmvm-to-beta10
alpe Apr 6, 2022
64d39c3
Merge pull request #799 from CosmWasm/empty_events
alpe Apr 6, 2022
52a18fd
Create link to SECURITY.md in other repo
webmaster128 Apr 11, 2022
2d5bd22
Bring back Supported Versions
webmaster128 Apr 11, 2022
d482ab3
Bump 0.22 -> 0.25
webmaster128 Apr 11, 2022
68b4908
Unpack contract details from genesis (#802)
alpe Apr 12, 2022
ab661d5
Merge pull request #801 from CosmWasm/link-SECURITY.md
webmaster128 Apr 12, 2022
45c826a
Revisit gov params doc and tests
alpe Apr 13, 2022
57ead1a
Merge pull request #805 from CosmWasm/804-param_change
alpe Apr 14, 2022
8dc296f
Merge branch 'CosmWasm:master' into ica-45
faddat Apr 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.

tasks:
- init: go get && go build ./... && go test ./... && make
command: go run


46 changes: 38 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,45 @@

## [Unreleased](https://github.com/CosmWasm/wasmd/tree/HEAD)

[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.23.0...HEAD)
[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.25.0...master)

## [v0.25.0](https://github.com/CosmWasm/wasmd/tree/v0.25.0) (2022-04-06)

**API Breaking**
- Upgrade wasmvm to v1.0.0-beta10 [\#790](https://github.com/CosmWasm/wasmd/pull/790), [\#800](https://github.com/CosmWasm/wasmd/pull/800)

**Implemented Enhancements**
- Fix: close iterators [\#792](https://github.com/CosmWasm/wasmd/pull/792)
- Use callback pattern for contract state iterator [\#794](https://github.com/CosmWasm/wasmd/pull/794)
- Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 [\#787](https://github.com/CosmWasm/wasmd/pull/787)
- Bump github.com/cosmos/ibc-go/v2 from 2.0.3 to 2.2.0 [\#786](https://github.com/CosmWasm/wasmd/pull/786)

[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.24.0...v0.25.0)

## [v0.24.0](https://github.com/CosmWasm/wasmd/tree/v0.24.0) (2022-03-09)

**API Breaking**
- Add cosmwasm project prefix to REST query paths [\#743](https://github.com/CosmWasm/wasmd/issues/743)
- Add support for old contract addresses of length 20 [\#758](https://github.com/CosmWasm/wasmd/issues/758)
- Update wasmvm to 1.0.0-beta7 (incl wasmer 2.2) [\#774](https://github.com/CosmWasm/wasmd/issues/774)

**Fixed bugs**
- Add missing colons in String of some proposals [\#752](https://github.com/CosmWasm/wasmd/pull/752)
- Replace custom codec with SDK codec (needed for rosetta) [\#760](https://github.com/CosmWasm/wasmd/pull/760)
- Support `--no-admin` flag on cli for gov instantiation [\#771](https://github.com/CosmWasm/wasmd/pull/771)

**Implemented Enhancements**
- Add support for Buf Build [\#753](https://github.com/CosmWasm/wasmd/pull/753), [\#755](https://github.com/CosmWasm/wasmd/pull/755), [\#756](https://github.com/CosmWasm/wasmd/pull/756)
- Redact most errors sent to contracts, for better determinism guarantees [\#765](https://github.com/CosmWasm/wasmd/pull/765), [\#775](https://github.com/CosmWasm/wasmd/pull/775)

[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.23.0...v0.24.0)

## [v0.23.0](https://github.com/CosmWasm/wasmd/tree/v0.23.0) (2022-01-28)

**Fixed bugs**
- Set end block order [\#736](https://github.com/CosmWasm/wasmd/issues/736)

[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.23.0...v0.22.0)
[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.22.0...v0.23.0)

## [v0.22.0](https://github.com/CosmWasm/wasmd/tree/v0.22.0) (2022-01-20)

Expand All @@ -31,12 +61,12 @@
- Remove unused run-as flag from Wasm Migrate proposals [\#730](https://github.com/CosmWasm/wasmd/pull/730) ([ethanfrey](https://github.com/ethanfrey))
- Expose wasm/Keeper.SetParams [\#732](https://github.com/CosmWasm/wasmd/pull/732) ([ethanfrey](https://github.com/ethanfrey))

[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.22.0...v0.21.0)
[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.21.0...v0.22.0)


## [v0.21.0](https://github.com/CosmWasm/wasmd/tree/v0.21.0) (2021-11-17)

[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.21.0...v0.20.0)
[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.20.0...v0.21.0)

**Fixed bugs + Api Breaking:**
- Prevent infinite gas consumption in simulation queries [\#670](https://github.com/CosmWasm/wasmd/issues/670)
Expand All @@ -56,7 +86,7 @@

## [v0.20.0](https://github.com/CosmWasm/wasmd/tree/v0.20.0) (2021-10-08)

[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.20.0...v0.19.0)
[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.19.0...v0.20.0)

**Fixed bugs:**

Expand All @@ -80,7 +110,7 @@

## [v0.19.0](https://github.com/CosmWasm/wasmd/tree/v0.19.0) (2021-09-15)

[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.19.0...v0.18.0)
[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.18.0...v0.19.0)

**Fixed bugs:**

Expand All @@ -101,7 +131,7 @@

## [v0.18.0](https://github.com/CosmWasm/wasmd/tree/v0.18.0) (2021-08-16)

[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.18.0...v0.17.0)
[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.17.0...v0.18.0)

**Api Breaking:**
- Events documented and refactored [\#448](https://github.com/CosmWasm/wasmd/issues/448), [\#589](https://github.com/CosmWasm/wasmd/pull/589), [\#587](https://github.com/CosmWasm/wasmd/issues/587)
Expand Down Expand Up @@ -129,7 +159,7 @@

## [v0.17.0](https://github.com/CosmWasm/wasmd/tree/v0.17.0) (2021-05-26)

[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.17.0...v0.16.0)
[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.16.0...v0.17.0)

**Features:**
- Remove json type cast for contract msgs [\#520](https://github.com/CosmWasm/wasmd/pull/520) ([alpe](https://github.com/alpe))
Expand Down
14 changes: 11 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# docker build . -t cosmwasm/wasmd:latest
# docker run --rm -it cosmwasm/wasmd:latest /bin/sh
FROM golang:1.17-alpine3.15 AS go-builder
ARG arch=x86_64

# this comes from standard alpine nightly file
# https://github.com/rust-lang/docker-rust-nightly/blob/master/alpine3.12/Dockerfile
Expand All @@ -15,11 +16,18 @@ WORKDIR /code
COPY . /code/

# See https://github.com/CosmWasm/wasmvm/releases
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.0.0-beta6/libwasmvm_muslc.a /lib/libwasmvm_muslc.a
RUN sha256sum /lib/libwasmvm_muslc.a | grep e9cb9517585ce3477905e2d4e37553d85f6eac29bdc3b9c25c37c8f5e554045c
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.0.0-beta10/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.aarch64.a
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.0.0-beta10/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.x86_64.a
RUN sha256sum /lib/libwasmvm_muslc.aarch64.a | grep 5b7abfdd307568f5339e2bea1523a6aa767cf57d6a8c72bc813476d790918e44
RUN sha256sum /lib/libwasmvm_muslc.x86_64.a | grep 2f44efa9c6c1cda138bd1f46d8d53c5ebfe1f4a53cf3457b01db86472c4917ac

# Copy the library you want to the final location that will be found by the linker flag `-lwasmvm_muslc`
RUN cp /lib/libwasmvm_muslc.${arch}.a /lib/libwasmvm_muslc.a

# force it to use static lib (from above) not standard libgo_cosmwasm.so file
RUN LEDGER_ENABLED=false BUILD_TAGS=muslc make build
RUN LEDGER_ENABLED=false BUILD_TAGS=muslc LINK_STATICALLY=true make build
RUN echo "Ensuring binary is statically linked ..." \
&& (file /code/build/wasmd | grep "statically linked")

# --------------------------------------------------------
FROM alpine:3.15
Expand Down
2 changes: 2 additions & 0 deletions INTEGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ hardware it runs on.

| wasmd | Cosmos SDK |
|:------:|:-----------:|
| v0.24 | v0.45.0 |
| v0.23 | v0.45.0 |
| v0.22 | v0.45.0 |
| v0.21 | v0.42.x |
| v0.20 | v0.42.x |
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=wasm \
ifeq ($(WITH_CLEVELDB),yes)
ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=cleveldb
endif
ifeq ($(LINK_STATICALLY),true)
ldflags += -linkmode=external -extldflags "-Wl,-z,muldefs -static"
endif
ldflags += $(LDFLAGS)
ldflags := $(strip $(ldflags))

Expand Down
35 changes: 22 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ addition of the `x/wasm` module.

**Note**: Requires [Go 1.17+](https://golang.org/dl/)

For critical security issues & disclosure, see [SECURITY.md](SECURITY.md).
## Compatibility with CosmWasm contracts

## Compatibility
Expand All @@ -25,9 +26,11 @@ compatibility list:

| wasmd | cosmwasm-vm | cosmwasm-std |
| ----- | ----------- | ------------ |
| 0.22 | 1.0.0-beta | 1.0.0-beta |
| 0.21 | 1.0.0-beta | 1.0.0-beta |
| 0.20 | 1.0.0-beta | 1.0.0-beta |
| 0.24 | 1.0.0-beta7 | 1.0 |
| 0.23 | 1.0.0-beta5 | 1.0 |
| 0.22 | 1.0.0-beta5 | 1.0 |
| 0.21 | 1.0.0-beta2 | 1.0 |
| 0.20 | 1.0.0-beta | 1.0 |
| 0.19 | 0.16 | 0.16 |
| 0.18 | 0.16 | 0.16 |
| 0.17 | 0.14 | 0.14 |
Expand All @@ -41,6 +44,10 @@ compatibility list:
| 0.9 | 0.9 | 0.9 |
| 0.8 | 0.8 | 0.8 |

Note: `cosmwasm_std v1.0` means it supports contracts compiled by any `v1.0.0-betaX` or `1.0.x`.
It will also run contracts compiled with 1.x assuming they don't opt into any newer features.
The 1.x cosmwasm_vm will support all contracts with 1.0 <= version <= 1.x.

Note that `cosmwasm-std` version defines which contracts are compatible with this system. The wasm code uploaded must
have been compiled with one of the supported `cosmwasm-std` versions, or will be rejeted upon upload (with some error
message about "contract too old?" or "contract too new?"). `cosmwasm-vm` version defines the runtime used. It is a
Expand All @@ -50,7 +57,7 @@ using [wasmer](https://github.com/wasmerio/wasmer/) 1.0, which is significantly
## Supported Systems

The supported systems are limited by the dlls created in [`wasmvm`](https://github.com/CosmWasm/wasmvm). In particular, **we only support MacOS and Linux**.
However, **M1 macs are currently not supported.**
However, **M1 macs are not fully supported.** (Experimental support was merged with wasmd 0.24)
For linux, the default is to build for glibc, and we cross-compile with CentOS 7 to provide
backwards compatibility for `glibc 2.12+`. This includes all known supported distributions
using glibc (CentOS 7 uses 2.12, obsolete Debian Jessy uses 2.19).
Expand All @@ -64,18 +71,20 @@ binary for `muslc`. (Or just use this Dockerfile for your production setup).

## Stability

**This is alpha software, do not run on a production system.** Notably, we currently provide **no migration path** not even "dump state and restart" to move to future versions. At **beta** we will begin to offer migrations and better backwards compatibility guarantees.
**This is beta software** It is run in some production systems, but we cannot yet provide a stability guarantee
and have not yet gone through and audit of this codebase. Note that the
[CosmWasm smart contract framework](https://github.com/CosmWasm/cosmwasm) used by `wasmd` is in a 1.0 release candidate
as of March 2022, with stability guarantee and addressing audit results.

With the `v0.6.0` tag, we entered semver. That means anything with `v0.6.x` tags is compatible with each other,
and everything with `v0.7.x` tags is compatible with each other.
Between these minor versions, there is API breakage with no upgrade path provided.
As of `wasmd` 0.22, we will work to provide upgrade paths *for this module* for projects running a non-forked
version on their live networks. If there are Cosmos SDK upgrades, you will have to run their migration code
for their modules. If we change the internal storage of `x/wasm` we will provide a function to migrate state that
can be called by an `x/upgrade` handler.

We will have a stable `v0.x` version before the final `v1.0.0` version with
the same API as the `v1.0` version in order to run last testnets and manual testing on it.
We have not yet committed to that version number. Our `v1.0.0` release plans were also
delayed by upstream release cycles, and we have continued to refine APIs while we can.
The APIs are pretty stable, but we cannot guarantee their stability until we reach v1.0.
However, we will provide a way for you to hard-fork your way to v1.0.

Thank you to all projects who have run this code in your testnets and
Thank you to all projects who have run this code in your mainnets and testnets and
given feedback to improve stability.

## Encoding
Expand Down
12 changes: 5 additions & 7 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# Security Policy

This repository is maintained by Confio as part of the CosmWasm stack.
Please see https://github.com/CosmWasm/advisories/blob/main/SECURITY.md
for our security policy.

## Supported Versions

This is alpha software, do not run on a production system. Notably, we currently provide no migration path not even "dump state and restart" to move to future versions.

We will have a stable v0.x version before the final v1.0.0 version with the same API as the v1.0 version in order to run last testnets and manual testing on it. We have not yet committed to that version number. wasmd 0.25 will support Cosmos SDK 0.44/0.45 and should be quite close to a final API, minus some minor details.

We will have a stable v0.x version before the final v1.0.0 version with the same API as the v1.0 version in order to run last testnets and manual testing on it. We have not yet committed to that version number.
Our v1.0.0 release plans were also delayed by upstream release cycles, and we have continued to refine APIs while we can.

## Reporting a Vulnerability

Please report any security issues via email to security@confio.gmbh.

You will receive a response from us within 48 hours. If the issue is confirmed, we will release a patch as soon as possible depending on complexity but historically within a few days.
8 changes: 4 additions & 4 deletions app/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/x/auth/ante"
channelkeeper "github.com/cosmos/ibc-go/v2/modules/core/04-channel/keeper"
ibcante "github.com/cosmos/ibc-go/v2/modules/core/ante"
ibcante "github.com/cosmos/ibc-go/v3/modules/core/ante"
"github.com/cosmos/ibc-go/v3/modules/core/keeper"

wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
wasmTypes "github.com/CosmWasm/wasmd/x/wasm/types"
Expand All @@ -16,7 +16,7 @@ import (
type HandlerOptions struct {
ante.HandlerOptions

IBCChannelkeeper channelkeeper.Keeper
IBCKeeper *keeper.Keeper
WasmConfig *wasmTypes.WasmConfig
TXCounterStoreKey sdk.StoreKey
}
Expand Down Expand Up @@ -60,7 +60,7 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) {
ante.NewSigGasConsumeDecorator(options.AccountKeeper, sigGasConsumer),
ante.NewSigVerificationDecorator(options.AccountKeeper, options.SignModeHandler),
ante.NewIncrementSequenceDecorator(options.AccountKeeper),
ibcante.NewAnteDecorator(options.IBCChannelkeeper),
ibcante.NewAnteDecorator(options.IBCKeeper),
}

return sdk.ChainAnteDecorators(anteDecorators...), nil
Expand Down
Loading