Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ak88 committed Jun 24, 2024
1 parent ab6504e commit 9bbd55c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Nethermind/Ethereum.Basic.Test/TransactionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static IEnumerable<TransactionTest> LoadTests()
[TestCaseSource(nameof(LoadTests))]
public void Test(TransactionTest test)
{
EthereumEcdsa ethereumEcdsa = new EthereumEcdsa(TestBlockchainIds.ChainId, LimboLogs.Instance);
EthereumEcdsa ethereumEcdsa = new EthereumEcdsa(TestBlockchainIds.ChainId);
Transaction decodedUnsigned = Rlp.Decode<Transaction>(test.Unsigned);
Assert.That(decodedUnsigned.Value, Is.EqualTo(test.Value), "value");
Assert.That(decodedUnsigned.GasPrice, Is.EqualTo(test.GasPrice), "gasPrice");
Expand Down
2 changes: 1 addition & 1 deletion src/Nethermind/Ethereum.KeyAddress.Test/KeyAddressTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class KeyAddressTests
public void SetUp()
{
Directory.SetCurrentDirectory(AppDomain.CurrentDomain.BaseDirectory);
_ecdsa = new EthereumEcdsa(TestBlockchainIds.ChainId, LimboLogs.Instance);
_ecdsa = new EthereumEcdsa(TestBlockchainIds.ChainId);
}

private static IEnumerable<KeyAddressTest> LoadTests()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private void RunTest(TransactionTest test, IReleaseSpec spec)
Signature expectedSignature = new(validTest.R, validTest.S, validTest.V);
Assert.That(transaction.Signature, Is.EqualTo(expectedSignature), "signature");

IEthereumEcdsa ecdsa = new EthereumEcdsa(useChainId ? BlockchainIds.Mainnet : 0UL, LimboLogs.Instance);
IEthereumEcdsa ecdsa = new EthereumEcdsa(useChainId ? BlockchainIds.Mainnet : 0UL);
bool verified = ecdsa.Verify(
validTest.Sender,
transaction);
Expand Down

0 comments on commit 9bbd55c

Please sign in to comment.