Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniy-scherbina committed Aug 6, 2024
1 parent ab73a3d commit 0f9c290
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ func TestE2ETestCachingMdwWithBlockNumberParam_EmptyResult(t *testing.T) {
{
desc: "test case #1",
method: "eth_getTransactionCount",
params: []interface{}{testAddress, "0x1"},
params: []interface{}{testAddress, "0x15"},
keysNum: 0,
},
} {
Expand Down Expand Up @@ -803,12 +803,12 @@ func TestE2ETestCachingMdwWithBlockNumberParam_EmptyResult(t *testing.T) {
// check that responses are equal
{
// eth_getTransactionCount - cache MISS
bal1, err := client.NonceAt(testContext, testAddress, big.NewInt(2))
bal1, err := client.NonceAt(testContext, testAddress, big.NewInt(21))
require.NoError(t, err)
expectKeysNum(t, redisClient, 0)

// eth_getTransactionCount - cache MISS again (empty results aren't cached)
bal2, err := client.NonceAt(testContext, testAddress, big.NewInt(2))
bal2, err := client.NonceAt(testContext, testAddress, big.NewInt(21))
require.NoError(t, err)
expectKeysNum(t, redisClient, 0)

Expand Down

0 comments on commit 0f9c290

Please sign in to comment.