The production data path runs on Kafka + S3; see the deployment guide. The setup on this page provides neither horizontal scaling nor consistency guarantees.
Prerequisites
Steps
1
Build leafage-evm
public.ecr.aws/b2h7a5c4/chaintable/leafage-evm-x.2
Start the write node and expose the trace namespace
trace namespace provides trace_debankBlock, which leafage-evm’s HTTP mode depends on.Verify:3
Start leafage-evm
Once started, it polls the write node and applies each new block’s state diff to the in-memory StateTree. The
updater target in the logs shows the block catch-up progress.4
Send your first query
If the result matches the same
eth_call on the write node, the data path is working end to end.Things you may run into
Returns -39006 StateBlockNotFound
Returns -39006 StateBlockNotFound
The requested height is outside the state range kept by the State node. Add
--archive to start in archive mode, or change the query target to latest. In production, nodex-proxy forwards these requests to Archive nodes automatically.Block queries return empty transactions
Block queries return empty transactions
This is expected behavior. leafage-evm does not store transaction data; the block APIs return only the header. Transaction data lives in the BlockFile in the S3 external bucket.
estimateGas not found
estimateGas not found
The gas estimation method is named
estimateGas (no namespace prefix), not eth_estimateGas. See the RPC reference for the full method list.Block catch-up is slow or stalled
Block catch-up is slow or stalled
HTTP mode polls serially and is limited by the write node’s RPC; it is only suitable for development validation. Production uses Kafka + S3, which can fetch in parallel.
Next steps
Sending RPC requests
Complete examples for batch calls,
blockCtx, gas estimation, and simulation.Core concepts
What each role and term in the pipeline you just ran actually means.
Architecture overview
Understand how the five components work together.
Deployment
Set up the full data path with Kafka + S3.
RPC reference
Available methods and parameters.
Contributing
Repository map and build commands.