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

Method echo

fendermint/actors/cetf/src/actor.rs:35–43  ·  view source on GitHub ↗
(rt: &impl Runtime, _params: ())

Source from the content-addressed store, hash-verified

33 }
34
35 pub fn echo(rt: &impl Runtime, _params: ()) -> Result<(), ActorError> {
36 rt.validate_immediate_caller_accept_any()?;
37 log::info!(
38 "echo called by {} from origin {}",
39 rt.message().caller(),
40 rt.message().origin()
41 );
42 Ok(())
43 }
44
45 /// Add a new tag to the state to be signed by the validators
46 /// Callable by anyone and designed to be called from Solidity contracts

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected