diff --git a/ante/ante.go b/ante/ante.go index d09bc02f1ba..87785f0206f 100644 --- a/ante/ante.go +++ b/ante/ante.go @@ -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 @@ -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), diff --git a/x/gov/ante/prevent_spam.go b/ante/gov_ante.go similarity index 100% rename from x/gov/ante/prevent_spam.go rename to ante/gov_ante.go diff --git a/docs/governance/proposal-types/community-pool-spend/proposal.json b/docs/governance/proposal-types/community-pool-spend/proposal.json index 0e8a8e22c4a..0726bddbc44 100644 --- a/docs/governance/proposal-types/community-pool-spend/proposal.json +++ b/docs/governance/proposal-types/community-pool-spend/proposal.json @@ -11,7 +11,7 @@ "deposit": [ { "denom": "uatom", - "amount": "12000000" + "amount": "1000000000" } ] } diff --git a/docs/governance/proposals/2020-10-blocks-per-year/proposal.json b/docs/governance/proposals/2020-10-blocks-per-year/proposal.json index decee79af6a..c321c98aaf4 100644 --- a/docs/governance/proposals/2020-10-blocks-per-year/proposal.json +++ b/docs/governance/proposals/2020-10-blocks-per-year/proposal.json @@ -11,7 +11,7 @@ "deposit": [ { "denom": "uatom", - "amount": "1000000" + "amount": "1000000000" } ] } diff --git a/docs/governance/proposals/2020-11-inflation-rate-change/proposal.json b/docs/governance/proposals/2020-11-inflation-rate-change/proposal.json index 133e4ee623b..ef133cdca9b 100644 --- a/docs/governance/proposals/2020-11-inflation-rate-change/proposal.json +++ b/docs/governance/proposals/2020-11-inflation-rate-change/proposal.json @@ -11,7 +11,7 @@ "deposit": [ { "denom": "uatom", - "amount": "1000000" + "amount": "1000000000" } ] } diff --git a/docs/governance/proposals/2021-01-atom2021_marketing/proposal.json b/docs/governance/proposals/2021-01-atom2021_marketing/proposal.json index 09a17886f68..2e1bc6bee57 100644 --- a/docs/governance/proposals/2021-01-atom2021_marketing/proposal.json +++ b/docs/governance/proposals/2021-01-atom2021_marketing/proposal.json @@ -11,7 +11,7 @@ "deposit": [ { "denom": "uatom", - "amount": "12000000" + "amount": "1000000000" } ] } diff --git a/docs/governance/proposals/2021-04-lower-deposit-requirement/proposal.json b/docs/governance/proposals/2021-04-lower-deposit-requirement/proposal.json index 438f5100a6d..0720d07a876 100644 --- a/docs/governance/proposals/2021-04-lower-deposit-requirement/proposal.json +++ b/docs/governance/proposals/2021-04-lower-deposit-requirement/proposal.json @@ -18,7 +18,7 @@ "deposit": [ { "denom": "uatom", - "amount": "1000000" + "amount": "1000000000" } ] } diff --git a/docs/governance/proposals/2021-05-gravity-bridge-deployment/proposal.json b/docs/governance/proposals/2021-05-gravity-bridge-deployment/proposal.json index 8d7154bc9e7..222fe3c299f 100644 --- a/docs/governance/proposals/2021-05-gravity-bridge-deployment/proposal.json +++ b/docs/governance/proposals/2021-05-gravity-bridge-deployment/proposal.json @@ -4,7 +4,7 @@ "deposit": [ { "denom": "uatom", - "amount": "1000000" + "amount": "1000000000" } ] } diff --git a/docs/hub-tutorials/gaiad.md b/docs/hub-tutorials/gaiad.md index f9e88353abc..f83097156bd 100644 --- a/docs/hub-tutorials/gaiad.md +++ b/docs/hub-tutorials/gaiad.md @@ -631,7 +631,7 @@ Where `proposal.json` contains the following: "deposit": [ { "denom": "stake", - "amount": "10000000" + "amount": "1000000000" } ] } diff --git a/docs/ko/resources/gaiad.md b/docs/ko/resources/gaiad.md index e43b2f5189b..adf00d0ce8a 100755 --- a/docs/ko/resources/gaiad.md +++ b/docs/ko/resources/gaiad.md @@ -565,7 +565,7 @@ gaiad tx gov submit-proposal param-change <프로포절/파일/경로/프로포 "deposit": [ { "denom": "stake", - "amount": "10000000" + "amount": "1000000000" } ] } diff --git a/docs/zh/resources/gaiad.md b/docs/zh/resources/gaiad.md index f23a1861334..b814df2887f 100644 --- a/docs/zh/resources/gaiad.md +++ b/docs/zh/resources/gaiad.md @@ -543,7 +543,7 @@ gaiad tx gov submit-proposal param-change \ "deposit": [ { "denom": "stake", - "amount": "10000000" + "amount": "1000000000" } ] } diff --git a/tests/e2e/e2e_setup_test.go b/tests/e2e/e2e_setup_test.go index da4e201d084..03830193a03 100644 --- a/tests/e2e/e2e_setup_test.go +++ b/tests/e2e/e2e_setup_test.go @@ -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 )