-
Notifications
You must be signed in to change notification settings - Fork 691
Fork override trace block #11493
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
Open
DarkLord017
wants to merge
38
commits into
master
Choose a base branch
from
fork-override-trace-block
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Fork override trace block #11493
Changes from 27 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
b35dc3c
add fork override feature
DarkLord017 dcb2e2f
add fork override tests
DarkLord017 e3abf6c
more detailed rpc test
DarkLord017 47db1e0
fix build
DarkLord017 43f5aac
correct design and code changes
DarkLord017 22d2d6a
correct design and code changes
DarkLord017 f15f0c6
Merge branch 'master' into fork-override-trace-block
DarkLord017 f142af8
fix tests
DarkLord017 5205c18
Merge branch 'fork-override-trace-block' of https://github.com/Nether…
DarkLord017 e5623f9
add header override as per fork
DarkLord017 363bdf2
add tests for header overrides
DarkLord017 8bf86cb
remove blob unnnecesary var
DarkLord017 f751a8b
Merge branch 'master' into fork-override-trace-block
DarkLord017 c34a26a
Merge branch 'master' into fork-override-trace-block
DarkLord017 ff0fd90
Update src/Nethermind/Nethermind.Core.Test/Blockchain/TestBlockchain.cs
DarkLord017 8f6c9db
Update src/Nethermind/Nethermind.JsonRpc/Modules/Trace/TraceRpcModule.cs
DarkLord017 6017284
use fork name for tests , merge tests
DarkLord017 d174da1
Merge branch 'fork-override-trace-block' of https://github.com/Nether…
DarkLord017 23c4508
fix linting
DarkLord017 8855c9b
fix header function sig
DarkLord017 582fb99
remove comments use nameOf
DarkLord017 1295241
separate chiado refine tests
DarkLord017 1b6e602
fix
DarkLord017 e75dfba
refactoring
DarkLord017 528ea21
refactoring
DarkLord017 7c275b3
make base class to inherit spec
DarkLord017 a3f9e37
Merge branch 'master' into fork-override-trace-block
DarkLord017 cfa9328
make mainnet public
DarkLord017 178e3c7
Merge branch 'master' into fork-override-trace-block
DarkLord017 d397e47
Merge branch 'master' into fork-override-trace-block
DarkLord017 452c9f9
blocks first time later
DarkLord017 4266069
Merge branch 'fork-override-trace-block' of https://github.com/Nether…
DarkLord017 7480b17
blocks first time later
DarkLord017 126a0ca
refactor(specs): unify TransitionActivations derivation in ForkSchedule
LukaszRozmej 01367d1
style: fix whitespace and drop unused System.Linq import
LukaszRozmej d2f12d7
refactor(specs): add explicit ForkActivationKind to ForkSchedule indexer
LukaszRozmej ed54f92
refactor(specs): rename GenesisBlock/DaoBlockNumberConst to satisfy i…
LukaszRozmej 5b7c0dd
fix(specs,trace): address review findings B1/B2/B3/M1/M3
LukaszRozmej File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
16 changes: 16 additions & 0 deletions
16
src/Nethermind/Nethermind.Core/Specs/IForkAwareSpecProvider.cs
This file contains hidden or 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,16 @@ | ||
| // SPDX-FileCopyrightText: 2025 Demerzel Solutions Limited | ||
| // SPDX-License-Identifier: LGPL-3.0-only | ||
|
|
||
| using System.Collections.Generic; | ||
|
|
||
| namespace Nethermind.Core.Specs; | ||
|
|
||
| /// <summary> | ||
| /// Extends <see cref="ISpecProvider"/> with the ability to look up a named fork's release spec. | ||
| /// Implementations may vary per network (Mainnet, AuRa, Gnosis, etc.). | ||
| /// </summary> | ||
| public interface IForkAwareSpecProvider : ISpecProvider | ||
| { | ||
|
DarkLord017 marked this conversation as resolved.
|
||
| IEnumerable<string> AvailableForks { get; } | ||
| bool TryGetForkSpec(string forkName, out IReleaseSpec? spec); | ||
| } | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.