forked from NethermindEth/nethermind
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* berlin update post AllCoreDevs * update tests to latest develop * fixed the access exception * added the new goerli validator * additional comparison rules for Goerli to support new ideas for impasse resolution * fixed known addresses * regression test added * add clique module method for checking signer * add clique method to interface * cleaning some code while looking for a solution to Goerli impasse * return pending tx count in ethstats properly * berlin mainnet blocks set * fixed tests for Belrin on mainnet * added missing test categories * modexp fixes * update tests * bit length -1 but only on positive * added tests, failing 2930 * minor cleaning around MODEXP * 2930 access list tests * 2930 tests rename and C# 9 * add various missing test categories * added more missing tests * added more missing block tests * bringing back tests that used to be broken and now are fine * fixed access lists ordering * NuGet fix * do not seek VMTests subdir * disabled subroutine tests * added flaky test to ignore] * NDM fix * some nullability fixes
- Loading branch information
1 parent
4b66d03
commit 3158aa4
Showing
538 changed files
with
2,872 additions
and
1,789 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
23 changes: 23 additions & 0 deletions
23
src/Nethermind/Ethereum.Blockchain.Block.Legacy.Test/RandomBlockchashTests.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,23 @@ | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
using Ethereum.Test.Base; | ||
using NUnit.Framework; | ||
|
||
namespace Ethereum.Blockchain.Block.Legacy.Test | ||
{ | ||
[TestFixture] | ||
[Parallelizable(ParallelScope.All)] | ||
public class RandomBlockhashTests : BlockchainTestBase | ||
{ | ||
[TestCaseSource(nameof(LoadTests))] | ||
public async Task Test(BlockchainTest test) | ||
{ | ||
await RunTest(test); | ||
} | ||
public static IEnumerable<BlockchainTest> LoadTests() | ||
{ | ||
var loader = new TestsSourceLoader(new LoadLegacyBlockchainTestsStrategy(), "bcRandomBlockhashTest"); | ||
return (IEnumerable<BlockchainTest>)loader.LoadTests(); | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
src/Nethermind/Ethereum.Blockchain.Block.Legacy.Test/StateTests.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,23 @@ | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
using Ethereum.Test.Base; | ||
using NUnit.Framework; | ||
|
||
namespace Ethereum.Blockchain.Block.Legacy.Test | ||
{ | ||
[TestFixture] | ||
[Parallelizable(ParallelScope.All)] | ||
public class StateTests : BlockchainTestBase | ||
{ | ||
[TestCaseSource(nameof(LoadTests))] | ||
public async Task Test(BlockchainTest test) | ||
{ | ||
await RunTest(test); | ||
} | ||
public static IEnumerable<BlockchainTest> LoadTests() | ||
{ | ||
var loader = new TestsSourceLoader(new LoadLegacyBlockchainTestsStrategy(), "bcStateTests"); | ||
return (IEnumerable<BlockchainTest>)loader.LoadTests(); | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
src/Nethermind/Ethereum.Blockchain.Block.Legacy.Test/TotalDifficulty.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,23 @@ | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
using Ethereum.Test.Base; | ||
using NUnit.Framework; | ||
|
||
namespace Ethereum.Blockchain.Block.Legacy.Test | ||
{ | ||
[TestFixture] | ||
[Parallelizable(ParallelScope.All)] | ||
public class TotalDifficultyTests : BlockchainTestBase | ||
{ | ||
[TestCaseSource(nameof(LoadTests))] | ||
public async Task Test(BlockchainTest test) | ||
{ | ||
await RunTest(test); | ||
} | ||
public static IEnumerable<BlockchainTest> LoadTests() | ||
{ | ||
var loader = new TestsSourceLoader(new LoadLegacyBlockchainTestsStrategy(), "bcTotalDifficultyTest"); | ||
return (IEnumerable<BlockchainTest>)loader.LoadTests(); | ||
} | ||
} | ||
} |
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
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.