Skip to content

Commit

Permalink
Remove?
Browse files Browse the repository at this point in the history
  • Loading branch information
benaadams committed Dec 5, 2024
1 parent 7272e06 commit f7f960a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Nethermind/Ethereum.Trie.Test/TrieTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,18 @@ private static IEnumerable<TrieTest> LoadAnyOrderTests()
IEnumerable<TrieTest> tests = TestLoader.LoadFromFile<Dictionary<string, TrieTestJson>, TrieTest>(
"trieanyorder.json",
dwj => dwj.Select(p => new TrieTest(p.Key, p.Value.In.ToList(), p.Value.Root)))
// Remove Trie branch value test
.Where(p => p.ExpectedRoot != "0x8452568af70d8d140f58d941338542f645fcca50094b20f3c3d8c3df49337928");
// Remove branch value tests
.Where(t => t.Input.All(kvp => kvp.Key.Length == 32));
return GetTestPermutations(tests);
}

private static IEnumerable<TrieTest> LoadHexEncodedSecureTests()
{
IEnumerable<TrieTest> tests = TestLoader.LoadFromFile<Dictionary<string, TrieTestJson>, TrieTest>(
"hex_encoded_securetrie_test.json",
dwj => dwj.Select(p => new TrieTest(p.Key, p.Value.In.ToList(), p.Value.Root)));
dwj => dwj.Select(p => new TrieTest(p.Key, p.Value.In.ToList(), p.Value.Root)))
// Remove branch value tests
.Where(t => t.Input.All(kvp => kvp.Key.Length == 32));
return GetTestPermutations(tests);
}

Expand Down

0 comments on commit f7f960a

Please sign in to comment.