Skip to content

Commit f1c2a2a

Browse files
committed
double discount factor
1 parent c8d642d commit f1c2a2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

params/protocol_params.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ const (
179179
)
180180

181181
// Gas discount table for BLS12-381 G1 and G2 multi exponentiation operations
182-
var Bls12381MultiExpDiscountTable = [128]uint64{1200, 888, 764, 641, 594, 547, 500, 453, 438, 423, 408, 394, 379, 364, 349, 334, 330, 326, 322, 318, 314, 310, 306, 302, 298, 294, 289, 285, 281, 277, 273, 269, 268, 266, 265, 263, 262, 260, 259, 257, 256, 254, 253, 251, 250, 248, 247, 245, 244, 242, 241, 239, 238, 236, 235, 233, 232, 231, 229, 228, 226, 225, 223, 222, 221, 220, 219, 219, 218, 217, 216, 216, 215, 214, 213, 213, 212, 211, 211, 210, 209, 208, 208, 207, 206, 205, 205, 204, 203, 202, 202, 201, 200, 199, 199, 198, 197, 196, 196, 195, 194, 193, 193, 192, 191, 191, 190, 189, 188, 188, 187, 186, 185, 185, 184, 183, 182, 182, 181, 180, 179, 179, 178, 177, 176, 176, 175, 174}
182+
var Bls12381MultiExpDiscountTable = [128]uint64{2400, 1776, 1528, 1282, 1188, 1094, 1000, 906, 876, 846, 816, 788, 758, 728, 698, 668, 660, 652, 644, 636, 628, 620, 612, 604, 596, 588, 578, 570, 562, 554, 546, 538, 536, 532, 530, 526, 524, 520, 518, 514, 512, 508, 506, 502, 500, 496, 494, 490, 488, 484, 482, 478, 476, 472, 470, 466, 464, 462, 458, 456, 452, 450, 446, 444, 442, 440, 438, 438, 436, 434, 432, 432, 430, 428, 426, 426, 424, 422, 422, 420, 418, 416, 416, 414, 412, 410, 410, 408, 406, 404, 404, 402, 400, 398, 398, 396, 394, 392, 392, 390, 388, 386, 386, 384, 382, 382, 380, 378, 376, 376, 374, 372, 370, 370, 368, 366, 364, 364, 362, 360, 358, 358, 356, 354, 352, 352, 350, 348}
183183

184184
var (
185185
DifficultyBoundDivisor = big.NewInt(2048) // The bound divisor of the difficulty, used in the update calculations.

0 commit comments

Comments
 (0)