Skip to content

feat(event-queue): add tx data to VERTEX_REMOVED#1106

Merged
glevco merged 1 commit intomasterfrom
feat/event-queue/improve-tx-removed
Aug 12, 2024
Merged

feat(event-queue): add tx data to VERTEX_REMOVED#1106
glevco merged 1 commit intomasterfrom
feat/event-queue/improve-tx-removed

Conversation

@glevco
Copy link
Contributor

@glevco glevco commented Aug 6, 2024

Motivation

Our main Event Queue use case (wallet-service) asked us to provide the whole vertex in the VERTEX_REMOVED event data, instead of just the vertex ID.

Acceptance Criteria

  • Change VERTEX_REMOVED event to use TxDataWithoutMeta instead of VertexIdData.
  • Delete VertexIdData as it's not used anymore.

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 Aug 6, 2024
@codecov
Copy link

codecov bot commented Aug 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.95%. Comparing base (f1a56b7) to head (5918385).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1106      +/-   ##
==========================================
+ Coverage   84.87%   84.95%   +0.07%     
==========================================
  Files         314      314              
  Lines       23957    23951       -6     
  Branches     3621     3620       -1     
==========================================
+ Hits        20334    20348      +14     
+ Misses       2910     2896      -14     
+ Partials      713      707       -6     

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

@github-actions
Copy link

github-actions bot commented Aug 6, 2024

🐰Bencher

ReportMon, August 12, 2024 at 18:41:18 UTC
Projecthathor-core
Branchfeat/event-queue/improve-tx-removed
Testbedubuntu-22.04
Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Lower Boundary
nanoseconds (ns) | (%)
Latency Upper Boundary
nanoseconds (ns) | (%)
sync-v2 (up to 20000 blocks)✅ (view plot)104,014,644,026.32 (-9.12%)91,563,916,346.92 (88.03%)137,345,874,520.38 (75.73%)

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

@glevco glevco force-pushed the feat/event-queue/improve-tx-removed branch from 5adecbd to 900550a Compare August 6, 2024 17:23
@glevco glevco marked this pull request as ready for review August 6, 2024 20:37
msbrogli
msbrogli previously approved these changes Aug 6, 2024
@glevco glevco force-pushed the feat/event-queue/improve-tx-removed branch from 9a42b1f to 5918385 Compare August 12, 2024 18:40
@glevco glevco merged commit 5e99959 into master Aug 12, 2024
@glevco glevco deleted the feat/event-queue/improve-tx-removed branch August 12, 2024 21:21
@jansegre jansegre mentioned this pull request Oct 4, 2024
2 tasks
@jansegre jansegre mentioned this pull request Dec 11, 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