diff --git a/pallets/torus0/src/agent.rs b/pallets/torus0/src/agent.rs index d2cd1b2..6120e38 100644 --- a/pallets/torus0/src/agent.rs +++ b/pallets/torus0/src/agent.rs @@ -113,6 +113,9 @@ pub fn register( }, ); + crate::RegistrationsThisBlock::::mutate(|value| value.saturating_add(1)); + crate::RegistrationsThisInterval::::mutate(|value| value.saturating_add(1)); + crate::Pallet::::deposit_event(crate::Event::::AgentRegistered(agent_key)); Ok(())