Skip to content
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

Devp2p EventEmitter refactor #2893

Merged
merged 44 commits into from
Jul 19, 2023
Merged

Devp2p EventEmitter refactor #2893

merged 44 commits into from
Jul 19, 2023

Conversation

scorbajio
Copy link
Contributor

@scorbajio scorbajio commented Jul 16, 2023

This PR addresses part of #2872 by changing the classes in the devp2p package that extend the EventEmitter class to rather keep the emitter in a class field. This PR builds off of #2889 and should be merged after #2889 has been merged.

scorbajio added 26 commits July 13, 2023 13:49
… _refillIntervalId, and _refillIntervalSelectionCounter
…ethereumjs/ethereumjs-monorepo into devp2p-fields-access-and-naming-cleanup
@codecov
Copy link

codecov bot commented Jul 16, 2023

Codecov Report

Merging #2893 (8866867) into master (9fec1f4) will increase coverage by 0.42%.
The diff coverage is 93.33%.

Additional details and impacted files

Impacted file tree graph

Flag Coverage Δ
block 88.66% <ø> (ø)
blockchain 92.58% <ø> (ø)
client 88.21% <93.33%> (+0.13%) ⬆️
common 97.13% <ø> (ø)
ethash ∅ <ø> (∅)
evm 69.95% <ø> (ø)
rlp ?
statemanager 85.16% <ø> (ø)
trie 90.29% <ø> (ø)
tx 95.96% <ø> (ø)
util 86.77% <ø> (ø)
vm ?

Flags with carried forward coverage won't be shown. Click here to find out more.

@scorbajio scorbajio linked an issue Jul 16, 2023 that may be closed by this pull request
2 tasks
@holgerd77
Copy link
Member

Ok, thanks a lot for the other PR 👍, RC releases tomorrow (Tuesday), I might or might not be able to still take this one in as well. Definitely no stress though, as you make it. Otherwise we'll just take this into the final breaking releases.

Copy link
Contributor

@acolytec3 acolytec3 left a comment

Choose a reason for hiding this comment

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

LGTM!

@acolytec3 acolytec3 merged commit 966d7dd into master Jul 19, 2023
@holgerd77 holgerd77 deleted the devp2p-eventemitter-refactor branch July 20, 2023 07:35
@holgerd77
Copy link
Member

To-tal-ly love this!!! 🙂👍

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update devp2p API methods
3 participants