ic_test/dummy_evm/mod.rs
1pub struct Evm {}
2impl Evm {
3 pub(crate) fn new() -> Self {
4 Self {}
5 }
6
7 pub(crate) fn rpc_url(&self) -> reqwest::Url {
8 // dummy Url
9 reqwest::Url::parse("http://localhost").expect("Error creating dummy url!")
10 }
11
12 pub(crate) async fn mine_block(&self) {
13 // do nothing, dummy implementation
14 }
15}
16
17#[derive(Clone)]
18pub struct EvmUser {}