Commit 5281d23
authored
Use proper integer encoding for Union in SSZ (#4725)
From "Integers are encoded as strings", it follows that the numeric
"selector" of `Union` should also be encoded like that. Note that
`Union`'s JSON encoding is currently unused. Portal uses it only for
binary serialization.1 parent 079f0c6 commit 5281d23
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| |||
0 commit comments