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

sentry: eth protocol handshake #762

Merged
merged 3 commits into from
Jan 3, 2023
Merged

sentry: eth protocol handshake #762

merged 3 commits into from
Jan 3, 2023

Conversation

battlmonstr
Copy link
Contributor

@battlmonstr battlmonstr commented Sep 14, 2022

  • sentry.proto HandShake

  • sentry.proto SetStatus

  • ForkId (EIP-2124)

  • Status message exchange and verification

  • coroutines startup refactoring

  • fix Sepolia distinct_fork_numbers

  • ServerContextPool helper constructor to init SentryImpl members with its contexts

@battlmonstr battlmonstr requested a review from canepat September 14, 2022 14:14
@codecov
Copy link

codecov bot commented Sep 14, 2022

Codecov Report

Merging #762 (5f9e447) into master (49836de) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #762      +/-   ##
==========================================
- Coverage   74.65%   74.60%   -0.05%     
==========================================
  Files         210      210              
  Lines       15934    15939       +5     
  Branches     2498     2499       +1     
==========================================
- Hits        11896    11892       -4     
- Misses       2998     3005       +7     
- Partials     1040     1042       +2     
Impacted Files Coverage Δ
node/silkworm/rpc/server/server_context_pool.cpp 52.05% <0.00%> (-1.14%) ⬇️
node/silkworm/rpc/server/server_context_pool.hpp 83.33% <ø> (ø)
core/silkworm/consensus/pos/engine.cpp 83.33% <0.00%> (-16.67%) ⬇️
core/silkworm/consensus/base/engine.cpp 90.90% <0.00%> (-1.71%) ⬇️
core/silkworm/trie/hash_builder.cpp 98.13% <0.00%> (-0.47%) ⬇️
core/silkworm/types/transaction.cpp 81.78% <0.00%> (-0.32%) ⬇️
core/silkworm/state/in_memory_state.cpp 92.70% <0.00%> (ø)
core/silkworm/types/block.cpp 87.50% <0.00%> (+0.50%) ⬆️

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

* sentry.proto HandShake
* sentry.proto SetStatus
* ForkId (EIP-2124)
* Status message exchange and verification

* coroutines startup refactoring
* fix Sepolia distinct_fork_numbers
* ServerContextPool helper constructor to init SentryImpl members with its contexts
BlockNum head_block_num;
StatusMessage message;

static StatusData test_instance();
Copy link
Member

Choose a reason for hiding this comment

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

This seems to be a leftover because its only usage here is indeed commented out.

In any case, even if needed for future work I would suggest to move this test_instance function directly to a dedicated test folder, e.g. something like silkworm/sentry/test

@canepat canepat merged commit 552f9d0 into master Jan 3, 2023
@canepat canepat deleted the status branch January 3, 2023 15:39
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