-
Notifications
You must be signed in to change notification settings - Fork 461
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
Merge/continous block improvement #4488
Conversation
I did not face such issues, but I believe if they will appear, it will be veery hard to debug |
Yeah you are right. I somehow convinced myself that DateTime would not be a problem. Moved to DateTimeOffset.UtcNow as Environment.TickCount64 can have issues with resolution: https://docs.microsoft.com/en-us/dotnet/api/system.environment.tickcount?view=net-6.0#remarks Those might not be a big issue in prod, but I want my test to have tight timings |
src/Nethermind/Nethermind.Merge.Plugin/BlockProduction/BlockImprovementContextFactory.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Merge.Plugin/BlockProduction/PayloadPreparationService.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Merge.Plugin/BlockProduction/PayloadPreparationService.cs
Show resolved
Hide resolved
MSF11 nodes looked, waiting for MSF12 good: https://seq.nethermind.io/#/events?filter=Contains(@Message,%20%22improved%22)%20and%20Logger%20%3D%20'Merge.Plugin.BlockProduction.PayloadPreparationService' |
…ck-improvement # Conflicts: # src/Nethermind/Nethermind.Merge.Plugin.Test/EngineModuleTests.V1.cs # src/Nethermind/Nethermind.Merge.Plugin/BlockProduction/BlockImprovementContextFactory.cs # src/Nethermind/Nethermind.Merge.Plugin/BlockProduction/Boost/BoostBlockImprovementContextFactory.cs # src/Nethermind/Nethermind.Merge.Plugin/BlockProduction/IBlockImprovementContextFactory.cs
…ck-improvement # Conflicts: # src/Nethermind/Nethermind.Merge.Plugin.Test/EngineModuleTests.V1.cs
Sepolia tests showed no memory leak, everything is clearing up fine. |
@@ -230,6 +230,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nethermind.Merge.AuRa.Test" | |||
EndProject | |||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nethermind.Merge.AuRa", "Nethermind.Merge.AuRa\Nethermind.Merge.AuRa.csproj", "{F166365D-6E31-401B-9753-59EADB800E2A}" | |||
EndProject | |||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MathGmp.Native", "..\Math.Gmp.Native\MathGmp.Native\MathGmp.Native.csproj", "{16E039D0-8944-4EFB-8624-FC9EB9FF75DB}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm looks like not related to the PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes but fixes latest master
* Make Payload Production continuous improving block while in slot. * Remove whitespace * Change timings for more reliable tests * Comments + better naming * Move to DateTimeOffset * Add more logs * Review improvements * Move to TimeSpan's * Fix merging master
* Make Payload Production continuous improving block while in slot. * Remove whitespace * Change timings for more reliable tests * Comments + better naming * Move to DateTimeOffset * Add more logs * Review improvements * Move to TimeSpan's * Fix merging master
Resolves #3592
This is based on 14.1 version. Merge ready if someone wants to use it.
Changes:
Types of changes
What types of changes does your code introduce?
Put an
x
in the boxes that applyTesting
Requires testing
In case you checked yes, did you write tests??
Comments about testing , should you have some
Should be tested on shadow-fork. Would be good to grab memory dump to ensure there is no leak.