diff --git a/main_test.go b/main_test.go index 6f554bd..e66d229 100644 --- a/main_test.go +++ b/main_test.go @@ -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, }, } { @@ -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)