You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The protocol params in the genesis file are modelled as:
"protocolVersion": {
"minor": 0,
"major": 2
}
however, the values are concatenated into the db as a single string ProtVer 2 0.
Why is there divergence here? Presumably there's a reason to have structure for the version, which could be represented with jsonb or just flattened into two columns
The column names are more human-friendly, however the actual param names require a manual re-mapping should an implementation wish to use the names defined in the spec.
The text was updated successfully, but these errors were encountered:
This field is contains close to zero information. The value can only change at epoch boundaries (as a result of a protocol parameter update) so storing it for every block seems excessive. I would prefer to drop this column all together.
Previously ProtVer was serialised as a String and then the String was
stored. That now switches to two separate columns for the major and
minor version. Byron also had a third "alt" version but we simply
ignore that.
Closes: #368
The protocol params in the genesis file are modelled as:
however, the values are concatenated into the db as a single string
ProtVer 2 0
.jsonb
or just flattened into two columnsThe text was updated successfully, but these errors were encountered: