diff --git a/specs/src/specs/params.md b/specs/src/specs/params.md index f8c5cb9b20..529aa195cf 100644 --- a/specs/src/specs/params.md +++ b/specs/src/specs/params.md @@ -32,7 +32,7 @@ are blocked by the `x/paramfilter` module. | distribution.BaseProposerReward | 0 | Reward in the mint demonination for proposing a block. | True | | distribution.BonusProposerReward | 0 | Extra reward in the mint denomination for proposers based on the voting power included in the commit. | True | | gov.DepositParams.MinDeposit | 1000000000utia (1000 TIA) | Minimum deposit for a proposal to enter voting period. | True | -| gov.DepositParams.MaxDepositPeriod | 1209600000000000 (1 week) | Maximum period for token holders to deposit on a proposal in nanoseconds. | True | +| gov.DepositParams.MaxDepositPeriod | 604800000000000 (1 week) | Maximum period for token holders to deposit on a proposal in nanoseconds. | True | | gov.VotingParams.VotingPeriod | 604800000000000 (1 week) | Duration of the voting period in nanoseconds. | True | | gov.TallyParams.Quorum | 0.334 (33.4%) | Minimum percentage of total stake needed to vote for a result to be considered valid. | True | | gov.TallyParams.Threshold | 0.50 (50%) | Minimum proportion of Yes votes for proposal to pass. | True | diff --git a/x/qgb/keeper/keeper_attestation.go b/x/qgb/keeper/keeper_attestation.go index 51c3f1b21d..f48f1d1470 100644 --- a/x/qgb/keeper/keeper_attestation.go +++ b/x/qgb/keeper/keeper_attestation.go @@ -53,14 +53,14 @@ func (k Keeper) SetLatestAttestationNonce(ctx sdk.Context, nonce uint64) { } store := ctx.KVStore(k.storeKey) - store.Set([]byte(types.LatestAttestationtNonce), types.UInt64Bytes(nonce)) + store.Set([]byte(types.LatestAttestationNonce), types.UInt64Bytes(nonce)) } // CheckLatestAttestationNonce returns true if the latest attestation request // nonce is declared in the store and false if it has not been initialized. func (k Keeper) CheckLatestAttestationNonce(ctx sdk.Context) bool { store := ctx.KVStore(k.storeKey) - has := store.Has([]byte(types.LatestAttestationtNonce)) + has := store.Has([]byte(types.LatestAttestationNonce)) return has } @@ -71,7 +71,7 @@ func (k Keeper) CheckLatestAttestationNonce(ctx sdk.Context) bool { // method. func (k Keeper) GetLatestAttestationNonce(ctx sdk.Context) uint64 { store := ctx.KVStore(k.storeKey) - bytes := store.Get([]byte(types.LatestAttestationtNonce)) + bytes := store.Get([]byte(types.LatestAttestationNonce)) if bytes == nil { panic("nil LatestAttestationNonce") } diff --git a/x/qgb/types/keys.go b/x/qgb/types/keys.go index 5a2c83b828..f82ba1e937 100644 --- a/x/qgb/types/keys.go +++ b/x/qgb/types/keys.go @@ -31,8 +31,8 @@ const ( // height LatestUnBondingBlockHeight = "LatestUnBondingBlockHeight" - // LatestAttestationtNonce indexes the latest attestation request nonce - LatestAttestationtNonce = "LatestAttestationNonce" + // LatestAttestationNonce indexes the latest attestation request nonce + LatestAttestationNonce = "LatestAttestationNonce" // EarliestAvailableAttestationNonce indexes the earliest available // attestation nonce