From 97bacd7bbf7df68f5dff2422e591a0486a45dcc9 Mon Sep 17 00:00:00 2001 From: Jordan Oroshiba Date: Mon, 11 Dec 2023 14:03:29 -0800 Subject: [PATCH 1/2] Updates FAQ --- docs/dusk-faq/1-information.md | 116 --------------------------------- 1 file changed, 116 deletions(-) delete mode 100644 docs/dusk-faq/1-information.md diff --git a/docs/dusk-faq/1-information.md b/docs/dusk-faq/1-information.md deleted file mode 100644 index 616ea62..0000000 --- a/docs/dusk-faq/1-information.md +++ /dev/null @@ -1,116 +0,0 @@ ---- -sidebar_position: 5 ---- - -# FAQ and Debugging - -## Endpoints - -Endpoints for the remote cluster are the following: - -| NAME | HOSTS | ADDRESS | -|-----|-----|-----| -| EVM JSON RPC | rpc.evm.dusk-2.devnet.astria.org | 34.160.214.22 | -| EVM Block Explorer | explorer.evm.dusk-2.devnet.astria.org | 34.111.167.16 | -| EVM Faucet | faucet.evm.dusk-2.devnet.astria.org | 130.211.4.120 | -| Sequencer RPC | rpc.sequencer.dusk-2.devnet.astria.org | 34.111.73.187 | -| Sequencer Faucet | faucet.sequencer.dusk-2.devnet.astria.org | 34.36.8.102 | - -## Software Versions - -The latest Devnet (dusk-2) runs the following software versions: -- [conductor v0.11.0](https://github.com/astriaorg/astria/releases/tag/v0.11.0--conductor) -- [composer v0.3.0](https://github.com/astriaorg/astria/releases/tag/v0.3.0--composer) -- [sequencer-relayer v0.9.0](https://github.com/astriaorg/astria/releases/tag/v0.9.0--sequencer-relayer) -- [sequencer v0.7.0](https://github.com/astriaorg/astria/releases/tag/v0.7.0--sequencer) - -## Manually Fetch Sequencer Block Height - -### Install the latest [astria cli](https://github.com/astriaorg/astria/releases/tag/cli-v0.2.0) - -#### ARM Mac - -```bash -curl -L https://github.com/astriaorg/astria/releases/download/cli-v0.2.0/astria-cli-aarch64-apple-darwin.tar.gz > astria-cli.tar.gz -tar -xvzf astria-cli.tar.gz -``` - -#### x86_64 Linux - -```bash -curl -L https://github.com/astriaorg/astria/releases/download/cli-v0.2.0/astria-cli-x86_64-unknown-linux-gnu.tar.gz > astria-cli.tar.gz -tar -xvzf astria-cli.tar.gz -``` - -#### From Source - -```bash -cargo install astria-cli --git=https://github.com/astriaorg/astria --tag=cli-v2 --locked -``` - -### Sequencer Block Height - -The initial sequencer block height is automatically fetched and set -(if not manually specified) when creating the rollup config. - -You can manually retrieve it with the `astria-cli`: - -```bash -astria-cli sequencer blockheight get \ - --sequencer-url https://rpc.sequencer.dusk-2.devnet.astria.org/ -``` - -If you need to set this to a different value -you can set it as an an environment variable: - -```bash -export ROLLUP_SEQUENCER_INITIAL_BLOCK_HEIGHT= -``` - -Or use the following flag when running the `astria-cli rollup config create` -command below: - -```bash ---sequencer.initial-block-height -``` - -## Loadbalancer Information - -You can retrieve the kubernetes service for your loadbalancer with - -```bash -kubectl get svc -n ingress-nginx -``` - -```bash -NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE -ingress-nginx-controller LoadBalancer 34.118.228.98 34.42.184.206 80:31623/TCP,443:31357/TCP 57s -ingress-nginx-controller-admission ClusterIP 34.118.229.71 443/TCP 57s -``` - -You can check that the loadbalancer is working by making a `curl` request - -```bash -# use the EXTERNAL-IP from the result above -curl 34.42.184.206 -``` - -This should return the nginx 404 page - -```html - -404 Not Found - -

404 Not Found

-
nginx
- - -``` - -## Ingress Information - -You can check the kubernetes ingress resource for your rollup with: - -```bash -kubectl get ingress -n astria-dev-cluster -``` From ed5e8e19d483e6f87e7877690e8edc60ef2cf600 Mon Sep 17 00:00:00 2001 From: Jordan Oroshiba Date: Mon, 11 Dec 2023 14:04:25 -0800 Subject: [PATCH 2/2] file --- docs/dusk-faq/1-information.mdx | 124 ++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 docs/dusk-faq/1-information.mdx diff --git a/docs/dusk-faq/1-information.mdx b/docs/dusk-faq/1-information.mdx new file mode 100644 index 0000000..e377394 --- /dev/null +++ b/docs/dusk-faq/1-information.mdx @@ -0,0 +1,124 @@ +--- +sidebar_position: 5 +--- + +# FAQ and Debugging + +## Endpoints + +Endpoints for the remote cluster are the following: + +| NAME | HOSTS | ADDRESS | +|-----|-----|-----| +| EVM JSON RPC | rpc.evm.dusk-2.devnet.astria.org | 34.160.214.22 | +| EVM Block Explorer | explorer.evm.dusk-2.devnet.astria.org | 34.111.167.16 | +| EVM Faucet | faucet.evm.dusk-2.devnet.astria.org | 130.211.4.120 | +| Sequencer RPC | rpc.sequencer.dusk-2.devnet.astria.org | 34.111.73.187 | +| Sequencer Faucet | faucet.sequencer.dusk-2.devnet.astria.org | 34.36.8.102 | + +## Software Versions + +The latest Devnet (dusk-2) runs the following software versions: +- [conductor v0.11.0](https://github.com/astriaorg/astria/releases/tag/v0.11.0--conductor) +- [composer v0.3.0](https://github.com/astriaorg/astria/releases/tag/v0.3.0--composer) +- [sequencer-relayer v0.9.0](https://github.com/astriaorg/astria/releases/tag/v0.9.0--sequencer-relayer) +- [sequencer v0.7.0](https://github.com/astriaorg/astria/releases/tag/v0.7.0--sequencer) + +## Manually Fetch Sequencer Block Height + +### Install the latest [astria cli](https://github.com/astriaorg/astria/releases/tag/cli-v0.2.0) + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + + + curl -L https://github.com/astriaorg/astria/releases/download/cli-v0.2.0/astria-cli-aarch64-apple-darwin.tar.gz > astria-cli.tar.gz + tar -xvzf astria-cli.tar.gz + + + + + curl -L https://github.com/astriaorg/astria/releases/download/cli-v0.2.0/astria-cli-x86_64-apple-darwin.tar.gz > astria-cli.tar.gz + tar -xvzf astria-cli.tar.gz + + + + + curl -L https://github.com/astriaorg/astria/releases/download/cli-v0.2.0/astria-cli-x86_64-unknown-linux-gnu.tar.gz > astria-cli.tar.gz + tar -xvzf astria-cli.tar.gz + + + + + cargo install astria-cli --git=https://github.com/astriaorg/astria --tag=cli-v2 --locked + + + + +### Sequencer Block Height + +The initial sequencer block height is automatically fetched and set +(if not manually specified) when creating the rollup config. + +You can manually retrieve it with the `astria-cli`: + +```bash +astria-cli sequencer blockheight get +``` + +If you need to set this to a different value +you can set it as an an environment variable: + +```bash +export ROLLUP_SEQUENCER_INITIAL_BLOCK_HEIGHT= +``` + +Or use the following flag when running the `astria-cli rollup config create` +command below: + +```bash +--sequencer.initial-block-height +``` + +## Loadbalancer Information + +You can retrieve the kubernetes service for your loadbalancer with + +```bash +kubectl get svc -n ingress-nginx +``` + +```bash +NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE +ingress-nginx-controller LoadBalancer 34.118.228.98 34.42.184.206 80:31623/TCP,443:31357/TCP 57s +ingress-nginx-controller-admission ClusterIP 34.118.229.71 443/TCP 57s +``` + +You can check that the loadbalancer is working by making a `curl` request + +```bash +# use the EXTERNAL-IP from the result above +curl 34.42.184.206 +``` + +This should return the nginx 404 page + +```html + +404 Not Found + +

404 Not Found

+
nginx
+ + +``` + +## Ingress Information + +You can check the kubernetes ingress resource for your rollup with: + +```bash +kubectl get ingress -n astria-dev-cluster +```