Skip to content

Conversation

ripatel-fd
Copy link
Contributor

No description provided.

}

static ulong
next_leader_slot( fd_replay_tile_t const * ctx,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What exactly is this "fixing"? You're just removing functionality from backtest that we actually need to simulate real production performance.

Copy link
Contributor

@mmcgee-jump mmcgee-jump left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@ripatel-fd
Copy link
Contributor Author

What exactly is this "fixing"?

@mmcgee-jump I can't run backtest without random unrelated file system accesses to ~/.firedancer/fd1/identity_key.json. This file usually doesn't exist, so I just get a non-descriptive exit code 1 error.

Backtest does asynchronous single ledger replay without fork choice or block production
The replay tile managing a key in that context makes no sense.

We should make a new subcommand if we want a topology that exercises block production and fork choice on historical data.

@ripatel-fd
Copy link
Contributor Author

Oh I see, didn't realize backtest is already doing block production. Rewriting this PR

@ripatel-fd ripatel-fd closed this Oct 7, 2025
@ripatel-fd ripatel-fd reopened this Oct 7, 2025
@ripatel-fd
Copy link
Contributor Author

Well, this is still valid. firedancer-dev backtest is never going to get a leader slot unless we also have functionality to forcibly inject ourselves into a leader schedule (and break consensus rules)

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.

3 participants