Skip to content
BLOBPEDIAby Unity Nodes
Documentation/App Docs/docs/maintainers/increase-square-size.mdView on App Docs
App Docs/docs/maintainers/increase-square-size.md

Increase square size

Increase square size

Currently the max square size on Arabica, Mocha, and Mainnet is 128. A square size of 128 has 8 MiB of capacity for blobs (see data square table).

The max square size is the minimum of GovMaxSquareSize and SquareSizeUpperBound. If you need to produce squares larger than the max square size, you must override either or both of these values: GovMaxSquareSize and SquareSizeUpperBound.

GovMaxSquareSize

GovMaxSquareSize is the maximum square size that can be set by governance. By default it is set to 64 (what Mainnet started with). You can increase the GovMaxSquareSize on a network by submitting a governance proposal (see gist).

SquareSizeUpperBound

Currently the SquareSizeUpperBound is set to 128. If you need to increase the SquareSizeUpperBound you must modify the hard-coded constant in versioned_consts.go and create a new binary.