diff --git a/crates/rooch/src/commands/transaction/mod.rs b/crates/rooch/src/commands/transaction/mod.rs index fcae7e004f..38c1ba3bb1 100644 --- a/crates/rooch/src/commands/transaction/mod.rs +++ b/crates/rooch/src/commands/transaction/mod.rs @@ -4,8 +4,8 @@ use crate::cli_types::CommandAction; use crate::commands::transaction::commands::{ build::BuildCommand, get_transactions_by_hash::GetTransactionsByHashCommand, - get_transactions_by_order::GetTransactionsByOrderCommand, get_transactions_by_hash::GetTransactionsByHashCommand, + get_transactions_by_order::GetTransactionsByOrderCommand, get_transactions_by_order::GetTransactionsByOrderCommand, submit::SubmitCommand, }; use async_trait::async_trait; diff --git a/crates/testsuite/features/cmd.feature b/crates/testsuite/features/cmd.feature index dda496d789..ff3b33ea3c 100644 --- a/crates/testsuite/features/cmd.feature +++ b/crates/testsuite/features/cmd.feature @@ -69,6 +69,7 @@ Feature: Rooch CLI integration tests Then cmd: "transaction get-transactions-by-hash --hashes {{$.transaction[-1].data[0].execution_info.tx_hash}}" Then cmd: "transaction build --function rooch_framework::empty::empty --json" Then cmd: "transaction submit --signed-tx-hex {{$.transaction[-1]}}" + Then assert: "{{$.transaction[-1].execution_info.status.type}} == executed" # alias tx for transaction Then cmd: "tx get-transactions-by-order --cursor 1 --limit 2 --descending-order true"