diff --git a/crates/rooch-executor/src/actor/executor.rs b/crates/rooch-executor/src/actor/executor.rs index 0a82b1f439..7853cd1021 100644 --- a/crates/rooch-executor/src/actor/executor.rs +++ b/crates/rooch-executor/src/actor/executor.rs @@ -21,6 +21,7 @@ use moveos_types::module_binding::MoveFunctionCaller; use moveos_types::move_std::option::MoveOption; use moveos_types::moveos_std::object::ObjectMeta; use moveos_types::moveos_std::tx_context::TxContext; +use moveos_types::moveos_std::tx_meta::TxMeta; use moveos_types::state::{ObjectState, StateChangeSetExt}; use moveos_types::state_resolver::RootObjectResolver; use moveos_types::transaction::{FunctionCall, MoveOSTransaction, VerifiedMoveAction}; @@ -378,6 +379,9 @@ impl ExecutorActor { tx_data.tx_size(), ); + let tx_metadata = TxMeta::new_from_move_action(&tx_data.action); + tx_ctx.add(tx_metadata).unwrap(); + let mut bitcoin_address = BitcoinAddress::from_str("18cBEMRxXHqzWWCxZNtU91F5sbUNKhL5PX")?; let user_multi_chain_address: MultiChainAddress = tx_data.sender.into();