Skip to content

Record energy cost of module updates #4847

@gefjon

Description

@gefjon

fn update_database, in crates/core/src/host/wasm_common/module_host_actor.rs , does not record the energy cost of the transaction which updates the database to a new module blob. It does record the cost of re-evaluating subscriptions if that's necessary, but not to write the system tables, which includes storing the new code blob.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions