pub fn create_anvil(block_time: Option<Duration>) -> AnvilInstance
Creates local Anvil instance.
Used for testing. When block time is given, new blocks are mined periodically. Otherwise, a new block is mined per transaction.