You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/da/celestia-da.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,20 +102,18 @@ The output of the command above will look similar to this:
102
102
Your DA AUTH_TOKEN is eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBbGxvdyI6WyJwdWJsaWMiLCJyZWFkIiwid3JpdGUiXX0.cSrJjpfUdTNFtzGho69V0D_8kyECn9Mzv8ghJSpKRDE
103
103
```
104
104
105
-
Next, let's set up the namespace to be used for posting data on Celestia:
105
+
Next, let's set up the namespace to be used for posting data on Celestia. Evolve supports separate namespaces for headers and data, but for simplicity, we'll use a single namespace for both:
`00000000000000000000000000000000000000000008e5f679bf7116cb` is a default namespace for Mocha testnet. You can set your own by using a command similar to this (or, you could get creative 😎):
113
111
114
-
```bash
115
-
openssl rand -hex 10
116
-
```
112
+
**Advanced Configuration:** For production deployments, you can use separate namespaces for headers and data to optimize syncing:
113
+
-`--evolve.da.header_namespace` for block headers
114
+
-`--evolve.da.data_namespace` for transaction data
117
115
118
-
Replace the last 20 characters (10 bytes) in `00000000000000000000000000000000000000000008e5f679bf7116cb` with the newly generated 10 bytes.
116
+
The namespace values are automatically encoded by the node to ensure compatibility with Celestia.
119
117
120
118
[Learn more about namespaces](https://docs.celestia.org/tutorials/node-tutorial#namespaces).
121
119
:::
@@ -135,7 +133,8 @@ Finally, let's initiate the chain node with all the flags:
Copy file name to clipboardExpand all lines: docs/guides/deploy/testnet.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -248,7 +248,7 @@ Both sequencer and full node Evolve services need to communicate with the celest
248
248
#### 🔑 Common Integration Points
249
249
250
250
1.**Authentication**: Evolve requires an auth token generated by the celestia-node so that Evolve can send transactions on its behalf. Both sequencer and full node types use these JWT tokens for secure communication with celestia-node
251
-
2.**Namespace Isolation**: Data is organized using Celestia namespaces
251
+
2.**Namespace Isolation**: Data is organized using Celestia namespaces (automatically encoded by the node for proper formatting)
252
252
3.**API Endpoints**: Both sequencer and full nodes use the same celestia-node API interface
253
253
4.**Network Configuration**: All nodes must be configured to connect to the same Celestia network
Copy file name to clipboardExpand all lines: docs/learn/config.md
+42-2Lines changed: 42 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ This document provides a comprehensive reference for all configuration options a
25
25
-[DA Gas Multiplier](#da-gas-multiplier)
26
26
-[DA Submit Options](#da-submit-options)
27
27
-[DA Namespace](#da-namespace)
28
+
-[DA Header Namespace](#da-header-namespace)
29
+
-[DA Data Namespace](#da-data-namespace)
28
30
-[DA Block Time](#da-block-time)
29
31
-[DA Start Height](#da-start-height)
30
32
-[DA Mempool TTL](#da-mempool-ttl)
@@ -395,19 +397,57 @@ da:
395
397
**Description:**
396
398
The namespace ID used when submitting blobs (block data) to the DA layer. This helps segregate data from different chains or applications on a shared DA layer.
397
399
400
+
**Note:** This configuration is deprecated in favor of separate header and data namespaces (see below). If only `namespace` is provided, it will be used for both headers and data for backward compatibility.
401
+
398
402
**YAML:**
399
403
400
404
```yaml
401
405
da:
402
-
namespace: "MY_UNIQUE_NAMESPACE_ID"
406
+
namespace: "MY_UNIQUE_NAMESPACE_ID" # Deprecated - use header_namespace and data_namespace instead
The namespace ID specifically for submitting block headers to the DA layer. Headers are submitted separately from transaction data. The namespace value is encoded by the node to ensure proper formatting and compatibility with the DA layer.
The namespace ID specifically for submitting transaction data to the DA layer. Transaction data is submitted separately from headers, enabling nodes to sync only the data they need. The namespace value is encoded by the node to ensure proper formatting and compatibility with the DA layer.
"description": "Response containing namespace configuration. Namespaces are encoded by the node to ensure proper formatting and compatibility with the DA layer.",
684
684
"required": [
685
685
"header_namespace",
686
686
"data_namespace"
687
687
],
688
688
"properties": {
689
689
"header_namespace": {
690
690
"type": "string",
691
-
"description": "The namespace identifier for block headers",
691
+
"description": "The namespace identifier for block headers. This namespace is used exclusively for storing and retrieving block header data on the DA layer. The value is pre-encoded by the node.",
692
692
"example": "0x01234567890abcdef"
693
693
},
694
694
"data_namespace": {
695
695
"type": "string",
696
-
"description": "The namespace identifier for block data",
696
+
"description": "The namespace identifier for block data (transactions). This namespace is used exclusively for storing and retrieving transaction data on the DA layer, separate from headers. The value is pre-encoded by the node.",
0 commit comments