foundry_cli::utils

Function get_chain

Source
pub async fn get_chain<P, T>(chain: Option<Chain>, provider: P) -> Result<Chain>
where P: Provider<T, AnyNetwork>, T: Transport + Clone,