Skip to content

feat(event-queue): add new VERTEX_REMOVED event#1093

Merged
jansegre merged 1 commit intomasterfrom
feat/event-queue/add-tx-removed-event
Jul 26, 2024
Merged

feat(event-queue): add new VERTEX_REMOVED event#1093
jansegre merged 1 commit intomasterfrom
feat/event-queue/add-tx-removed-event

Conversation

@glevco
Copy link
Contributor

@glevco glevco commented Jul 24, 2024

Depends on #1092

Motivation

Even though the previous PR (#1092) fixes events so they include metadata updates for removed transaction dependencies, an event for the removed transaction itself was still missing. This PR adds it.

Acceptance Criteria

  • Reorder emission of CONSENSUS_TX_REMOVED events so it happens after CONSENSUS_TX_UPDATE events.
  • Add support for VERTEX_REMOVED event in the Event Queue.
  • Update event tests accordingly, as now there's one extra event.

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@glevco glevco self-assigned this Jul 24, 2024
@glevco glevco force-pushed the feat/event-queue/add-tx-removed-event branch 2 times, most recently from f878b8e to 6533408 Compare July 24, 2024 21:01
@glevco glevco marked this pull request as ready for review July 24, 2024 21:02
@glevco glevco requested review from jansegre and msbrogli as code owners July 24, 2024 21:02
@codecov
Copy link

codecov bot commented Jul 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.84%. Comparing base (730437f) to head (6533408).

Additional details and impacted files
@@                       Coverage Diff                       @@
##           fix/reward-lock/update-context    #1093   +/-   ##
===============================================================
  Coverage                           84.83%   84.84%           
===============================================================
  Files                                 314      314           
  Lines                               23903    23913   +10     
  Branches                             3612     3613    +1     
===============================================================
+ Hits                                20278    20288   +10     
  Misses                               2912     2912           
  Partials                              713      713           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

msbrogli
msbrogli previously approved these changes Jul 25, 2024
@glevco glevco force-pushed the fix/reward-lock/update-context branch 2 times, most recently from 74be114 to 2ae57ca Compare July 25, 2024 21:34
@jansegre jansegre mentioned this pull request Jul 25, 2024
2 tasks
jansegre
jansegre previously approved these changes Jul 26, 2024
@glevco glevco force-pushed the fix/reward-lock/update-context branch from 2ae57ca to 640b99d Compare July 26, 2024 17:08
Base automatically changed from fix/reward-lock/update-context to master July 26, 2024 20:41
@glevco glevco dismissed stale reviews from jansegre and msbrogli July 26, 2024 20:41

The base branch was changed.

@glevco glevco force-pushed the feat/event-queue/add-tx-removed-event branch from 6533408 to a02ae1a Compare July 26, 2024 20:43
@jansegre jansegre merged commit e7d1bc4 into master Jul 26, 2024
@jansegre jansegre deleted the feat/event-queue/add-tx-removed-event branch July 26, 2024 21:35
@jansegre jansegre mentioned this pull request Aug 1, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants