valory-xyz / open-autonomy

A framework for the creation of autonomous agent services.
https://docs.autonolas.network
Apache License 2.0
80 stars 26 forks source link

Unclear error while checking FSM spec #2203

Open dvilelaf opened 5 months ago

dvilelaf commented 5 months ago

Whenever we do not reference a specified event in our rounds, the FSM checker will report something like:

Error: Unreferenced events found in `AutomateAbciApp`
- Events {'NO_MAJORITY', 'DONE'} are defined in the round transitions of `ConditionCheckerRound` but not in `event_to_timeout`
- Events {'NO_MAJORITY', 'DONE'} are defined in the round transitions of `RelayFetcherRound` but not in `event_to_timeout`
- Events {'SETTLE'} are defined in the round transitions of `ExecutorRound` but not in `event_to_timeout`

THis has nothing to do with event_to_timeout and the message should be updated.

Devanshusisodiya commented 5 months ago

@dvilelaf @angrybayblade I've raised a PR for this issue, please review and provide comments.