Skip to content

Commit 34cf136

Browse files
authored
Merge pull request #46 from KiFoundation/feature/ica-2
Feature/ica 2
2 parents dac9a74 + b206b43 commit 34cf136

File tree

7 files changed

+249
-158
lines changed

7 files changed

+249
-158
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ COPY . .
1111
# From https://github.com/CosmWasm/wasmd/blob/master/Dockerfile
1212
# For more details see https://github.com/CosmWasm/wasmvm#builds-of-libwasmvm
1313
ARG ARCH=x86_64
14-
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.0.0-beta10/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.aarch64.a
15-
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.0.0-beta10/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.x86_64.a
16-
RUN sha256sum /lib/libwasmvm_muslc.aarch64.a | grep 5b7abfdd307568f5339e2bea1523a6aa767cf57d6a8c72bc813476d790918e44
17-
RUN sha256sum /lib/libwasmvm_muslc.x86_64.a | grep 2f44efa9c6c1cda138bd1f46d8d53c5ebfe1f4a53cf3457b01db86472c4917ac
14+
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.0.0/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.aarch64.a
15+
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.0.0/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.x86_64.a
16+
RUN sha256sum /lib/libwasmvm_muslc.aarch64.a | grep 7d2239e9f25e96d0d4daba982ce92367aacf0cbd95d2facb8442268f2b1cc1fc
17+
RUN sha256sum /lib/libwasmvm_muslc.x86_64.a | grep f6282df732a13dec836cda1f399dd874b1e3163504dbd9607c6af915b2740479
1818
RUN cp /lib/libwasmvm_muslc.${ARCH}.a /lib/libwasmvm_muslc.a
1919

2020
ENV PACKAGES curl make git libc-dev bash gcc linux-headers eudev-dev python3

app/ante_handler.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
sdk "github.com/cosmos/cosmos-sdk/types"
55
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
66
"github.com/cosmos/cosmos-sdk/x/auth/ante"
7-
channelkeeper "github.com/cosmos/ibc-go/v2/modules/core/04-channel/keeper"
8-
ibcante "github.com/cosmos/ibc-go/v2/modules/core/ante"
7+
ibcante "github.com/cosmos/ibc-go/v3/modules/core/ante"
8+
ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper"
99

1010
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
1111
wasmTypes "github.com/CosmWasm/wasmd/x/wasm/types"
@@ -16,7 +16,7 @@ import (
1616
type HandlerOptions struct {
1717
ante.HandlerOptions
1818

19-
IBCChannelkeeper channelkeeper.Keeper
19+
IBCKeeper *ibckeeper.Keeper
2020
WasmConfig *wasmTypes.WasmConfig
2121
TXCounterStoreKey sdk.StoreKey
2222
}
@@ -60,7 +60,7 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) {
6060
ante.NewSigGasConsumeDecorator(options.AccountKeeper, sigGasConsumer),
6161
ante.NewSigVerificationDecorator(options.AccountKeeper, options.SignModeHandler),
6262
ante.NewIncrementSequenceDecorator(options.AccountKeeper),
63-
ibcante.NewAnteDecorator(options.IBCChannelkeeper),
63+
ibcante.NewAnteDecorator(options.IBCKeeper),
6464
}
6565

6666
return sdk.ChainAnteDecorators(anteDecorators...), nil

0 commit comments

Comments
 (0)