Skip to content

feat(events): implement metadata events#530

Merged
glevco merged 3 commits intodevfrom
feat/metadata-events
Feb 24, 2023
Merged

feat(events): implement metadata events#530
glevco merged 3 commits intodevfrom
feat/metadata-events

Conversation

@glevco
Copy link
Copy Markdown
Contributor

@glevco glevco commented Feb 15, 2023

  • Unify TX_METADATA_CHANGED and BLOCK_METADATA_CHANGED events into VERTEX_METADATA_CHANGED
  • Implement ability on EventManager to convert an event to another type before persisting and emitting it

@glevco glevco self-assigned this Feb 15, 2023
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 15, 2023

Codecov Report

Merging #530 (5b2a5c2) into dev (1243e51) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #530      +/-   ##
==========================================
- Coverage   83.17%   83.12%   -0.05%     
==========================================
  Files         209      209              
  Lines       18512    18512              
  Branches     2587     2587              
==========================================
- Hits        15397    15389       -8     
- Misses       2554     2558       +4     
- Partials      561      565       +4     
Impacted Files Coverage Δ
hathor/event/event_manager.py 94.93% <100.00%> (+0.06%) ⬆️
hathor/pubsub.py 94.93% <100.00%> (-0.07%) ⬇️
hathor/consensus.py 95.79% <0.00%> (-1.10%) ⬇️
hathor/manager.py 70.08% <0.00%> (-0.15%) ⬇️
hathor/transaction/storage/transaction_storage.py 89.97% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@glevco glevco closed this Feb 21, 2023
@glevco glevco force-pushed the feat/metadata-events branch from 5a46fbd to 00cb7f8 Compare February 21, 2023 19:34
@glevco glevco reopened this Feb 21, 2023
@glevco glevco marked this pull request as ready for review February 22, 2023 21:51
@glevco glevco force-pushed the feat/metadata-events branch from 752d36c to c8d132b Compare February 24, 2023 16:22
@glevco glevco force-pushed the feat/metadata-events branch from 256c6e5 to 5b2a5c2 Compare February 24, 2023 19:59
@glevco glevco merged commit 42bfc1c into dev Feb 24, 2023
@glevco glevco deleted the feat/metadata-events branch February 24, 2023 23:24
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