From 866d3ad083ab42ef1e1f25d6e3fc8aa7ec24f175 Mon Sep 17 00:00:00 2001 From: Goran Rojovic Date: Wed, 27 Mar 2024 12:27:50 +0100 Subject: [PATCH] comments fix --- e2e/txpool_test.go | 6 ++++++ types/{json.go => json_marshalling_util.go} | 0 2 files changed, 6 insertions(+) rename types/{json.go => json_marshalling_util.go} (100%) diff --git a/e2e/txpool_test.go b/e2e/txpool_test.go index bf776a7849..86ca9e6ca8 100644 --- a/e2e/txpool_test.go +++ b/e2e/txpool_test.go @@ -319,6 +319,12 @@ func TestTxPool_RecoverableError(t *testing.T) { secondTx, err := client.GetTransactionByHash(hashes[1]) require.NoError(t, err) require.NotNil(t, secondTx) + + // first two are in one block + require.Equal(t, firstTx.BlockNumber, secondTx.BlockNumber) + + // last tx is included in next block + require.NotEqual(t, secondTx.BlockNumber, receipt.BlockNumber) } func TestTxPool_GetPendingTx(t *testing.T) { diff --git a/types/json.go b/types/json_marshalling_util.go similarity index 100% rename from types/json.go rename to types/json_marshalling_util.go