(args: EmbeddedConsensusNodeConfigArgs)
| 324 | |
| 325 | impl From<EmbeddedConsensusNodeConfigArgs> for ConsensusNodeConfigArgs { |
| 326 | fn from(args: EmbeddedConsensusNodeConfigArgs) -> Self { |
| 327 | Self { |
| 328 | node_mode: NodeMode::Validator, |
| 329 | l1_rpc_args: args.l1_rpc_args, |
| 330 | l2_client_args: args.l2_client_args.into(), |
| 331 | l1_config: args.l1_config, |
| 332 | l2_config: args.l2_config, |
| 333 | p2p_flags: args.p2p_flags.into(), |
| 334 | rpc_flags: args.rpc_flags.into(), |
| 335 | sequencer_flags: SequencerArgs::default(), |
| 336 | safedb_path: args.safedb_path, |
| 337 | checkpoint_path: args.checkpoint_path, |
| 338 | upgrade_signal: UpgradeSignalArgs::default(), |
| 339 | } |
| 340 | } |
| 341 | } |
| 342 | |
| 343 | impl From<EmbeddedSequencerConsensusNodeConfigArgs> for ConsensusNodeConfigArgs { |
nothing calls this directly
no outgoing calls
no test coverage detected