Skip to content

Update JSON-RPC namespace from 'da' to 'blob' #2821

@randygrok

Description

@randygrok

Problem

The current implementation uses da as the JSON-RPC namespace, but Celestia Node has deprecated this in favor of blob.

Changes Needed

Client (da/jsonrpc/client.go:263):

"da": &client.DA.Internal,  // Change to "blob"

Server (da/jsonrpc/server.go:106):

srv.rpc.Register("da", apiHandler)  // Change to "blob"

This will change RPC methods from da.GasPrice to blob.GasPrice, etc.

⚠️ Breaking change for anyone using the JSON-RPC API directly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions