Skip to content

Commit 8a354a0

Browse files
committed
docs: fix formula
1 parent 3fd8107 commit 8a354a0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/cost-estimate/03-storage.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,22 +103,21 @@ requirements.
103103
- $T_{\text{month}}$ = Number of seconds in a month (2,628,000)
104104
- $\text{Size}_{\text{IB}}$ = Size of each IB in bytes (98,608)
105105

106-
2. **EB Storage**:
107-
$$S_{\text{EB}} = N_{\text{EB\_stage}} \times N_{\text{stages}} \times (\text{Size}_{\text{EB\_header}} + \text{Size}_{\text{EB\_body}} \times N_{\text{IB\_refs}})$$
106+
2. **EB Storage**: $$S_{\text{EB}} = N_{\text{EB\_stage}} \times N_{\text{stages}} \times (\text{Size}_{\text{EB\_header}} + \text{Size}_{\text{EB\_body}} \times N_{\text{IB\_refs}})$$
108107
where:
109108
- $N_{\text{EB\_stage}}$ = Number of EBs per stage (1.5)
110109
- $N_{\text{stages}}$ = Number of stages per month (131,400)
111110
- $\text{Size}_{\text{EB\_header}}$ = EB header size (240 bytes)
112111
- $\text{Size}_{\text{EB\_body}}$ = EB body size per reference (32 bytes)
113112
- $N_{\text{IB\_refs}}$ = Number of IB references per EB (varies by IB rate)
114113

115-
3. **RB Storage**: $$S_{\text{RB}} = N_{\text{RB\_stage}} \times N_{\text{stages}} \times \text{Size}_{\text{RB}}$$
114+
1. **RB Storage**: $$S_{\text{RB}} = N_{\text{RB\_stage}} \times N_{\text{stages}} \times \text{Size}_{\text{RB}}$$
116115
where:
117116
- $N_{\text{RB\_stage}}$ = Number of RBs per stage (1)
118117
- $N_{\text{stages}}$ = Number of stages per month (131,400)
119118
- $\text{Size}_{\text{RB}}$ = Size of each RB (8,192 bytes = header + certificate)
120119

121-
4. **Total Chain State Storage**: $$S_{\text{total}} = S_{\text{IB}} + S_{\text{EB}} + S_{\text{RB}}$$
120+
2. **Total Chain State Storage**: $$S_{\text{total}} = S_{\text{IB}} + S_{\text{EB}} + S_{\text{RB}}$$
122121

123122
### Storage Calculation (0.05 IB/s)
124123

0 commit comments

Comments
 (0)