Skip to content

Conversation

@ibhatt-jumptrading
Copy link
Contributor

No description provided.

@ibhatt-jumptrading ibhatt-jumptrading changed the title firedancer: more verbose blockhash errors firedancer: more verbose blockhash errors [wip, dont review] Oct 29, 2025
@github-actions
Copy link

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.074641 s 0.073394 s -1.671%
backtest mainnet-368528500-perf snapshot load 2.68 s 2.644 s -1.343%
backtest mainnet-368528500-perf total elapsed 74.641369 s 73.393964 s -1.671%
firedancer mem usage with mainnet.toml 960.13 GiB 960.13 GiB 0.000%

@ibhatt-jumptrading ibhatt-jumptrading force-pushed the ibhatt/verbose_blockhash_errors branch from 51a8bca to 93522fc Compare October 29, 2025 17:20
@github-actions
Copy link

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.062259 s 0.050737 s -18.507%
backtest mainnet-368528500-perf snapshot load 1.868 s 1.421 s -23.929%
backtest mainnet-368528500-perf total elapsed 62.25854 s 50.737221 s -18.506%
firedancer mem usage with mainnet.toml 960.13 GiB 960.13 GiB 0.000%

@ibhatt-jumptrading ibhatt-jumptrading changed the title firedancer: more verbose blockhash errors [wip, dont review] runtime: more verbose blockhash errors Oct 29, 2025
<int value="15" name="InvalidLoadedAccountsDataSizeLimit" label="The compute budget program was invoked and set the loaded accounts data size to zero" />
<int value="16" name="BlockhashNonceNotAdvanceable" label="The transaction references a nonce account that is not advanceable" />
<int value="17" name="BlockhashNoAdvanceNonceInstr" label="The transaction does not have a valid blockhash and no advance nonce instruction was found" />
<int value="18" name="BlockhashFailAdvanceNonceInstr" label="The transaction does not have a valid blockhash and the advance nonce instruction failed" />
Copy link
Contributor

Choose a reason for hiding this comment

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

You mean it does have a valid blockhash?

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<int value="18" name="BlockhashFailAdvanceNonceInstr" label="The transaction does not have a valid blockhash and the advance nonce instruction failed" />
<int value="18" name="NoneAdvanceFailed" label="The transaction does not have a valid blockhash and the advance nonce instruction failed" />

<int value="13" name="MaxLoadedAccountsDataSizeExceeded" label="The total account data size of the loaded accounts exceeds the consensus limit" />
<int value="14" name="DuplicateInstruction" label="A compute budget program instruction was invoked more than once" />
<int value="15" name="InvalidLoadedAccountsDataSizeLimit" label="The compute budget program was invoked and set the loaded accounts data size to zero" />
<int value="16" name="BlockhashNonceNotAdvanceable" label="The transaction references a nonce account that is not advanceable" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<int value="16" name="BlockhashNonceNotAdvanceable" label="The transaction references a nonce account that is not advanceable" />
<int value="16" name="NonceNotAdvanceable" label="The transaction references a nonce account that is not advanceable" />

And why would it be not advanceable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

if next durable nonce == transactions's recent blockhash

<int value="14" name="DuplicateInstruction" label="A compute budget program instruction was invoked more than once" />
<int value="15" name="InvalidLoadedAccountsDataSizeLimit" label="The compute budget program was invoked and set the loaded accounts data size to zero" />
<int value="16" name="BlockhashNonceNotAdvanceable" label="The transaction references a nonce account that is not advanceable" />
<int value="17" name="BlockhashNoAdvanceNonceInstr" label="The transaction does not have a valid blockhash and no advance nonce instruction was found" />
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think you want this one? This should just map to BlockhashNotFound, as it's presumably not a nonce transaction

@ibhatt-jumptrading ibhatt-jumptrading force-pushed the ibhatt/verbose_blockhash_errors branch from 93522fc to c5ff611 Compare October 29, 2025 19:24
@github-actions
Copy link

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.06158 s 0.050794 s -17.515%
backtest mainnet-368528500-perf snapshot load 1.801 s 1.413 s -21.544%
backtest mainnet-368528500-perf total elapsed 61.579787 s 50.794476 s -17.514%
firedancer mem usage with mainnet.toml 960.13 GiB 960.13 GiB 0.000%

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