Skip to content

Commit

Permalink
Chore(docs): fix go-cli commands (#56)
Browse files Browse the repository at this point in the history
## Description
changes to current commands
## Motivation and Context
Our official docs has commands that does not work

## Types of changes
<!-- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [x] Edits to existing documentation
- [ ] Changing documentation structure (relocating existing files,
ensure redirects exist)
- [ ] Stylistic changes (provide screenshots above)

---------

Co-authored-by: jesse snyder <[email protected]>
  • Loading branch information
quasystaty1 and steezeburger authored Apr 26, 2024
1 parent 716d490 commit fbb72c0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/developer/tutorials/1-using-astria-go-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ just clean-restart
### Start the Local Astria Sequencer

```bash
astria-go dev clean
astria-go dev init
astria-go dev run --local
```
Expand All @@ -115,8 +116,9 @@ additional genesis information to work with the remote sequencer. Run the
following using the Astira cli:

```bash
astria-go dev clean
astria-go dev init
astria-go sequencer get-blockheight
astria-go sequencer blockheight --url=https://rpc.sequencer.dusk-4.devnet.astria.org
```

Then, open the `geth-genesis-local.json` file and update the chain ID and rollup
Expand Down Expand Up @@ -145,6 +147,7 @@ Then initialized and start Geth:

```bash
# in go-etherium dir
just clean
just init
just run
```
Expand All @@ -162,8 +165,9 @@ When running against the remote sequencer, you will also need to create a new
sequencer account.

```bash
astria-go dev clean
astria-go dev init
astria-go sequencer create-account
astria-go sequencer createaccount
```

Navigate to the `~/.astria` directory. If you have run the commands shown above, you should find a `default` directory.
Expand Down Expand Up @@ -218,7 +222,8 @@ just generate-transactions
If everything worked correctly you see the transactions going through in both
the `forge` script and in the `conductor` and `composer` windows in the go cli.

:::note
:::info

These test transactions should work if you are running everything locally with
`astria-go dev run --local` or if you are running against a remote sequencer
with `astria-go dev run --remote`. If test transactions are not going through
Expand Down

0 comments on commit fbb72c0

Please sign in to comment.