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
Description: I've been reviewing how the emulator loads Genesis files upon start and found that it defaults to Nothing. I want to clarify if this is intentional or if there's an option to provide Genesis files explicitly. If not, is there a plan to support this functionality, especially with the upcoming Conway upgrade?
Steps to Reproduce:
Check the code responsible for loading the genesis files (cardano-node-socket-emulator).
Notice that the main uses the default implementation (defaultNodeServerConfig which is set to Nothing).
Expected Behavior: An explicit genesis file should be required or loaded if available.
Actual Behavior: Defaults to Nothing without indicating the need for a genesis file.
Questions:
Would you happen to know if this is the intended behavior?
How does the emulator load Genesis files upon the start?
Additional Information: This could affect configurations when simulating different blockchain states during testing or development.
The text was updated successfully, but these errors were encountered:
@Dr-Mazen-Khaddaj> interim maintainer of cardano-node-emulator here 👋
Indeed as you pointed out, it is not possible actually to specify custom genesis files, as the paths are defaulted to Nothinghere and the default value is used in the main.
We could have the main take command-line parameters (using optparse-applicative) and allow the user to give paths to its own genesis files. Would that help with you use case?
Description: I've been reviewing how the emulator loads Genesis files upon start and found that it defaults to Nothing. I want to clarify if this is intentional or if there's an option to provide Genesis files explicitly. If not, is there a plan to support this functionality, especially with the upcoming Conway upgrade?
Steps to Reproduce:
main
uses the default implementation (defaultNodeServerConfig
which is set to Nothing).Expected Behavior: An explicit genesis file should be required or loaded if available.
Actual Behavior: Defaults to Nothing without indicating the need for a genesis file.
Questions:
Would you happen to know if this is the intended behavior?
How does the emulator load Genesis files upon the start?
Additional Information: This could affect configurations when simulating different blockchain states during testing or development.
The text was updated successfully, but these errors were encountered: