Skip to content

Commit 9e7e5ec

Browse files
committed
fix lint
1 parent a6262c5 commit 9e7e5ec

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

x/simulation/simulate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ func SimulateFromSeedX(
244244

245245
if config.Commit {
246246
// this is to be commented out for ethermint simulation tests to pass as this prevents
247-
// inconsistent state to be committed during simulation
247+
// inconsistent state to be committed during simulation
248248
// app.SimWriteState()
249249
if _, err := app.Commit(); err != nil {
250250
return params, accs, fmt.Errorf("commit failed at height %d: %w", blockHeight, err)

x/staking/types/keys.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,18 @@ var (
4848

4949
UnbondingQueueKey = []byte{0x41} // prefix for the timestamps in unbonding queue
5050
RedelegationQueueKey = []byte{0x42} // prefix for the timestamps in redelegations queue
51-
ValidatorQueueKey = []byte{0x43} // prefix for the timestamps in validator queue
51+
ValidatorQueueKey = []byte{0x43} // prefix for the timestamps in validator queue
5252

5353
// Queue head keys: store the minimum (earliest) completion key in each queue.
5454
// Used to start iteration from the head instead of prefix start, reducing EndBlock iterator cost.
5555
// Value is the full queue key (e.g. GetUnbondingDelegationTimeKey(t)); 0x00 suffix ensures these sort before any real queue key.
56-
UBDQueueHeadKey = append(UnbondingQueueKey, 0x00)
56+
UBDQueueHeadKey = append(UnbondingQueueKey, 0x00)
5757
RedelegationQueueHeadKey = append(RedelegationQueueKey, 0x00)
5858
ValidatorQueueHeadKey = append(ValidatorQueueKey, 0x00)
5959

60-
HistoricalInfoKey = []byte{0x50} // prefix for the historical info
60+
HistoricalInfoKey = []byte{0x50} // prefix for the historical info
6161
HistoricalInfoMinHeightKey = append(HistoricalInfoKey, 0x00) // stored min height for bounded iteration (value: 8-byte height)
62-
ValidatorUpdatesKey = []byte{0x61} // prefix for the end block validator updates key
62+
ValidatorUpdatesKey = []byte{0x61} // prefix for the end block validator updates key
6363

6464
ParamsKey = []byte{0x51} // prefix for parameters for module x/staking
6565

0 commit comments

Comments
 (0)