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
Correct management of protocol params (aka: PParams) is a complex and essential part of the ledger logic. The easiest way (at the moment) to ensure a correct implementation and detect regressions is by assuming that the output from the Haskell node as our gold-standard.
The current Dolos implementation for PParams management resides here
A hardcoded set of PParams for different epochs and networks is available here. Take these values with a grain of salt, they have been compiled manually and might have inconsistencies.
Goal
We need new unit tests that allows us to compare the output from Dolos' PParams aggregation with well-known values gathered from the chain.
One way to approach this (not mandatory) is to gather the actual blocks from the chain containing param updates and store them as test data in the repo. With use this blocks to execute the PParams aggregation logic in Dolos and then compare the output with the well-known values.
The text was updated successfully, but these errors were encountered:
Context
Correct management of protocol params (aka: PParams) is a complex and essential part of the ledger logic. The easiest way (at the moment) to ensure a correct implementation and detect regressions is by assuming that the output from the Haskell node as our gold-standard.
The current Dolos implementation for PParams management resides here
A hardcoded set of PParams for different epochs and networks is available here. Take these values with a grain of salt, they have been compiled manually and might have inconsistencies.
Goal
We need new unit tests that allows us to compare the output from Dolos' PParams aggregation with well-known values gathered from the chain.
One way to approach this (not mandatory) is to gather the actual blocks from the chain containing param updates and store them as test data in the repo. With use this blocks to execute the PParams aggregation logic in Dolos and then compare the output with the well-known values.
The text was updated successfully, but these errors were encountered: