File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -159,21 +159,16 @@ def test_calculate_phase_out(self):
159
159
160
160
161
161
def test_expected_plot_size_v1 () -> None :
162
- last_size = 4800000
162
+ last_size = 4800_000
163
163
for k in range (18 , 50 ):
164
164
plot_size = _expected_plot_size (PlotSize .make_v1 (k ))
165
165
assert plot_size > last_size
166
166
last_size = plot_size
167
167
168
168
169
169
def test_expected_plot_size_v2 () -> None :
170
- last_size = 1700000000
170
+ last_size = 200_000
171
171
for k in range (18 , 32 , 2 ):
172
172
plot_size = _expected_plot_size (PlotSize .make_v2 (k ))
173
- # TODO: todo_v2_plots remove this special case once we support smaller k-sizes
174
- if k < 28 :
175
- assert plot_size == 0
176
- continue
177
-
178
173
assert plot_size > last_size
179
174
last_size = plot_size
Original file line number Diff line number Diff line change 7
7
# This is not used in consensus, only for display purposes
8
8
UI_ACTUAL_SPACE_CONSTANT_FACTOR = 0.78
9
9
10
- # these values are from CHIP-48
10
+ # these values prelimenary. When the plotter is complete, replace this table
11
+ # with a closed form formula
11
12
v2_plot_sizes : dict [int , uint64 ] = {
12
- 28 : uint64 (1717986918 ),
13
- 30 : uint64 (4509715660 ),
14
- 32 : uint64 (11381663334 ),
13
+ 16 : uint64 (222_863 ),
14
+ 18 : uint64 (1_048_737 ),
15
+ 20 : uint64 (4_824_084 ),
16
+ 22 : uint64 (21_812_958 ),
17
+ 24 : uint64 (97_318_160 ),
18
+ 26 : uint64 (429_539_960 ),
19
+ 28 : uint64 (1_879_213_114 ),
20
+ 30 : uint64 (8_161_097_549 ),
21
+ 32 : uint64 (35_221_370_574 ),
15
22
}
16
23
17
24
You can’t perform that action at this time.
0 commit comments