From 5b717b68573962439e5f539a27ffd1c594b88e58 Mon Sep 17 00:00:00 2001 From: "lukasz.rozmej" Date: Fri, 3 May 2024 15:41:21 +0200 Subject: [PATCH] fix test --- .../Modules/Eth/EthRpcModuleTests.EthCall.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.EthCall.cs b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.EthCall.cs index 37c45f61978..14fabc863e3 100644 --- a/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.EthCall.cs +++ b/src/Nethermind/Nethermind.JsonRpc.Test/Modules/Eth/EthRpcModuleTests.EthCall.cs @@ -242,7 +242,7 @@ public async Task Eth_call_without_gas_pricing_after_1559_new_type_of_transactio } [Test] - public async Task Eth_call_with_base_fee_opcode_should_return_0() + public async Task Eth_call_with_base_fee_opcode_should_return_block_base_fee() { using Context ctx = await Context.CreateWithLondonEnabled(); @@ -260,7 +260,7 @@ public async Task Eth_call_with_base_fee_opcode_should_return_0() $"{{\"from\": \"0x32e4e4c7c5d1cea5db5f9202a9e4d99e56c91a24\", \"type\": \"0x2\", \"data\": \"{dataStr}\"}}"); string serialized = await ctx.Test.TestEthRpc("eth_call", ctx.Test.JsonSerializer.Serialize(transaction)); Assert.That( - serialized, Is.EqualTo("{\"jsonrpc\":\"2.0\",\"result\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"id\":67}")); + serialized, Is.EqualTo("{\"jsonrpc\":\"2.0\",\"result\":\"0x000000000000000000000000000000000000000000000000000000002da282a8\",\"id\":67}")); } [Test]