Skip to content

Conversation

@byteZorvin
Copy link
Member

@byteZorvin byteZorvin commented Nov 22, 2025

Pull Request type

Please add the labels corresponding to the type of changes your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Testing
  • Other (please describe):

What is the current behavior?

  • Onchain data hash/size calculation is dead code and is not required now
  • Also, when and l3 chain is run with use_kzg_da: true, this breaks with not able to find fact_root

What is the new behavior?

  • Removes onchain data hash and size calculation.

Does this introduce a breaking change?

  • No

@byteZorvin byteZorvin self-assigned this Nov 22, 2025
@byteZorvin byteZorvin added this to the V0.14.0 milestone Nov 22, 2025
@byteZorvin byteZorvin marked this pull request as draft November 22, 2025 10:07
@byteZorvin byteZorvin added the bug Report an issue or unexpected behavior label Nov 22, 2025
@byteZorvin byteZorvin marked this pull request as ready for review November 22, 2025 10:15
self.store_l2(internal_id.clone(), config.storage(), &snos_metadata, cairo_pie, os_output, program_output)
.await?;
} else if config.layer() == &Layer::L2 {
if config.layer() == &Layer::L2 {
Copy link
Member

Choose a reason for hiding this comment

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

this if condition can be removed now

Copy link
Member Author

Choose a reason for hiding this comment

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

Makes sense updated

@prkpndy
Copy link
Contributor

prkpndy commented Nov 22, 2025

Testing

@byteZorvin byteZorvin enabled auto-merge November 22, 2025 13:38
@byteZorvin byteZorvin added this pull request to the merge queue Nov 22, 2025
Merged via the queue into main with commit 3e01dfa Nov 22, 2025
31 of 38 checks passed
@github-project-automation github-project-automation bot moved this to Done in Madara Nov 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Report an issue or unexpected behavior

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants