You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: main.rs
    path of file: ./repos/ethers-rs/ethers-etherscan/tests/it
    
    the code of the file until where you have to start completion: //! Etherscan integration tests

#![cfg(not(target_arch = "wasm32"))]

use ethers_core::types::Chain;
use ethers_etherscan::{errors::EtherscanError, Client};
use std::{
    future::Future,
    time::{Duration, Instant}
    
async fn run_at_least_duration<T>(duration: Duration, block: impl Future<Output = T>) -> T {
    let start = Instant::now();
    let output = block.await;
    let elapsed = start.elapsed();
    if elapsed < duration {
        tokio::time::sleep(duration - elapsed).await;
    }
    output
}