Skip to main content

ensure_l1_block_predeploy

Function ensure_l1_block_predeploy 

Source
pub(super) fn ensure_l1_block_predeploy(
    db: &mut dyn Db,
) -> Result<(), DatabaseError>
Available on crate feature base only.
Expand description

Installs the canonical L1Block runtime when a local chain has no deployment.

Execute the pinned upgrade’s constructor to obtain its runtime instead of carrying a second bytecode artifact. Existing fork deployments and their storage are left intact.