Skip to content

Conversation

@danyalprout
Copy link
Collaborator

@danyalprout danyalprout commented Nov 17, 2025

📝 Summary

  • Fixes for Jovian
    • Min basefee and extra data are configured correctly
    • Header fields are setup for daFootprint
    • Calmative DA bytes includes builder transactions as it's now part of consensus
  • Activate Holocene/Jovian in the tests
  • Ensure the tests setup the deposit transactions correctly
  • Tests for Jovian
    • Min base fee support
  • Possible bugs
    • If builder transactions can ever be larger than the daFootprint, this will cause a chain fork

💡 Motivation and Context

Needed for the hardfork.


✅ I have completed the following steps:

  • Run make lint
  • Run make test
  • Added tests (if applicable)

@danyalprout danyalprout changed the title Fix jovian fix: jovian hardfork tests & fixes Nov 17, 2025
@danyalprout danyalprout marked this pull request as ready for review November 18, 2025 00:44
@SozinM
Copy link
Collaborator

SozinM commented Nov 18, 2025

If builder transactions can ever be larger than the daFootprint, this will cause a chain fork

We do check builder tx size and deduct it from total da size, have you accounted for this?

}
// Save some space in the block_da_limit for builder tx
let builder_tx_da_size = builder_txs.iter().fold(0, |acc, tx| acc + tx.da_size);
info.cumulative_da_bytes_used += builder_tx_da_size;
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should be in here as the builder tx isn't necessarily committed yet

// We subtract gas limit and da limit for builder transaction from the whole limit
let builder_tx_gas = builder_txs.iter().fold(0, |acc, tx| acc + tx.gas_used);
let builder_tx_da_size: u64 = builder_txs.iter().fold(0, |acc, tx| acc + tx.da_size);
info.cumulative_da_bytes_used += builder_tx_da_size;
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should be in here as the builder tx isn't necessarily committed yet


let builder_tx_gas = builder_txs.iter().fold(0, |acc, tx| acc + tx.gas_used);
let builder_tx_da_size: u64 = builder_txs.iter().fold(0, |acc, tx| acc + tx.da_size);
info.cumulative_da_bytes_used += builder_tx_da_size;
Copy link
Collaborator

Choose a reason for hiding this comment

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

same here

@avalonche avalonche merged commit e335539 into flashbots:main Nov 18, 2025
4 checks passed
@danyalprout danyalprout deleted the fix-jovian branch November 18, 2025 17:17
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