diff --git a/server/config/config.go b/server/config/config.go index 90dad0c943..07bf6f99f8 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -307,7 +307,7 @@ func DefaultConfig() *Config { GlobalLabels: [][]string{}, }, API: APIConfig{ - Enable: false, + Enable: true, Swagger: false, Address: DefaultAPIAddress, MaxOpenConnections: 1000, diff --git a/server/util.go b/server/util.go index 58323b0d21..d78f722649 100644 --- a/server/util.go +++ b/server/util.go @@ -235,7 +235,7 @@ func interceptConfigs(rootViper *viper.Viper, customAppTemplate string, customCo // The SDK is opinionated about those comet values, so we set them here. // We verify first that the user has not changed them for not overriding them. if conf.Consensus.TimeoutCommit == defaultCometCfg.Consensus.TimeoutCommit { - conf.Consensus.TimeoutCommit = 5 * time.Second + conf.Consensus.TimeoutCommit = 500 * time.Millisecond } if conf.RPC.PprofListenAddress == defaultCometCfg.RPC.PprofListenAddress { conf.RPC.PprofListenAddress = "localhost:6060" diff --git a/types/staking.go b/types/staking.go index 66a01a29b3..fa461c7e5e 100644 --- a/types/staking.go +++ b/types/staking.go @@ -14,7 +14,7 @@ const ValidatorUpdateDelay int64 = 1 var ( // DefaultBondDenom is the default bondable coin denomination (defaults to stake) // Overwriting this value has the side effect of changing the default denomination in genesis - DefaultBondDenom = "stake" + DefaultBondDenom = "uart" // DefaultPowerReduction is the default amount of staking tokens required for 1 unit of consensus-engine power DefaultPowerReduction = NewIntFromUint64(1000000) diff --git a/x/authz/simulation/genesis.go b/x/authz/simulation/genesis.go index e1443683bb..1332ce4c41 100644 --- a/x/authz/simulation/genesis.go +++ b/x/authz/simulation/genesis.go @@ -37,7 +37,7 @@ func genGrant(r *rand.Rand, accounts []simtypes.Account, genT time.Time) []authz func generateRandomGrant(r *rand.Rand) *codectypes.Any { authorizations := make([]*codectypes.Any, 2) - sendAuthz := banktypes.NewSendAuthorization(sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(1000))), nil) + sendAuthz := banktypes.NewSendAuthorization(sdk.NewCoins(sdk.NewCoin("uart", sdk.NewInt(1000))), nil) authorizations[0] = newAnyAuthorization(sendAuthz) authorizations[1] = newAnyAuthorization(authz.NewGenericAuthorization(sdk.MsgTypeURL(&v1.MsgSubmitProposal{}))) diff --git a/x/feegrant/simulation/genesis.go b/x/feegrant/simulation/genesis.go index 7fbc8107c5..abd189ef5e 100644 --- a/x/feegrant/simulation/genesis.go +++ b/x/feegrant/simulation/genesis.go @@ -23,8 +23,8 @@ func genFeeGrants(r *rand.Rand, accounts []simtypes.Account) []feegrant.Grant { func generateRandomAllowances(granter, grantee sdk.AccAddress, r *rand.Rand) feegrant.Grant { allowances := make([]feegrant.Grant, 3) - spendLimit := sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(100))) - periodSpendLimit := sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(10))) + spendLimit := sdk.NewCoins(sdk.NewCoin("art", sdk.NewInt(100))) + periodSpendLimit := sdk.NewCoins(sdk.NewCoin("art", sdk.NewInt(10))) basic := feegrant.BasicAllowance{ SpendLimit: spendLimit, diff --git a/x/gov/client/cli/tx.go b/x/gov/client/cli/tx.go index 16f1ca1d9e..b70209641b 100644 --- a/x/gov/client/cli/tx.go +++ b/x/gov/client/cli/tx.go @@ -101,13 +101,13 @@ Where proposal.json contains: "@type": "/cosmos.bank.v1beta1.MsgSend", "from_address": "cosmos1...", "to_address": "cosmos1...", - "amount":[{"denom": "stake","amount": "10"}] + "amount":[{"denom": "art","amount": "10"}] } ], // metadata can be any of base64 encoded, raw text, stringified json, IPFS link to json // see below for example metadata "metadata: "4pIMOgIGx1vZGU=", - "deposit": "10stake" + "deposit": "10art" "title: "My proposal" "summary": "A short summary of my proposal" } @@ -230,7 +230,7 @@ func NewCmdDeposit() *cobra.Command { find the proposal-id by running "%s query gov proposals". Example: -$ %s tx gov deposit 1 10stake --from mykey +$ %s tx gov deposit 1 10art --from mykey `, version.AppName, version.AppName, ), diff --git a/x/group/client/cli/tx.go b/x/group/client/cli/tx.go index 93dc5627d1..193ca25654 100644 --- a/x/group/client/cli/tx.go +++ b/x/group/client/cli/tx.go @@ -565,9 +565,9 @@ Parameters: "@type": "/cosmos.bank.v1beta1.MsgSend", "from_address": "cosmos1...", "to_address": "cosmos1...", - "amount":[{"denom": "stake","amount": "10"}] + "amount":[{"denom": "art","amount": "10"}] "title": "My proposal", - "summary": "This is a proposal to send 10 stake to cosmos1...", + "summary": "This is a proposal to send 10 art to cosmos1...", } ], // metadata can be any of base64 encoded, raw text, stringified json, IPFS link to json