Commit 81e92f0
feat: enable valset update (#1658)
<!--
Please read and fill out this form before submitting your PR.
Please make sure you have reviewed our contributors guide before
submitting your
first PR.
NOTE: PR titles should follow semantic commits:
https://www.conventionalcommits.org/en/v1.0.0/
-->
## Overview
Re-enable `ABCI update valset`.
Closes #1673
<!--
Please provide an explanation of the PR, including the appropriate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue.
Ex: Closes #<issue number>
-->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved handling of validator updates and state management to ensure
consistent and accurate validator information.
- **New Features**
- Enhanced validator and proposer logic for better performance and
reliability.
- **Tests**
- Updated node creation tests to include new parameters for better
simulation of real-world scenarios.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Matthew Sevey <[email protected]>1 parent 8ab5e71 commit 81e92f0
File tree
17 files changed
+632
-129
lines changed- block
- node
- proto/rollkit
- state
- indexer/block/kv
- txindex
- kv
- store
- types
- pb/rollkit
17 files changed
+632
-129
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | 111 | | |
116 | 112 | | |
117 | 113 | | |
| |||
172 | 168 | | |
173 | 169 | | |
174 | 170 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | 171 | | |
180 | 172 | | |
181 | 173 | | |
| |||
205 | 197 | | |
206 | 198 | | |
207 | 199 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | 200 | | |
214 | 201 | | |
215 | 202 | | |
216 | 203 | | |
217 | 204 | | |
218 | 205 | | |
219 | 206 | | |
220 | | - | |
| 207 | + | |
221 | 208 | | |
222 | 209 | | |
223 | 210 | | |
224 | 211 | | |
225 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
226 | 216 | | |
227 | | - | |
228 | 217 | | |
229 | 218 | | |
230 | 219 | | |
231 | 220 | | |
232 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
233 | 227 | | |
234 | 228 | | |
235 | 229 | | |
| |||
261 | 255 | | |
262 | 256 | | |
263 | 257 | | |
264 | | - | |
265 | 258 | | |
266 | 259 | | |
267 | 260 | | |
| |||
285 | 278 | | |
286 | 279 | | |
287 | 280 | | |
288 | | - | |
289 | | - | |
290 | | - | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
291 | 284 | | |
| 285 | + | |
292 | 286 | | |
293 | 287 | | |
294 | 288 | | |
295 | 289 | | |
296 | | - | |
| 290 | + | |
| 291 | + | |
297 | 292 | | |
298 | 293 | | |
299 | 294 | | |
| |||
786 | 781 | | |
787 | 782 | | |
788 | 783 | | |
789 | | - | |
790 | 784 | | |
791 | 785 | | |
792 | 786 | | |
| |||
823 | 817 | | |
824 | 818 | | |
825 | 819 | | |
826 | | - | |
827 | | - | |
828 | | - | |
829 | 820 | | |
830 | 821 | | |
831 | 822 | | |
| |||
836 | 827 | | |
837 | 828 | | |
838 | 829 | | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
839 | 833 | | |
840 | 834 | | |
841 | 835 | | |
| |||
996 | 990 | | |
997 | 991 | | |
998 | 992 | | |
999 | | - | |
1000 | 993 | | |
1001 | 994 | | |
1002 | 995 | | |
| |||
1106 | 1099 | | |
1107 | 1100 | | |
1108 | 1101 | | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
1109 | 1108 | | |
1110 | 1109 | | |
1111 | 1110 | | |
| |||
1137 | 1136 | | |
1138 | 1137 | | |
1139 | 1138 | | |
1140 | | - | |
| 1139 | + | |
1141 | 1140 | | |
1142 | 1141 | | |
1143 | 1142 | | |
| |||
1169 | 1168 | | |
1170 | 1169 | | |
1171 | 1170 | | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
1172 | 1191 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
85 | 89 | | |
| 90 | + | |
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
| |||
97 | 102 | | |
98 | 103 | | |
99 | 104 | | |
| 105 | + | |
100 | 106 | | |
101 | 107 | | |
102 | 108 | | |
| |||
108 | 114 | | |
109 | 115 | | |
110 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
111 | 120 | | |
112 | 121 | | |
113 | 122 | | |
| |||
405 | 414 | | |
406 | 415 | | |
407 | 416 | | |
408 | | - | |
| 417 | + | |
409 | 418 | | |
410 | 419 | | |
411 | 420 | | |
| |||
418 | 427 | | |
419 | 428 | | |
420 | 429 | | |
| 430 | + | |
| 431 | + | |
421 | 432 | | |
422 | 433 | | |
423 | 434 | | |
424 | | - | |
| 435 | + | |
425 | 436 | | |
426 | 437 | | |
427 | 438 | | |
| |||
432 | 443 | | |
433 | 444 | | |
434 | 445 | | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
435 | 449 | | |
436 | 450 | | |
437 | 451 | | |
438 | 452 | | |
439 | | - | |
| 453 | + | |
440 | 454 | | |
441 | 455 | | |
442 | 456 | | |
| |||
448 | 462 | | |
449 | 463 | | |
450 | 464 | | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
451 | 468 | | |
452 | 469 | | |
453 | 470 | | |
454 | | - | |
| 471 | + | |
455 | 472 | | |
456 | 473 | | |
457 | 474 | | |
458 | 475 | | |
459 | | - | |
| 476 | + | |
460 | 477 | | |
461 | 478 | | |
462 | 479 | | |
463 | 480 | | |
464 | | - | |
| 481 | + | |
465 | 482 | | |
466 | 483 | | |
467 | 484 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
899 | 899 | | |
900 | 900 | | |
901 | 901 | | |
902 | | - | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
903 | 909 | | |
904 | 910 | | |
905 | 911 | | |
| |||
0 commit comments