From 7d8d830e8d31015e7f749d119682be5157369d0f Mon Sep 17 00:00:00 2001 From: Nam Chu Hoai Date: Tue, 23 Jul 2024 17:16:27 -0400 Subject: [PATCH] Emit origin domain instead of local domain in Process event --- contracts/core/mailbox/src/execute.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/core/mailbox/src/execute.rs b/contracts/core/mailbox/src/execute.rs index 02db25bf..6d1d7cb5 100644 --- a/contracts/core/mailbox/src/execute.rs +++ b/contracts/core/mailbox/src/execute.rs @@ -218,7 +218,7 @@ pub fn process( Ok(Response::new().add_message(handle_msg).add_events(vec![ emit_process_id(id), emit_process( - config.local_domain, + decoded_msg.origin_domain, decoded_msg.sender, decoded_msg.recipient, ),