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

Cleanup/move more sync integration tests to DI #8144

Merged
merged 5 commits into from
Jan 31, 2025

Conversation

asdacap
Copy link
Contributor

@asdacap asdacap commented Jan 31, 2025

  • Move more sync tests to DI.
  • Double check prod config works.
  • Cut some code.

Types of changes

What types of changes does your code introduce?

  • Refactoring

Testing

Requires testing

  • Yes
  • No

If yes, did you write tests?

  • Yes
  • No

Notes on testing

  • Seems to work.

@@ -8,7 +8,7 @@
namespace Nethermind.Synchronization.Blocks
{
[DebuggerDisplay("{Current}")]
public struct SyncBatchSize
public class SyncBatchSize
Copy link
Member

Choose a reason for hiding this comment

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

why class?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can't inject struct :( and its overriden in test

@asdacap asdacap merged commit dfdd416 into master Jan 31, 2025
79 checks passed
@asdacap asdacap deleted the cleanup/double-check-blockdownloader-tests branch January 31, 2025 13:57
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