Skip to content

Commit 3f22bcc

Browse files
SIMD-0197: more lint fixes
1 parent 40138ed commit 3f22bcc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

proposals/0197-chilli-peppers.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ usage similar to the way that Compute Units seek to govern CPU usage.
1818
Tiered memory bandwidth will become a performance bottleneck as transaction
1919
throughput and total state size increase. This proposal serves to outline
2020
changes to the Solana protocol that would enable:
21+
2122
- Deterministic, easily computable and cluster-wide separation of state into
2223
hot and cold tiers.
2324
- A new transaction level resource requesting the transfer of state from cold
@@ -116,15 +117,17 @@ increasing record of state consumption.
116117
Computing the block Chili Pepper clock:
117118

118119
```python
119-
block_chili_pepper_clock = prev_block_chili_pepper_clock + sum(txn.requested_chili_peppers for txn in block.txns)
120+
block_chili_pepper_clock = prev_block_chili_pepper_clock +
121+
sum(txn.requested_chili_peppers for txn in block.txns)
120122
```
121123

122124
Implemented as a 64-bit unsigned integer (uint64), this clock is updated at the
123125
beginning of every block to reflect the total Chili Peppers requested since the
124126
chain's genesis. This monotonically increasing value is stored in a dedicated
125127
system variable (sysvar), ensuring that it remains accessible and immutable
126128
throughout the blockchain's operation.
127-
The new sysvar will have identifier: `SysvarB1ockChiliPepperC1ock111111111111111111`
129+
The new sysvar will have identifier:
130+
`SysvarB1ockChiliPepperC1ock111111111111111111`
128131

129132
```rust
130133
struct SysvarBlockChiliPepperClock {

0 commit comments

Comments
 (0)