Skip to content

Commit

Permalink
chore(dispatcher): improve epoch-related logs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelstanley committed Aug 16, 2024
1 parent 12fb016 commit 121c8ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Disabled the `authority-claimer` when `CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_ENABLED` is set to `true`.
- Redacted the contents of `CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_REDIS_ENDPOINT`.
- server-manager tainted session errors logged on inspect-server.
- Improved dispatcher logs.

## [1.5.0] 2024-07-22

Expand Down
4 changes: 3 additions & 1 deletion offchain/dispatcher/src/drivers/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ impl Context {
(Some(_), None) => true, // Consider input_epoch greater than None
(None, _) => false, // None is never greater than any value
},
"Assertion failed: last_input_epoch should be greater than last_finished_epoch"
"cannot finish epoch: last_input_epoch ({:?}) is not greater than last_finished_epoch ({:?})",
self.last_input_epoch,
self.last_finished_epoch
);

broker.finish_epoch(self.inputs_sent).await?;
Expand Down

0 comments on commit 121c8ed

Please sign in to comment.