Skip to content

getSignaturesForAddress Returns Empty Array ([]) Despite Running Faithful RPC Server Successfully #226

Open
@AshishG2

Description

When running the faithful-cli RPC server, most RPC methods function correctly. However, the getSignaturesForAddress method always returns an empty array ([]), even when querying addresses that have known transaction history. This issue persists despite using the latest available gsfa index.

Steps to Reproduce

  1. Clone the repository and build the CLI binaries:

    git clone https://github.com/rpcpool/yellowstone-faithful.git
    cd yellowstone-faithful
    make jsonParsed-linux  # Or use the appropriate build command
  2. Start the Faithful RPC Server:

    faithful-cli rpc --listen=:8888 epoch-701.yml
  3. Query getSignaturesForAddress:

    curl -X POST http://localhost:8888 -H "Content-Type: application/json" -d '{
      "jsonrpc": "2.0",
      "id": 1,
      "method": "getSignaturesForAddress",
      "params": ["<wallet_address>"]
    }'
  4. Observe the response:

    • Expected: A list of transaction signatures for the given address.
    • Actual: An empty array ([]), even when transactions exist.

GSFA Index Used

I am using the following gsfa index file:
📌 epoch-701-gsfa.index.tar.zstd

Expected vs. Actual Behavior

Query Method Expected Response (Mainnet RPC) Actual Response (Faithful RPC)
getSignaturesForAddress List of transaction signatures [] (empty array)

Additional Details

  • Issue persists even with the latest gsfa index.
  • Other RPC methods appear to be working correctly.
  • No additional error messages appear in the Faithful server logs.

Would appreciate any guidance or troubleshooting steps on resolving this issue.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions