-
Notifications
You must be signed in to change notification settings - Fork 90
add coin_store_deletion_event info to event_to_coin_type map #692
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #692 +/- ##
=======================================
- Coverage 49.6% 49.2% -0.4%
=======================================
Files 252 252
Lines 28526 28711 +185
=======================================
- Hits 14166 14153 -13
- Misses 14360 14558 +198 ☔ View full report in Codecov by Sentry. |
7ec0087
to
ff04a33
Compare
let coin_store_deletion_event = events.iter().find_map(|event| { | ||
let event_type = event.type_str.as_str(); | ||
CoinStoreDeletionEvent::from_event(event_type, &event.data, txn_version) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what if there are multiple deletion events in the same txn?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice catch. I updated.
what happened here? @rtso @bowenyang007 |
not sure if we still need this @bowenyang007 |
902040d
to
14c35c9
Compare
14c35c9
to
7a9b65a
Compare
Add the to event id to coin type mapping.