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

add: column support to ENR, Metadata and Request Manager #6741

Merged
merged 10 commits into from
Dec 15, 2024
Merged

add: column support to ENR, Metadata and Request Manager #6741

merged 10 commits into from
Dec 15, 2024

Conversation

agnxsh
Copy link
Contributor

@agnxsh agnxsh commented Dec 2, 2024

This PR adds custody_subent_count to both ENR and Metadata as corresponding field, in peerDAS, it helps peers to filer other peers from the peer pool as full nodes and supernodes.

@agnxsh agnxsh marked this pull request as draft December 2, 2024 06:40
Copy link

github-actions bot commented Dec 2, 2024

Unit Test Results

       12 files  ±0    1 822 suites  ±0   55m 46s ⏱️ - 9m 48s
  5 290 tests ±0    4 942 ✔️ ±0  348 💤 ±0  0 ±0 
29 425 runs  ±0  28 973 ✔️ ±0  452 💤 ±0  0 ±0 

Results for commit 684b1b5. ± Comparison against base commit 7647d17.

♻️ This comment has been updated with latest results.

@agnxsh agnxsh changed the title add: custody subnet count support to ENR and Metadata add: column support to ENR, Metadata and Request Manager Dec 3, 2024
@agnxsh agnxsh marked this pull request as ready for review December 3, 2024 08:56
{.async: (raises: [CancelledError]).} =
var peer: Peer
try:
peer = await rman.network.peerPool.acquire()
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems like peer is never re-assigned, and right now, it's notionally briefly declared but default-initialized to some meaningless zero-value. It seems like one could do something like var peer = await rman ... outside the try, equivalently but avoiding this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@tersec tersec merged commit 2bf0df7 into unstable Dec 15, 2024
13 checks passed
@tersec tersec deleted the csc branch December 15, 2024 11:46
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.

2 participants