Skip to content

Commit

Permalink
docs(rooch-da): add instructions for tx list execution
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
popcnt1 committed Dec 16, 2024
1 parent 3899c2d commit f5dae47
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion crates/rooch/src/commands/da/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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}]
```

0 comments on commit f5dae47

Please sign in to comment.