Skip to content

Commit 55e6862

Browse files
committed
unused-parameter
1 parent 0d7037c commit 55e6862

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

modules/apps/29-fee/ica_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ func (s *FeeTestSuite) TestFeeInterchainAccounts() {
179179
s.Require().Equal(preEscrowBalance.SubAmount(defaultRecvFee.AmountOf(sdk.DefaultBondDenom)), postDistBalance)
180180
}
181181

182-
func buildInterchainAccountsPacket(path *ibctesting.Path, data []byte, seq uint64) channeltypes.Packet {
182+
func buildInterchainAccountsPacket(path *ibctesting.Path, data []byte, _ uint64) channeltypes.Packet {
183183
packet := channeltypes.NewPacket(
184184
data,
185185
1,

modules/apps/transfer/ibc_module.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ func (im IBCModule) OnChanOpenTry(
122122

123123
// OnChanOpenAck implements the IBCModule interface
124124
func (IBCModule) OnChanOpenAck(
125-
ctx sdk.Context,
126-
portID,
127-
channelID string,
125+
_ sdk.Context,
126+
_,
127+
_ string,
128128
_ string,
129129
counterpartyVersion string,
130130
) error {

modules/core/02-client/migrations/v7/solomachine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ func (*ClientState) VerifyMembership(
231231
// VerifyNonMembership panics!
232232
func (*ClientState) VerifyNonMembership(
233233
_ sdk.Context,
234-
_clientStore sdk.KVStore,
234+
_ sdk.KVStore,
235235
_ codec.BinaryCodec,
236236
_ exported.Height,
237237
_ uint64,

modules/core/02-client/migrations/v7/store.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func handleSolomachineMigration(ctx sdk.Context, store sdk.KVStore, cdc codec.Bi
8181

8282
// handlerTendermintMigration asserts that the tendermint client in state can be decoded properly.
8383
// This ensures the upgrading chain properly registered the tendermint client types on the chain codec.
84-
func handleTendermintMigration(ctx sdk.Context, store sdk.KVStore, cdc codec.BinaryCodec, clientKeeper ClientKeeper) error {
84+
func handleTendermintMigration(ctx sdk.Context, store sdk.KVStore, _ codec.BinaryCodec, clientKeeper ClientKeeper) error {
8585
clients, err := collectClients(ctx, store, exported.Tendermint)
8686
if err != nil {
8787
return err
@@ -113,7 +113,7 @@ func handleTendermintMigration(ctx sdk.Context, store sdk.KVStore, cdc codec.Bin
113113
}
114114

115115
// handleLocalhostMigration removes all client and consensus states associated with the localhost client type.
116-
func handleLocalhostMigration(ctx sdk.Context, store sdk.KVStore, cdc codec.BinaryCodec, clientKeeper ClientKeeper) error {
116+
func handleLocalhostMigration(ctx sdk.Context, store sdk.KVStore, _ codec.BinaryCodec, clientKeeper ClientKeeper) error {
117117
clients, err := collectClients(ctx, store, Localhost)
118118
if err != nil {
119119
return err

modules/core/keeper/keeper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type MockStakingKeeper struct {
4747
mockField string
4848
}
4949

50-
func (MockStakingKeeper) GetHistoricalInfo(_ sdk.Context, height int64) (stakingtypes.HistoricalInfo, bool) {
50+
func (MockStakingKeeper) GetHistoricalInfo(_ sdk.Context, _ int64) (stakingtypes.HistoricalInfo, bool) {
5151
return stakingtypes.HistoricalInfo{}, true
5252
}
5353

modules/light-clients/06-solomachine/misbehaviour_handle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func (ClientState) CheckForMisbehaviour(_ sdk.Context, _ codec.BinaryCodec, _ sd
1919
return false
2020
}
2121

22-
func (cs ClientState) verifyMisbehaviour(_ sdk.Context, cdc codec.BinaryCodec, _ sdk.KVStore, _ *Misbehaviour) error {
22+
func (cs ClientState) verifyMisbehaviour(_ sdk.Context, cdc codec.BinaryCodec, _ sdk.KVStore, misbehaviour *Misbehaviour) error {
2323
// NOTE: a check that the misbehaviour message data are not equal is done by
2424
// misbehaviour.ValidateBasic which is called by the 02-client keeper.
2525
// verify first signature

0 commit comments

Comments
 (0)