Skip to main content

ensure_base_time_predeploy

Function ensure_base_time_predeploy 

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

Installs the BaseTime proxy and links its Denim implementation.

Standalone genesis owns the proxy admin and always resets it. A fork must not rewrite an inherited deployment, so the proxy code and admin are only seeded when the account has no code.