Skip to content

fix(blobs): lighter blob size check for backwards compatibility#18

Merged
marcello33 merged 2 commits into
0xPolygon:developfrom
greg-szabo:greg/blob-comp
May 9, 2025
Merged

fix(blobs): lighter blob size check for backwards compatibility#18
marcello33 merged 2 commits into
0xPolygon:developfrom
greg-szabo:greg/blob-comp

Conversation

@greg-szabo

@greg-szabo greg-szabo commented May 7, 2025

Copy link
Copy Markdown

This fix allows blobs to not be present in genesis.json. Zero blob size means that even if a proposer wants to propose blobs, it cannot attach any to the proposal. (blobs are disabled)

A governance vote can enable blobs by changing the value to maxBlobSizeBytes (or something else).

Edit: added the linter fixes that didn't make it into PR#17 at the last minute.


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

@sonarqubecloud

sonarqubecloud Bot commented May 8, 2025

Copy link
Copy Markdown

@marcello33 marcello33 merged commit afdffb3 into 0xPolygon:develop May 9, 2025
15 of 17 checks passed
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