From 580168e6aa1ac1f8cc59b2352e539626780f439e Mon Sep 17 00:00:00 2001 From: Tanishq Jasoria Date: Thu, 5 Dec 2024 15:46:58 +0530 Subject: [PATCH] Update src/Nethermind/Nethermind.Evm.Test/Eip2028Tests.cs Co-authored-by: Lukasz Rozmej --- src/Nethermind/Nethermind.Evm.Test/Eip2028Tests.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Nethermind/Nethermind.Evm.Test/Eip2028Tests.cs b/src/Nethermind/Nethermind.Evm.Test/Eip2028Tests.cs index 167b769c78d..bf19ba0ae50 100644 --- a/src/Nethermind/Nethermind.Evm.Test/Eip2028Tests.cs +++ b/src/Nethermind/Nethermind.Evm.Test/Eip2028Tests.cs @@ -24,8 +24,7 @@ public void non_zero_transaction_data_cost_should_be_16() { Transaction transaction = new Transaction { Data = new byte[] { 1 }, To = Address.Zero }; var cost = IntrinsicGasCalculator.Calculate(transaction, Spec); - cost.FloorGas.Should().Be(0); - cost.IntrinsicGas.Should().Be(GasCostOf.Transaction + GasCostOf.TxDataNonZeroEip2028); + cost.Should().Be(new(GasCostOf.Transaction + GasCostOf.TxDataNonZeroEip2028), 0); } [Test]