(rt: &impl Runtime, _params: ())
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected