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

cosmos sdk 47 #1022

Closed
wants to merge 56 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
a0648ee
457
faddat Aug 10, 2022
1eea90f
upgrade ci
faddat Aug 10, 2022
8fa0d2a
go get -> go install
faddat Aug 10, 2022
e637cf5
change denom to new format
faddat Aug 10, 2022
ac326d6
Update config.yml
faddat Aug 10, 2022
2ef630d
Revert "change denom to new format"
faddat Aug 10, 2022
3a778d0
bump ibc-go to v3.2.x
faddat Aug 10, 2022
7d34510
Update config.yml
faddat Aug 10, 2022
6478e53
but not done
faddat Aug 13, 2022
271525b
TestInitGenesis fails
faddat Aug 13, 2022
b12a8e6
use gofumpt
faddat Aug 13, 2022
6c3bf4d
some minor fix
vuong177 Aug 13, 2022
6222f2b
Update config.yml
faddat Aug 13, 2022
e54fdb1
linting
faddat Aug 13, 2022
fa9eca6
Merge branch 'fifth-46' of https://github.com/notional-labs/wasmd int…
faddat Aug 13, 2022
a5b9406
Setifexists
faddat Aug 13, 2022
85d69f0
fix wasm export
vuong177 Aug 13, 2022
d6d7c8f
SetInterfaceRegistry
vuong177 Aug 15, 2022
1ef5732
fix gas limit
vuong177 Aug 15, 2022
b152460
nil srcExp
vuong177 Aug 16, 2022
e181321
govv1
vuong177 Aug 16, 2022
ac263a1
govv1 in TestQueryContractInfo
vuong177 Aug 16, 2022
212d837
snapshot test
vuong177 Aug 17, 2022
60e99a9
fix gas in test, v1beta -> v1
vuong177 Aug 17, 2022
7c4e412
govv1 in encoding test
vuong177 Aug 17, 2022
63649c2
fix wasm.go
vuong177 Aug 17, 2022
d1bf255
with valset in bench
vuong177 Aug 17, 2022
a73880a
sdk v0.46.1 and tm v0.34.21
faddat Aug 25, 2022
6aba2d2
Merge remote-tracking branch 'upstream/main' into sixth-46
faddat Aug 25, 2022
ac0422e
automatic fixes from "golangci-lint run ./... --fix"
faddat Aug 25, 2022
9fd778e
bump ica
faddat Aug 25, 2022
6bb783a
fix proposal integration test: line 178 shoud be require.Error
faddat Aug 25, 2022
fcc3045
merge main
faddat Aug 30, 2022
34c4df1
ibc 5-rc1
faddat Aug 30, 2022
91cba51
turbo 46
faddat Sep 7, 2022
f452fd1
turbo46
faddat Sep 7, 2022
bf73451
Revert "turbo 46"
faddat Sep 10, 2022
0cf56ad
Revert "turbo46"
faddat Sep 10, 2022
734956f
merge but with a few test issues
faddat Sep 10, 2022
5354d3f
fix flagproposaltype
faddat Sep 10, 2022
44c1674
update
faddat Sep 11, 2022
5df3568
use keyed fields
faddat Sep 12, 2022
e6dc930
Merge remote-tracking branch 'upstream/main' into fifth-46
faddat Sep 15, 2022
e3aad1b
bank keeper
faddat Sep 15, 2022
f6e02fd
fix test genesis with valset
vuong177 Sep 15, 2022
427e367
gov address
vuong177 Sep 16, 2022
459cefa
gas in test
vuong177 Sep 18, 2022
654fddb
comment out permission keeper
faddat Sep 23, 2022
7c9636a
save place
faddat Sep 27, 2022
bde6aa3
ibc-go v5.0.0
faddat Sep 28, 2022
8adfdb3
update gas per suggestion
faddat Sep 28, 2022
688b984
bring branch up to date with ibc-go v5.0.0
faddat Sep 28, 2022
f416cd0
attempt to fix remaining bug
faddat Sep 28, 2022
e5dc240
continue work on 47 by merging in changes from 46
faddat Sep 28, 2022
df98d8f
fix issues with interchain accounts
faddat Sep 28, 2022
b165231
wasmtesting fix
faddat Sep 28, 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


4 changes: 1 addition & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ linters:
- errcheck
- goconst
- gocritic
- gofmt
- goimports
- gofumpt
- revive
- gosec
- gosimple
Expand All @@ -23,7 +22,6 @@ linters:
- prealloc
- exportloopref
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
Expand Down
14 changes: 7 additions & 7 deletions app/ante.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package app

import (
storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/x/auth/ante"
ibcante "github.com/cosmos/ibc-go/v3/modules/core/ante"
"github.com/cosmos/ibc-go/v3/modules/core/keeper"
ibcante "github.com/cosmos/ibc-go/v6/modules/core/ante"
"github.com/cosmos/ibc-go/v6/modules/core/keeper"

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

IBCKeeper *keeper.Keeper
WasmConfig *wasmTypes.WasmConfig
TXCounterStoreKey sdk.StoreKey
TXCounterStoreKey storetypes.StoreKey
}

func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) {
Expand Down Expand Up @@ -47,20 +48,19 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) {
ante.NewSetUpContextDecorator(), // outermost AnteDecorator. SetUpContext must be called first
wasmkeeper.NewLimitSimulationGasDecorator(options.WasmConfig.SimulationGasLimit), // after setup context to enforce limits early
wasmkeeper.NewCountTXDecorator(options.TXCounterStoreKey),
ante.NewRejectExtensionOptionsDecorator(),
ante.NewMempoolFeeDecorator(),
ante.NewExtensionOptionsDecorator(options.ExtensionOptionChecker),
ante.NewValidateBasicDecorator(),
ante.NewTxTimeoutHeightDecorator(),
ante.NewValidateMemoDecorator(options.AccountKeeper),
ante.NewConsumeGasForTxSizeDecorator(options.AccountKeeper),
ante.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper),
ante.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper, options.TxFeeChecker),
// SetPubKeyDecorator must be called before all signature verification decorators
ante.NewSetPubKeyDecorator(options.AccountKeeper),
ante.NewValidateSigCountDecorator(options.AccountKeeper),
ante.NewSigGasConsumeDecorator(options.AccountKeeper, sigGasConsumer),
ante.NewSigVerificationDecorator(options.AccountKeeper, options.SignModeHandler),
ante.NewIncrementSequenceDecorator(options.AccountKeeper),
ibcante.NewAnteDecorator(options.IBCKeeper),
ibcante.NewRedundantRelayDecorator(options.IBCKeeper),
}

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