Skip to content

only set SC state change flag when memory was written #696

@Franziska-Mueller

Description

@Franziska-Mueller

Currently, the state change flag is set whenever a procedure, read: non-function, is called, irrespective of whether the procedure really wrote to the state. This may cause some unnecessary state digest computations.

The goal of this task is to add functionality to detect writes to the SC state.

Suggestions:

  • encapsulate SC state memory in some way (class/struct), s.t. setter functions need to be called
  • since types of state variables are anyways limited, overload assignment operator to set state change flag accordingly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions