openzeppelin_relayer::bootstrap

Function process_config_file

Source
pub async fn process_config_file<J: JobProducerTrait>(
    config_file: Config,
    app_state: ThinData<AppState<J>>,
) -> Result<()>
Expand description

Process a complete configuration file by initializing all repositories.

This function processes the entire configuration file in the following order:

  1. Process signers
  2. Process notifications
  3. Process relayers