MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / run_http

Function run_http

fendermint/eth/api/examples/greeter.rs:190–196  ·  view source on GitHub ↗

The HTTP interface provides JSON-RPC request/response endpoints.

(mut provider: Provider<Http>, opts: &Options)

Source from the content-addressed store, hash-verified

188
189/// The HTTP interface provides JSON-RPC request/response endpoints.
190async fn run_http(mut provider: Provider<Http>, opts: &Options) -> anyhow::Result<()> {
191 tracing::info!("Running the tests over HTTP...");
192 adjust_provider(&mut provider);
193 run(&provider, opts).await?;
194 tracing::info!("HTTP tests finished");
195 Ok(())
196}

Callers 1

mainFunction · 0.70

Calls 2

adjust_providerFunction · 0.85
runFunction · 0.70

Tested by

no test coverage detected