Skip to content

Conversation

@wlawt
Copy link
Contributor

@wlawt wlawt commented Dec 2, 2025

No description provided.

@wlawt wlawt marked this pull request as ready for review December 2, 2025 19:47
.unwrap_or_else(|_| {
// TODO: in the future, we should return the error
warn!(message = "Bundle simulation failed, using default response", bundle_hash = %bundle_hash);
MeterBundleResponse::default()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

maybe default_with_hash() to use the bundle hash here? not sure if it matters

but also dont want to make this fn look like something to frequently use

Copy link
Collaborator

@danyalprout danyalprout left a comment

Choose a reason for hiding this comment

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

would be nice to add a test for this if possible

@danyalprout danyalprout merged commit 664f207 into master Dec 3, 2025
10 checks passed
@danyalprout danyalprout deleted the meter-bundle-noerr branch December 3, 2025 16:02
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.

3 participants