The motivation behind this PR is that we are building a simple tool to dump zkevm-node/cdk-validium components default configuration files. The bridge service is the only one that doesn't implement the Default() (*Config, error) method.
Closes #.
What does this PR do?
Add a Default() (*Config, error) method to parse the default configuration values. This method is the same as the one used in zkevm-node and agglayer.
Update the implementation of Load(configFilePath string, network string) (*Config, error) to use this new Default method. The implementation is the same as the one used in zkevm-node and agglayer.
The motivation behind this PR is that we are building a simple tool to dump zkevm-node/cdk-validium components default configuration files. The bridge service is the only one that doesn't implement the
Default() (*Config, error)
method.Closes #.
What does this PR do?
Add a
Default() (*Config, error)
method to parse the default configuration values. This method is the same as the one used in zkevm-node and agglayer.Update the implementation of
Load(configFilePath string, network string) (*Config, error)
to use this newDefault
method. The implementation is the same as the one used in zkevm-node and agglayer.Reviewers
Main reviewers:
Codeowner reviewers: