Skip to content
This repository was archived by the owner on May 16, 2018. It is now read-only.
This repository was archived by the owner on May 16, 2018. It is now read-only.

Handle activation of simultaneous rules during the same round #105

@pgambier

Description

@pgambier

The rules are evaluated sequentially. If two rules are evaluated to "true" during the same round, the second one will potentially be evaluated on an inconsistant network state (because the first action will be taken). In the majority of the cases, this behaviour will cause no harm because there is no impact of action 1 on rule 2.

To avoid potential bugs, the evaluation of the rules and application of the actions should be done differently :

  • First, evaluate all the rules but apply none of the actions
  • Then, apply all the actions associated with the rules evaluated to "true"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions