-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Implement TraceStore plugin * Add compression to db * Allow unsafe to avoid allocation * Fix EndBlockTrace to be after Applying rewards * Add ByteArrayPoolList * Make ResettableList implement IReadOnlyCollection * Make DbOnTheRocks default to nameless configuration if named not found * Make BlockTracerBase based on ResettableList * Fixes and improvements * Add plugin to pipelines * fix test * Add temporary traces * Revert "Add temporary traces" This reverts commit 9190ed0. * Add exception data to json rpc errors * Increase MaxDepth to 128 * Refactor product versioning and revise Docker files (#4781) * Upgrade version to 14.4 (#4796) Co-authored-by: Kamil Chodoła <kamil@nethermind.io> * Chiado TTD (#4801) * Updating Fast Sync config files (#4803) Co-authored-by: LukaszRozmej <LukaszRozmej@users.noreply.github.com> * Feature: added extra data length checks (#4805) * Added 32 bytes check on extra data Added checks and tests for the ExtraData not to be longer than 32 bytes * Fix workflow to pass parameters to scripts (#4799) * Autorecover when disconnected chain is found (#4816) * Autorecover when disconnected chain is found * Fix tests * Updating Fast Sync config files (#4819) Co-authored-by: MarekM25 <MarekM25@users.noreply.github.com> * Fix environment variable definition (#4825) * Revert "Fix sepolia invalid block (#4694)" (#4838) This reverts commit 8f28e4a. * Bump build version to 14.5 (#4839) Co-authored-by: Kamil Chodoła <kamil@nethermind.io> * fix transition creation * Don't log error, when initialization is stopped (like when syncing previously downloaded blocks from db) * Add VerifySerialized option * Add serialization tests * Move VerifySerialized to TraceSerializer, add MaxDepth config * fix whitespace * fix null handling in TxBroadcaster * Refactor ITraceSerializer * fix test * undo fix * whitespace fix * test fix * fixes * Set chiado and xdai `Merge.SecondsPerSlot=5` (#4880) * Set chiado `Merge.SecondsPerSlot=5` * Update xdai configs with `Merge.SecondsPerSlot=5` This commit is not relevant before the merge. * Updating Fast Sync config files (#4897) Co-authored-by: LukaszRozmej <LukaszRozmej@users.noreply.github.com> * Set C# version to 10.0 (#4881) * Add gnosischain TTD value (#4901) * Add gnosischain TTD value Scheduled for `Dec 5 2022` assuming 5s block times: `8626000000000000000000058750000000000000000000` * Add EnginePort xdai configs * Add xdai TTD test to ChainSpecLoaderTests * Fix runner tests * Override MergePlugin Name and Description fields in AuRaMergePlugin * fix eth_call mix_hash and beneficiary (#4873) * fix eth_call mix_hash and beneficiary * always set MixHash # Conflicts: # src/Nethermind/Nethermind.Facade/BlockchainBridge.cs * Changes the docker password to a token (#4916) * fix: changes the docker password to token * fix: update docker pass for main release workflow * parallelized trace_filter execution per block * Remove unneded filters * Reduce traces memory allocation * fix trace filtering * fix whitespace * Updating Fast Sync config files (#4920) Co-authored-by: LukaszRozmej <LukaszRozmej@users.noreply.github.com> * Bump build version to 14.6 (#4923) Co-authored-by: Kamil Chodoła <kamil@nethermind.io> * Changes the docker password variable to token (#4924) * fix: changes the docker password to token * fix: update docker pass for main release workflow * fix: change DOCKER_PASSWORD to token * null action result when it is empty * Temporarily switch to `ubuntu-20.04` image (#4927) * Ignore ParityResult.IsEmpty in JSON * Fix remove empty results * Merge 1.14.7 * fix licensing header * fix whitespace * Final touches * Make ITraceSerializer generic * refactor * Adds IsTracingFees docs * FIx issue when Result was added to json, because it was created by default on deserialization, even if not serialized * fix shutdown if TraceStorePlugin not Enabled * Review fixes * Fix tests * fix shitespace Co-authored-by: Ruben Buniatyan <rubo@users.noreply.github.com> Co-authored-by: Kamil Chodoła <43241881+kamilchodola@users.noreply.github.com> Co-authored-by: Kamil Chodoła <kamil@nethermind.io> Co-authored-by: Jorge Mederos <46798594+jmederosalvarado@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: LukaszRozmej <LukaszRozmej@users.noreply.github.com> Co-authored-by: Oleg Jakushkin <oleg.jakushkin@gmail.com> Co-authored-by: Amirul Ashraf <asdacap@gmail.com> Co-authored-by: MarekM25 <MarekM25@users.noreply.github.com> Co-authored-by: Marek Moraczyński <marekm2504@gmail.com> Co-authored-by: Falco <1364936+FalcoXYZ@users.noreply.github.com>
- Loading branch information
1 parent
1da7431
commit 2e8630b
Showing
66 changed files
with
1,741 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/Nethermind/Nethermind.Core/Collections/ByteArrayPoolList.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited | ||
// SPDX-License-Identifier: LGPL-3.0-only | ||
|
||
using System.Buffers; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
|
||
namespace Nethermind.Core.Collections; | ||
|
||
public class ByteArrayPoolList : ArrayPoolList<byte> | ||
{ | ||
public ByteArrayPoolList(int capacity) : base(capacity) | ||
{ | ||
} | ||
|
||
public ByteArrayPoolList(int capacity, IEnumerable<byte> enumerable) : base(capacity, enumerable) | ||
{ | ||
} | ||
|
||
public ByteArrayPoolList(ArrayPool<byte> arrayPool, int capacity) : base(arrayPool, capacity) | ||
{ | ||
} | ||
|
||
public MemoryStream AsMemoryStream() => new(_array, 0, Count); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.