From 4cd72043aa75681925b5bee1b6a500d0e8d15bbc Mon Sep 17 00:00:00 2001 From: quasystaty Date: Fri, 26 Apr 2024 14:15:34 +0300 Subject: [PATCH 1/4] Chore: update commands in cli tutorial --- docs/developer/tutorials/1-using-astria-go-cli.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/developer/tutorials/1-using-astria-go-cli.md b/docs/developer/tutorials/1-using-astria-go-cli.md index 59d8103e..dfd05674 100644 --- a/docs/developer/tutorials/1-using-astria-go-cli.md +++ b/docs/developer/tutorials/1-using-astria-go-cli.md @@ -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 ``` @@ -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 @@ -162,8 +164,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. @@ -219,6 +222,7 @@ 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 + 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 From d6480637f2416dcec134df988f4973a213ae1629 Mon Sep 17 00:00:00 2001 From: quasystaty Date: Fri, 26 Apr 2024 14:21:21 +0300 Subject: [PATCH 2/4] add just clean command --- docs/developer/tutorials/1-using-astria-go-cli.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/developer/tutorials/1-using-astria-go-cli.md b/docs/developer/tutorials/1-using-astria-go-cli.md index dfd05674..27b7f29a 100644 --- a/docs/developer/tutorials/1-using-astria-go-cli.md +++ b/docs/developer/tutorials/1-using-astria-go-cli.md @@ -147,6 +147,7 @@ Then initialized and start Geth: ```bash # in go-etherium dir +just clean # this is specifically for mac os just init just run ``` From c9297ba0b8371e92dfd9ee25f66504013a3decf7 Mon Sep 17 00:00:00 2001 From: quasystaty Date: Fri, 26 Apr 2024 14:35:17 +0300 Subject: [PATCH 3/4] Fix note to info --- docs/developer/tutorials/1-using-astria-go-cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer/tutorials/1-using-astria-go-cli.md b/docs/developer/tutorials/1-using-astria-go-cli.md index 27b7f29a..357f7860 100644 --- a/docs/developer/tutorials/1-using-astria-go-cli.md +++ b/docs/developer/tutorials/1-using-astria-go-cli.md @@ -222,7 +222,7 @@ 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 From 0ef4bd0b18c60a830c26b008c3212ea88349c534 Mon Sep 17 00:00:00 2001 From: quasystaty <121364949+quasystaty1@users.noreply.github.com> Date: Fri, 26 Apr 2024 17:19:03 +0300 Subject: [PATCH 4/4] Update docs/developer/tutorials/1-using-astria-go-cli.md Co-authored-by: jesse snyder --- docs/developer/tutorials/1-using-astria-go-cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer/tutorials/1-using-astria-go-cli.md b/docs/developer/tutorials/1-using-astria-go-cli.md index 357f7860..e58af8ed 100644 --- a/docs/developer/tutorials/1-using-astria-go-cli.md +++ b/docs/developer/tutorials/1-using-astria-go-cli.md @@ -147,7 +147,7 @@ Then initialized and start Geth: ```bash # in go-etherium dir -just clean # this is specifically for mac os +just clean just init just run ```