github celestiaorg/op-alt-da v0.10.0
Release Notes: v0.10.0

latest releases: v0.16.0, v0.15.0, v0.14.0-mocha...
11 months ago

Highlights

v0.10.0 is a major release that introduces a fully stateless DA server architecture, TOML configuration support, server hardening, and repositions S3 as an optional fallback layer.

What's New at a Glance

  • TOML configuration files - Clean, version-controllable config via --config
  • Server hardening - HTTP timeouts, max blob size protection against attacks
  • Local keyring signing - Direct CoreGRPC submission for reliable writes
  • S3 as fallback - S3 is now a redundancy layer, not primary storage
  • Prometheus metrics - Comprehensive observability for blob operations
  • Parallel blob submissions - Scale throughput with multiple worker accounts

Prerequisites

Before upgrading, ensure your Celestia infrastructure meets these minimum versions:

Component Minimum Version Required For
celestia-node v0.28.4 Reliable blob reads
celestia-app v6.4.0 Parallel transaction support, sequence locking

Warning: Parallel workers will not function correctly with older versions.


New Features

TOML Configuration File Support

Run the server with a simple, readable config file:

./bin/da-server --config=config.toml

See config.toml.example for a complete template with all options documented.

Server Hardening

New HTTP server protections for production deployments:

read_timeout = "30s"      # Protection against Slowloris attacks
write_timeout = "120s"    # Max time to write response
idle_timeout = "60s"      # Max idle keep-alive time

[submission]
max_blob_size = "2MB"     # Protection against memory exhaustion

Parallel Blob Submissions

Scale throughput with multiple worker accounts:

[celestia]
tx_worker_accounts = 4  # Use 4 worker accounts for parallel submissions

Prometheus Metrics

Comprehensive observability when enabled (--metrics.enabled=true):

Metric Type Description
op_altda_request_duration_seconds Histogram HTTP request duration by method
op_altda_blob_size_bytes Histogram Size of submitted/retrieved blobs
celestia_submission_duration_seconds Histogram Time to submit blob to Celestia
celestia_submissions_total Counter Total blob submissions
celestia_retrieval_duration_seconds Histogram Time to retrieve blob from Celestia

S3 Credential Support

S3 credentials support three modes:

  • static — Explicit access key and secret
  • environment — AWS environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
  • iam — IAM role (EC2, ECS, Lambda)

Enhanced Fallback Behavior

When fallback is enabled:

  • Write-through: Blobs are written to S3 asynchronously after Celestia submission
  • Read-fallback: If Celestia retrieval fails, attempt S3
  • Read-through: Blobs read from Celestia are cached to S3

Breaking Changes

Local Keyring Required for Blob Submission

Auth tokens are no longer supported for blob.Submit. All submissions now use CoreGRPC with a local keyring:

[celestia]
core_grpc_addr = "consensus-full-mocha-4.celestia-mocha.com:9090"
keyring_path = "~/.celestia-light-mocha-4/keys"
default_key_name = "my_celes_key"
p2p_network = "mocha-4"

S3 Flags Renamed to Fallback

S3 is now a fallback provider. All --s3.* flags have moved to --fallback.s3.*:

v0.9.x v0.10.0
--s3.credential-type --fallback.s3.credential-type
--s3.bucket --fallback.s3.bucket
--s3.path --fallback.s3.prefix
--s3.endpoint --fallback.s3.endpoint
--s3.access-key-id --fallback.s3.access-key-id
--s3.access-key-secret --fallback.s3.access-key-secret
--s3.timeout --fallback.s3.timeout
--routing.fallback --fallback.enabled
--routing.cache (removed)

Default Value Changes

Setting v0.9.x v0.10.0
--celestia.tls-enabled true false
S3 timeout 5s 30s
CoreGRPC address http://localhost:9090 (required when enabled)

Migration

Recommended: Use TOML Configuration

./bin/da-server --config=config.toml

config.toml:

[celestia]
namespace = "00000000000000000000000000000000000000000000000000000000acfe"
bridge_addr = "http://localhost:26658"
bridge_auth_token = ""
core_grpc_addr = "consensus-full-mocha-4.celestia-mocha.com:9090"
core_grpc_tls_enabled = true
keyring_path = "~/.celestia-light-mocha-4/keys"
default_key_name = "my_celes_key"
p2p_network = "mocha-4"

[fallback]
enabled = true
provider = "s3"

[fallback.s3]
bucket = "my-bucket"
region = "us-east-1"
credential_type = "environment"

See config.toml.example for the complete template with all options.


Removed

  • --routing.cache flag

Documentation

  • See config.toml.example for all configuration options
  • See README.md for complete documentation
  • See API.md for API reference

Full Changelog: v0.9.0...v0.10.0

Don't miss a new op-alt-da release

NewReleases is sending notifications on new releases.