From f5dae47d2ef1e19a19be5979b0e2e0441d25ab11 Mon Sep 17 00:00:00 2001 From: popcnt1 Date: Mon, 16 Dec 2024 13:52:29 +0800 Subject: [PATCH] docs(rooch-da): add instructions for tx list execution Added detailed instructions and example command for executing a transaction list in Rooch DA, including expected output log for successful execution. This enhances clarity for users handling transaction execution. --- crates/rooch/src/commands/da/README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/crates/rooch/src/commands/da/README.md b/crates/rooch/src/commands/da/README.md index 55e4a15af..977a44e2d 100644 --- a/crates/rooch/src/commands/da/README.md +++ b/crates/rooch/src/commands/da/README.md @@ -78,4 +78,16 @@ rooch genesis init -d {data_dir} -n {network} ``` we assume it's builtin genesis, because the target we want to verify is Rooch Network Mainnet/Testnet, all the two -Network are using builtin genesis. \ No newline at end of file +Network are using builtin genesis. + +#### Execute tx list + +```shell +rooch da exec --segment-dir {segment-dir} --order-state-path {order-state-path} -d {data-dir} -n {network} --btc-rpc-url {btc-rpc-url} --btc-rpc-user-name {btc-rpc-user-name} --btc-rpc-password {btc-rpc-password} +``` + +If everything is ok, you will see this log in the end: + +```shell +2024-12-16T05:48:26.924094Z INFO rooch::commands::da::commands::exec: All transactions execution state root are strictly equal to RoochNetwork: [0, {end_order}] +``` \ No newline at end of file