Skip to content

Commit 2dbb0df

Browse files
committed
Merge remote-tracking branch 'origin' into eric/block-stm-upstream
2 parents f4deb5b + 92f8736 commit 2dbb0df

File tree

14 files changed

+17
-18
lines changed

14 files changed

+17
-18
lines changed

.github/workflows/dependabot-update-all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
if: ${{ github.actor == 'dependabot[bot]' }}
1515
steps:
1616
- name: Generate Token
17-
uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v1
17+
uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v1
1818
id: app-token
1919
with:
2020
app-id: "${{ secrets.APP_ID }}"

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ This patch update also includes minor dependency bumps.
8181

8282
### Improvements
8383

84+
* (types) [#25342](https://github.com/cosmos/cosmos-sdk/pull/25342) Undeprecated `EmitEvent` and `EmitEvents` on the `EventManager`. These functions will continue to be maintained.
8485
* (types) [#24668](https://github.com/cosmos/cosmos-sdk/pull/24668) Scope the global config to a particular binary so that multiple SDK binaries can be properly run on the same machine.
8586
* (baseapp) [#24655](https://github.com/cosmos/cosmos-sdk/pull/24655) Add mutex locks for `state` and make `lastCommitInfo` atomic to prevent race conditions between `Commit` and `CreateQueryContext`.
8687
* (proto) [#24161](https://github.com/cosmos/cosmos-sdk/pull/24161) Remove unnecessary annotations from `x/staking` authz proto.

types/events.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,11 @@ func NewEventManager() *EventManager {
4343
func (em *EventManager) Events() Events { return em.events }
4444

4545
// EmitEvent stores a single Event object.
46-
// Deprecated: Use EmitTypedEvent
4746
func (em *EventManager) EmitEvent(event Event) {
4847
em.events = em.events.AppendEvent(event)
4948
}
5049

5150
// EmitEvents stores a series of Event objects.
52-
// Deprecated: Use EmitTypedEvents
5351
func (em *EventManager) EmitEvents(events Events) {
5452
em.events = em.events.AppendEvents(events)
5553
}

x/bank/keeper/keeper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ func (k BaseKeeper) MintCoins(ctx context.Context, moduleName string, amounts sd
395395
return nil
396396
}
397397

398-
// BurnCoins burns coins deletes coins from the balance of the module account.
398+
// BurnCoins burns coins from the balance of the module account.
399399
// It will panic if the module account does not exist or is unauthorized.
400400
func (k BaseKeeper) BurnCoins(ctx context.Context, moduleName string, amounts sdk.Coins) error {
401401
acc := k.ak.GetModuleAccount(ctx, moduleName)

x/bank/migrations/v4/gen_state_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func TestMigrateGenState(t *testing.T) {
2828
}},
2929
Supply: sdk.Coins{sdk.NewCoin("supplycoin", sdkmath.NewInt(800))},
3030
DenomMetadata: []types.Metadata{{
31-
Description: "metadesk",
31+
Description: "metadesc",
3232
DenomUnits: nil,
3333
Base: "meta",
3434
Display: "meta",
@@ -47,7 +47,7 @@ func TestMigrateGenState(t *testing.T) {
4747
}},
4848
Supply: sdk.Coins{sdk.NewCoin("supplycoin", sdkmath.NewInt(800))},
4949
DenomMetadata: []types.Metadata{{
50-
Description: "metadesk",
50+
Description: "metadesc",
5151
DenomUnits: nil,
5252
Base: "meta",
5353
Display: "meta",

x/bank/types/genesis_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func TestMigrateSendEnabled(t *testing.T) {
174174
}},
175175
Supply: sdk.Coins{sdk.NewCoin("supplycoin", math.NewInt(800))},
176176
DenomMetadata: []Metadata{{
177-
Description: "metadesk",
177+
Description: "metadesc",
178178
DenomUnits: nil,
179179
Base: "meta",
180180
Display: "meta",
@@ -192,7 +192,7 @@ func TestMigrateSendEnabled(t *testing.T) {
192192
}},
193193
Supply: sdk.Coins{sdk.NewCoin("supplycoin", math.NewInt(800))},
194194
DenomMetadata: []Metadata{{
195-
Description: "metadesk",
195+
Description: "metadesc",
196196
DenomUnits: nil,
197197
Base: "meta",
198198
Display: "meta",

x/bank/types/params_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,5 @@ func Test_validateParams(t *testing.T) {
6969
assert.NoError(t, DefaultParams().Validate(), "default")
7070
assert.NoError(t, NewParams(true).Validate(), "true")
7171
assert.NoError(t, NewParams(false).Validate(), "false")
72-
assert.Error(t, Params{[]*SendEnabled{{"foocoing", false}}, true}.Validate(), "with SendEnabled entry")
72+
assert.Error(t, Params{[]*SendEnabled{{"foocoin", false}}, true}.Validate(), "with SendEnabled entry")
7373
}

x/bank/types/restrictions_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ func TestNoOpMintingRestrictionFn(t *testing.T) {
391391
err = types.NoOpMintingRestrictionFn(sdk.Context{}, sdk.Coins{})
392392
}
393393
require.NotPanics(t, testFunc, "NoOpMintingRestrictionFn")
394-
assert.NoError(t, err, "NoOpSendRestrictionFn error")
394+
assert.NoError(t, err, "NoOpMintingRestrictionFn error")
395395
}
396396

397397
// SendRestrictionArgs are the args provided to a SendRestrictionFn function.

x/consensus/keeper/keeper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func (s *KeeperTestSuite) TestUpdateParams() {
165165
expErrMsg: "",
166166
},
167167
{
168-
name: "invalid params",
168+
name: "invalid params",
169169
input: &types.MsgUpdateParams{
170170
Authority: s.consensusParamsKeeper.GetAuthority(),
171171
Block: &cmtproto.BlockParams{MaxGas: -10, MaxBytes: -10},

x/consensus/module.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *g
5454
}
5555
}
5656

57-
// RegisterInterfaces registers interfaces and implementations of the bank module.
57+
// RegisterInterfaces registers interfaces and implementations of the consensus module.
5858
func (AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry) {
5959
types.RegisterInterfaces(registry)
6060
}

0 commit comments

Comments
 (0)