Skip to content

Commit

Permalink
Update da validator type
Browse files Browse the repository at this point in the history
  • Loading branch information
gianbelinche committed Jan 30, 2025
1 parent 9075650 commit f60bbf5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ async fn get_da_validator_type(config: &ChainConfig) -> anyhow::Result<DAValidat
(L1BatchCommitmentMode::Rollup, _) => Ok(DAValidatorType::Rollup),
(L1BatchCommitmentMode::Validium, None | Some("no_da")) => Ok(DAValidatorType::NoDA),
(L1BatchCommitmentMode::Validium, Some("avail")) => Ok(DAValidatorType::Avail),
(L1BatchCommitmentMode::Validium, Some("eigen")) => Ok(DAValidatorType::EigenDA),
_ => anyhow::bail!("DAValidatorType is not supported"),
}
}

0 comments on commit f60bbf5

Please sign in to comment.