Skip to content

Conversation

@jannikluhn
Copy link
Contributor

No description provided.

@jannikluhn jannikluhn force-pushed the fix-shuttermint-handling branch from 775a3a2 to 5f91975 Compare October 28, 2025 14:39
Copy link
Contributor

@ulope ulope left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines +214 to +219
for range receivers {
keypermetrics.MetricsKeyperDKGMessagesSent.WithLabelValues(
eonLabel,
keypermetrics.DKGMessageTypePolyEval,
).Inc()
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use .Add() instead to pass a number directly

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't like add because it takes a float, but I guess that just means it's float internally anyway

When handling blocks, we didnt' call the BeforeSaveHook, leading to
some outgoing messages to be dropped. For clarity, we now also sync the
shuttermint state cache with the db at each block (even though this is
not strictly necessary).
@jannikluhn jannikluhn force-pushed the fix-shuttermint-handling branch from 5f91975 to 9e45785 Compare November 3, 2025 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants