Skip to content

Conversation

@ripatel-fd
Copy link
Contributor

This PR is a rewrite of solcap structured runtime event logging infrastructure

  • Events are now encoded in Protobuf, including account data
  • Event types are specified/documented in https://github.com/firedancer-io/solana-core.git
  • Protobuf encoding is done via a new schema-less high-performance encoder
  • The solcap custom file formats in v1 (completely custom) and v2 (pcapng extension) are ditched for standard pcapng (UDP/IP encapsulation)
  • Adds a 'bank sequence number' to uniquely identify banks for the lifetime of a Firedancer run
  • Config option cleanup & documentation

(continuation of #7626)

@ripatel-fd ripatel-fd changed the title Solcap v3 solcap v3 Jan 2, 2026
@ripatel-fd ripatel-fd force-pushed the solcap-v3 branch 3 times, most recently from afa9350 to 3cde695 Compare January 2, 2026 20:12
riptl added 3 commits January 2, 2026 21:29
Adds a packet writer abstraction intended for use in solcap
producer code.  This decouples solcap event generation / Firedancer
runtime from the specifics of the solcap logging setup.

The first two backends provided are pcapng (dumps out solcap events
as fake UDP packets) and tango (sends solcap events to other tiles
on the Firedancer message bus).
Adds a new structured logging solution for Solana runtime events.
This version of solcap is fork-aware, transport-agnostic, and
encodes events via Protobuf.

Logs all event types that previous versions of solcap did and more.

Also includes various config cleanups (including for solfuzz dumps).

solcap specification:
https://github.com/firedancer-io/solana-core/tree/main/solcap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants