Skip to content

Commit 2daf046

Browse files
authored
Merge branch 'main' into jt/mint-max-supply
2 parents a5f405b + d6c085d commit 2daf046

35 files changed

+56
-52
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
386386
* (baseapp) [#16239](https://github.com/cosmos/cosmos-sdk/pull/16239) Add Gas Limits to allow node operators to resource bound queries.
387387
* (cli) [#16209](https://github.com/cosmos/cosmos-sdk/pull/16209) Make `StartCmd` more customizable.
388388
* (types/simulation) [#16074](https://github.com/cosmos/cosmos-sdk/pull/16074) Add generic SimulationStoreDecoder for modules using collections.
389-
* (genutil) [#16046](https://github.com/cosmos/cosmos-sdk/pull/16046) Add "module-name" flag to genutil `add-genesis-account` to enable intializing module accounts at genesis.* [#15970](https://github.com/cosmos/cosmos-sdk/pull/15970) Enable SIGN_MODE_TEXTUAL.
389+
* (genutil) [#16046](https://github.com/cosmos/cosmos-sdk/pull/16046) Add "module-name" flag to genutil `add-genesis-account` to enable initializing module accounts at genesis.* [#15970](https://github.com/cosmos/cosmos-sdk/pull/15970) Enable SIGN_MODE_TEXTUAL.
390390
* (types) [#15958](https://github.com/cosmos/cosmos-sdk/pull/15958) Add `module.NewBasicManagerFromManager` for creating a basic module manager from a module manager.
391391
* (types/module) [#15829](https://github.com/cosmos/cosmos-sdk/pull/15829) Add new endblocker interface to handle valset updates.
392392
* (runtime) [#15818](https://github.com/cosmos/cosmos-sdk/pull/15818) Provide logger through `depinject` instead of appBuilder.
@@ -437,7 +437,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
437437
* (cli) [#16206](https://github.com/cosmos/cosmos-sdk/pull/16206) Make ABCI handshake profileable.
438438
* (types) [#16076](https://github.com/cosmos/cosmos-sdk/pull/16076) Optimize `ChainAnteDecorators`/`ChainPostDecorators` to instantiate the functions once instead of on every invocation of the returned `AnteHandler`/`PostHandler`.
439439
* (server) [#16071](https://github.com/cosmos/cosmos-sdk/pull/16071) When `mempool.max-txs` is set to a negative value, use a no-op mempool (effectively disable the app mempool).
440-
* (types/query) [#16041](https://github.com/cosmos/cosmos-sdk/pull/16041) Change pagination max limit to a variable in order to be modifed by application devs.
440+
* (types/query) [#16041](https://github.com/cosmos/cosmos-sdk/pull/16041) Change pagination max limit to a variable in order to be modified by application devs.
441441
* (simapp) [#15958](https://github.com/cosmos/cosmos-sdk/pull/15958) Refactor SimApp for removing the global basic manager.
442442
* (all modules) [#15901](https://github.com/cosmos/cosmos-sdk/issues/15901) All core Cosmos SDK modules query commands have migrated to [AutoCLI](https://docs.cosmos.network/main/core/autocli), ensuring parity between gRPC and CLI queries.
443443
* (x/auth) [#15867](https://github.com/cosmos/cosmos-sdk/pull/15867) Support better logging for signature verification failure.
@@ -514,7 +514,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
514514
* (x/auth) [#16650](https://github.com/cosmos/cosmos-sdk/pull/16650) The *cli testutil* `QueryAccountExec` has been removed. Use the gRPC or REST query instead.
515515
* (x/auth) [#16621](https://github.com/cosmos/cosmos-sdk/pull/16621) Pass address codec to auth new keeper constructor.
516516
* (x/auth) [#16423](https://github.com/cosmos/cosmos-sdk/pull/16423) `helpers.AddGenesisAccount` has been moved to `x/genutil` to remove the cyclic dependency between `x/auth` and `x/genutil`.
517-
* (baseapp) [#16342](https://github.com/cosmos/cosmos-sdk/pull/16342) NewContext was renamed to NewContextLegacy. The replacement (NewContext) now does not take a header, instead you should set the header via `WithHeaderInfo` or `WithBlockHeight`. Note that `WithBlockHeight` will soon be depreacted and its recommneded to use `WithHeaderInfo`.
517+
* (baseapp) [#16342](https://github.com/cosmos/cosmos-sdk/pull/16342) NewContext was renamed to NewContextLegacy. The replacement (NewContext) now does not take a header, instead you should set the header via `WithHeaderInfo` or `WithBlockHeight`. Note that `WithBlockHeight` will soon be deprecated and its recommended to use `WithHeaderInfo`.
518518
* (x/mint) [#16329](https://github.com/cosmos/cosmos-sdk/pull/16329) Use collections for state management:
519519
* Removed: keeper `GetParams`, `SetParams`, `GetMinter`, `SetMinter`.
520520
* (x/crisis) [#16328](https://github.com/cosmos/cosmos-sdk/pull/16328) Use collections for state management:
@@ -547,7 +547,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
547547
* (x/gov) [#16127](https://github.com/cosmos/cosmos-sdk/pull/16127) Use collections for deposit state management:
548548
* The following methods are removed from the gov keeper: `GetDeposit`, `GetAllDeposits`, `IterateAllDeposits`.
549549
* The following functions are removed from the gov types: `DepositKey`, `DepositsKey`.
550-
* (x/gov) [#16118](https://github.com/cosmos/cosmos-sdk/pull/16118/) Use collections for constituion and params state management.
550+
* (x/gov) [#16118](https://github.com/cosmos/cosmos-sdk/pull/16118/) Use collections for constitution and params state management.
551551
* (x/gov) [#16106](https://github.com/cosmos/cosmos-sdk/pull/16106) Remove gRPC query methods from gov keeper.
552552
* (x/*all*) [#16052](https://github.com/cosmos/cosmos-sdk/pull/16062) `GetSignBytes` implementations on messages and global legacy amino codec definitions have been removed from all modules.
553553
* (sims) [#16052](https://github.com/cosmos/cosmos-sdk/pull/16062) `GetOrGenerate` no longer requires a codec argument is now 4-arity instead of 5-arity.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<a href="https://github.com/cosmos/cosmos-sdk/actions/workflows/sims.yml">
2626
<img alt="Sims" src="https://github.com/cosmos/cosmos-sdk/workflows/Sims/badge.svg" />
2727
<a href="https://github.com/cosmos/cosmos-sdk/actions/workflows/lint.yml">
28-
<img alt="Lint Satus" src="https://github.com/cosmos/cosmos-sdk/workflows/Lint/badge.svg" />
28+
<img alt="Lint Status" src="https://github.com/cosmos/cosmos-sdk/workflows/Lint/badge.svg" />
2929
</div>
3030

3131
The Cosmos SDK is a framework for building blockchain applications. [CometBFT (BFT Consensus)](https://github.com/cometbft/cometbft) and the Cosmos SDK are written in the Go programming language. Cosmos SDK is used to build [Gaia](https://github.com/cosmos/gaia), the implementation of the Cosmos Hub.

baseapp/abci_utils_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ func (s *ABCIUtilsTestSuite) TestDefaultProposalHandler_PriorityNonceMempoolTxSe
657657
expectedTxs: []int{9},
658658
},
659659
"no txs added": {
660-
// Becasuse the first tx was deemed valid but too big, the next expected valid sequence is tx[0].seq (3), so
660+
// Because the first tx was deemed valid but too big, the next expected valid sequence is tx[0].seq (3), so
661661
// the rest of the txs fail because they have a seq of 4.
662662
ctx: s.ctx,
663663
txInputs: []testTx{testTxs[12], testTxs[13], testTxs[14]},

baseapp/baseapp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ type BaseApp struct {
121121
// ResponseCommit.RetainHeight value during ABCI Commit. A value of 0 indicates
122122
// that no blocks should be pruned.
123123
//
124-
// Note: CometBFT block pruning is dependant on this parameter in conjunction
124+
// Note: CometBFT block pruning is dependent on this parameter in conjunction
125125
// with the unbonding (safety threshold) period, state pruning and state sync
126126
// snapshot parameters to determine the correct minimum value of
127127
// ResponseCommit.RetainHeight.

baseapp/test_helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func (app *BaseApp) SimTxFinalizeBlock(txEncoder sdk.TxEncoder, tx sdk.Tx) (sdk.
5252
}
5353

5454
// SimWriteState is an entrypoint for simulations only. They are not executed during the normal ABCI finalize
55-
// block step but later. Therefor an extra call to the root multi-store (app.cms) is required to write the changes.
55+
// block step but later. Therefore an extra call to the root multi-store (app.cms) is required to write the changes.
5656
func (app *BaseApp) SimWriteState() {
5757
app.stateManager.GetState(execModeFinalize).MultiStore.Write()
5858
}

docs/architecture/adr-012-state-accessors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (Value) Set(ctx Context, o interface{}) {}
6767
// Check if a raw value exists
6868
func (Value) Exists(ctx Context) bool {}
6969

70-
// Delete a raw value value
70+
// Delete a raw value
7171
func (Value) Delete(ctx Context) {}
7272
```
7373

docs/architecture/adr-014-proportional-slashing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Griefing, the act of intentionally getting oneself slashed in order to make anot
4949

5050
### Implementation
5151

52-
In the slashing module, we will add two queues that will track all of the recent slash events. For double sign faults, we will define "recent slashes" as ones that have occurred within the last `unbonding period`. For liveness faults, we will define "recent slashes" as ones that have occurred withing the last `jail period`.
52+
In the slashing module, we will add two queues that will track all of the recent slash events. For double sign faults, we will define "recent slashes" as ones that have occurred within the last `unbonding period`. For liveness faults, we will define "recent slashes" as ones that have occurred within the last `jail period`.
5353

5454
```go
5555
type SlashEvent struct {

docs/architecture/adr-018-extendable-voting-period.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ There is a new `Msg` type called `MsgExtendVotingPeriod`, which can be sent by a
2727

2828
So for example, if the `MaxVotingPeriodExtension` is set to 100 Days, then anyone with 1% of voting power can extend the voting power by 1 day. If 33% of voting power has sent the message, the voting period will be extended by 33 days. Thus, if absolutely everyone chooses to extend the voting period, the absolute maximum voting period will be `MinVotingPeriod + MaxVotingPeriodExtension`.
2929

30-
This system acts as a sort of distributed coordination, where individual stakers choosing to extend or not, allows the system the guage the conentiousness/complexity of the proposal. It is extremely unlikely that many stakers will choose to extend at the exact same time, it allows stakers to view how long others have already extended thus far, to decide whether or not to extend further.
30+
This system acts as a sort of distributed coordination, where individual stakers choosing to extend or not, allows the system the gauge the contentiousness/complexity of the proposal. It is extremely unlikely that many stakers will choose to extend at the exact same time, it allows stakers to view how long others have already extended thus far, to decide whether or not to extend further.
3131

3232
### Dealing with Unbonding/Redelegation
3333

docs/architecture/adr-020-protobuf-transaction-encoding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ message Tx {
6969
repeated bytes signatures = 3;
7070
}
7171
72-
// A variant of Tx that pins the signer's exact binary represenation of body and
72+
// A variant of Tx that pins the signer's exact binary representation of body and
7373
// auth_info. This is used for signing, broadcasting and verification. The binary
7474
// `serialize(tx: TxRaw)` is stored in Tendermint and the hash `sha256(serialize(tx: TxRaw))`
7575
// becomes the "txhash", commonly used as the transaction ID.

docs/architecture/adr-021-protobuf-query-encoding.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This ADR is a continuation of the motivation, design, and context established in
1515
[ADR 020](./adr-020-protobuf-transaction-encoding.md), namely, we aim to design the
1616
Protocol Buffer migration path for the client-side of the Cosmos SDK.
1717

18-
This ADR continues from [ADD 020](./adr-020-protobuf-transaction-encoding.md)
18+
This ADR continues from [ADR 020](./adr-020-protobuf-transaction-encoding.md)
1919
to specify the encoding of queries.
2020

2121
## Decision
@@ -176,7 +176,7 @@ service Query {
176176
}
177177
```
178178

179-
grpc-gateway will work direcly against the GRPC proxy described above which will
179+
grpc-gateway will work directly against the GRPC proxy described above which will
180180
translate requests to ABCI queries under the hood. grpc-gateway can also
181181
generate Swagger definitions automatically.
182182

0 commit comments

Comments
 (0)