Skip to content

Commit

Permalink
feedback implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
grpcproto committed Feb 28, 2023
1 parent 6145d83 commit 848551f
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 12 deletions.
3 changes: 1 addition & 2 deletions ante/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
ibckeeper "github.com/cosmos/ibc-go/v4/modules/core/keeper"

gaiafeeante "github.com/cosmos/gaia/v9/x/globalfee/ante"
gaiagovante "github.com/cosmos/gaia/v9/x/gov/ante"
)

// HandlerOptions extend the SDK's AnteHandler options by requiring the IBC
Expand Down Expand Up @@ -68,7 +67,7 @@ func NewAnteHandler(opts HandlerOptions) (sdk.AnteHandler, error) {
ante.NewValidateMemoDecorator(opts.AccountKeeper),
ante.NewConsumeGasForTxSizeDecorator(opts.AccountKeeper),
gaiafeeante.NewFeeDecorator(opts.BypassMinFeeMsgTypes, opts.GlobalFeeSubspace, opts.StakingSubspace, maxBypassMinFeeMsgGasUsage),
gaiagovante.NewGovPreventSpamDecorator(opts.Codec, opts.GovKeeper),
NewGovPreventSpamDecorator(opts.Codec, opts.GovKeeper),
ante.NewDeductFeeDecorator(opts.AccountKeeper, opts.BankKeeper, opts.FeegrantKeeper),
ante.NewSetPubKeyDecorator(opts.AccountKeeper), // SetPubKeyDecorator must be called before all signature verification decorators
ante.NewValidateSigCountDecorator(opts.AccountKeeper),
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"deposit": [
{
"denom": "uatom",
"amount": "12000000"
"amount": "1000000000"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"deposit": [
{
"denom": "uatom",
"amount": "1000000"
"amount": "1000000000"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"deposit": [
{
"denom": "uatom",
"amount": "1000000"
"amount": "1000000000"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"deposit": [
{
"denom": "uatom",
"amount": "12000000"
"amount": "1000000000"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"deposit": [
{
"denom": "uatom",
"amount": "1000000"
"amount": "1000000000"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"deposit": [
{
"denom": "uatom",
"amount": "1000000"
"amount": "1000000000"
}
]
}
2 changes: 1 addition & 1 deletion docs/hub-tutorials/gaiad.md
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ Where `proposal.json` contains the following:
"deposit": [
{
"denom": "stake",
"amount": "10000000"
"amount": "1000000000"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion docs/ko/resources/gaiad.md
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ gaiad tx gov submit-proposal param-change <프로포절/파일/경로/프로포
"deposit": [
{
"denom": "stake",
"amount": "10000000"
"amount": "1000000000"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/resources/gaiad.md
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ gaiad tx gov submit-proposal param-change <path/to/proposal.json> \
"deposit": [
{
"denom": "stake",
"amount": "10000000"
"amount": "1000000000"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/e2e_setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var (
stakingAmountCoin = sdk.NewCoin(uatomDenom, stakingAmount)
tokenAmount = sdk.NewCoin(uatomDenom, sdk.NewInt(3300000000)) // 3,300uatom
standardFees = sdk.NewCoin(uatomDenom, sdk.NewInt(330000)) // 0.33uatom
depositAmount = sdk.NewCoin(uatomDenom, sdk.NewInt(3300000000)) // 3,300uatom
depositAmount = sdk.NewCoin(uatomDenom, sdk.NewInt(1000000000)) // 1,000uatom
distModuleAddress = authtypes.NewModuleAddress(distrtypes.ModuleName).String()
proposalCounter = 0
)
Expand Down

0 comments on commit 848551f

Please sign in to comment.