Skip to content

Commit 2ad56ef

Browse files
author
tac0turtle
committed
update logger for da and quickstart
1 parent 987ab98 commit 2ad56ef

File tree

8 files changed

+46
-24
lines changed

8 files changed

+46
-24
lines changed

client/crates/client/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,17 @@ use ev_client::{Client, ClientTlsConfig};
7070

7171
// Enable TLS with default configuration
7272
let client = Client::builder()
73-
.endpoint("https://secure-node.evolve.dev")
73+
.endpoint("https://secure-node.ev.xyz")
7474
.tls()
7575
.build()
7676
.await?;
7777

7878
// Or with custom TLS configuration
7979
let tls_config = ClientTlsConfig::new()
80-
.domain_name("secure-node.evolve.dev");
80+
.domain_name("secure-node.ev.xyz");
8181

8282
let client = Client::builder()
83-
.endpoint("https://secure-node.evolve.dev")
83+
.endpoint("https://secure-node.ev.xyz")
8484
.tls_config(tls_config)
8585
.build()
8686
.await?;

da/cmd/local-da/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func main() {
3737

3838
// create logger
3939
zerolog.SetGlobalLevel(zerolog.InfoLevel)
40-
logger := zerolog.New(os.Stderr).With().Timestamp().Str("component", "da").Logger()
40+
logger := zerolog.New(zerolog.ConsoleWriter{Out: os.Stderr}).With().Timestamp().Str("component", "da").Logger()
4141

4242
// Create LocalDA instance with custom maxBlobSize if provided
4343
var opts []func(*LocalDA) *LocalDA

docs/.vitepress/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export default withMermaid({
5555
["meta", { httpEquiv: "Content-Language", content: "en" }],
5656
["meta", { name: "twitter:card", content: "summary_large_image" }],
5757
["meta", { name: "twitter:image", content: "/img/Evolve-cover.jpg" }],
58-
["meta", { name: "twitter:site:domain", content: "evolve.dev" }],
59-
["meta", { name: "twitter:url", content: "https://evolve.dev" }],
58+
["meta", { name: "twitter:site:domain", content: "ev.xyz" }],
59+
["meta", { name: "twitter:url", content: "https://ev.xyz" }],
6060
["meta", { name: "og:image", content: "/img/Evolve-cover.jpg" }],
6161
["meta", { name: "apple-mobile-web-app-title", content: "Evolve" }],
6262
[

docs/guides/da/local-da.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Before proceeding, ensure that you have completed the [build a chain](/guides/gm
1616
To set up a local DA network node on your machine, run the following script to install and start the local DA node:
1717

1818
```bash-vue
19-
curl -sSL https://evolve.dev/install-local-da.sh | bash -s {{constants.localDALatestTag}}
19+
curl -sSL https://ev.xyz/install-local-da.sh | bash -s {{constants.localDALatestTag}}
2020
```
2121

2222
This script will build and run the node, which will then listen on port `7980`.

docs/guides/deploy/local.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN apt update && \
6161
ca-certificates \
6262
curl
6363
64-
RUN curl -sSL https://evolve.dev/install.sh | bash
64+
RUN curl -sSL https://ev.xyz/install.sh | bash
6565
# Install evolve
6666
6767
# Install ignite

docs/guides/gm-world.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Now that we have our gm app generated and installed, we can launch our GM chain
104104
First lets start the local DA network:
105105

106106
```bash
107-
curl -sSL https://evolve.dev/install-local-da.sh | bash -s {{constants.evolveLatestTag}}
107+
curl -sSL https://ev.xyz/install-local-da.sh | bash -s {{constants.evolveLatestTag}}
108108
```
109109

110110
you should see logs like:

docs/guides/quick-start.md

Lines changed: 36 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,28 @@ Welcome to Evolve, a chain framework! The easiest way to launch your network nod
1212

1313
## 📦 Install Testapp (CLI)
1414

15-
To install Evolve, run the following command in your terminal:
15+
To install Evolve, clone the repository and build the binary:
1616

17-
```bash-vue
18-
curl -sSL https://evolve.dev/install.sh | sh -s {{constants.evolveLatestTag}}
17+
```bash
18+
# Clone the repository
19+
git clone https://github.com/evolve/ev-node.git
20+
cd ev-node
21+
22+
# Build the testapp binary
23+
make build
24+
25+
# Optional: Install to your Go bin directory for system-wide access
26+
make install
1927
```
2028

2129
Verify the installation by checking the Evolve version:
2230

2331
```bash
32+
# If you ran 'make install'
2433
testapp version
34+
35+
# Or if you only ran 'make build'
36+
./build/testapp version
2537
```
2638

2739
A successful installation will display the version number and its associated git commit hash.
@@ -46,15 +58,19 @@ Now that we have our testapp generated and installed, we can launch our chain al
4658
First lets start the local DA network:
4759

4860
```bash
49-
curl -sSL https://evolve.dev/install-local-da.sh | bash -s {{constants.evolveLatestTag}}
61+
# If you're not already in the ev-node directory
62+
cd ev-node
63+
64+
# Start the local DA network using the built binary
65+
./build/testapp da start
5066
```
5167

5268
You should see logs like:
5369

5470
```bash
55-
4:58PM INF NewLocalDA: initialized LocalDA module=local-da
56-
4:58PM INF Listening on host=localhost maxBlobSize=1974272 module=da port=7980
57-
4:58PM INF server started listening on=localhost:7980 module=da
71+
9:22AM INF NewLocalDA: initialized LocalDA component=da
72+
9:22AM INF Listening on component=da host=localhost maxBlobSize=1974272 port=7980
73+
9:22AM INF server started component=da listening_on=localhost:7980
5874
```
5975

6076
To start a basic evolve network node, execute:
@@ -66,13 +82,19 @@ testapp start --evolve.signer.passphrase secret
6682
Upon execution, the CLI will output log entries that provide insights into the node's initialization and operation:
6783

6884
```bash
69-
I[2024-05-01|09:58:46.001] Found private validator module=main keyFile=/root/.evolve/config/priv_validator_key.json stateFile=/root/.evolve/data/priv_validator_state.json
70-
I[2024-05-01|09:58:46.002] Found node key module=main path=/root/.evolve/config/node_key.json
71-
I[2024-05-01|09:58:46.002] Found genesis file module=main path=/root/.evolve/config/genesis.json
72-
...
73-
I[2024-05-01|09:58:46.080] Started node module=main
74-
I[2024-05-01|09:58:46.081] Creating and publishing block module=BlockManager height=223
75-
I[2024-05-01|09:58:46.082] Finalized block module=BlockManager height=223 num_txs_res=0 num_val_updates=0 block_app_hash=
85+
9:23AM INF creating new client component=main namespace=
86+
KV Executor HTTP server starting on 127.0.0.1:9090
87+
9:23AM INF KV executor HTTP server started component=main endpoint=127.0.0.1:9090
88+
9:23AM INF No state found in store, initializing new state component=BlockManager
89+
9:23AM INF using default mempool ttl MempoolTTL=25 component=BlockManager
90+
9:23AM INF starting P2P client component=main
91+
9:23AM INF started RPC server addr=127.0.0.1:7331 component=main
92+
9:23AM INF listening on address address=/ip4/127.0.0.1/tcp/7676/p2p/12D3KooWRzvJuFoQKhQNfaCZWvJFDY4vrCTocdL6H1GCMzywugnV component=main
93+
9:23AM INF listening on address address=/ip4/172.20.10.14/tcp/7676/p2p/12D3KooWRzvJuFoQKhQNfaCZWvJFDY4vrCTocdL6H1GCMzywugnV component=main
94+
9:23AM INF no peers - only listening for connections component=main
95+
9:23AM INF working in aggregator mode block_time=1000 component=main
96+
9:23AM INF using pending block component=BlockManager height=1
97+
9:23AM INF Reaper started component=Reaper interval=1000
7698
```
7799

78100
## 🎉 Conclusion

docs/guides/use-tia-for-gas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import constants from '../.vitepress/constants/constants.js'
2727
Your local DA network is already running if you followed the [quick start guide](/guides/quick-start.md) or the [build a chain](/guides/gm-world.md). If not, you can start it with the following command:
2828

2929
```bash
30-
curl -sSL https://evolve.dev/install-local-da.sh | bash -s {{constants.evolveLatestTag}}
30+
curl -sSL https://ev.xyz/install-local-da.sh | bash -s {{constants.evolveLatestTag}}
3131
```
3232

3333
## 🚀 Starting your chain {#start-your-chain}

0 commit comments

Comments
 (0)