Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
LukaszRozmej committed May 3, 2024
1 parent 1d6874d commit 5b717b6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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]
Expand Down

0 comments on commit 5b717b6

Please sign in to comment.