From e6b5ba71b9c2c9408f5ed98c578c05726adb32d1 Mon Sep 17 00:00:00 2001 From: microwavedcola1 Date: Tue, 1 Nov 2022 10:34:11 +0000 Subject: [PATCH 1/2] reduce chunk size until we use alts, workaround for tx size too large Signed-off-by: microwavedcola1 --- keeper/src/crank.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keeper/src/crank.rs b/keeper/src/crank.rs index 9279cf5f7..b4e4b7995 100644 --- a/keeper/src/crank.rs +++ b/keeper/src/crank.rs @@ -26,7 +26,7 @@ pub async fn runner( .keys() // TokenUpdateIndexAndRate is known to take max 71k cu // from cargo test-bpf local tests - .chunks(15) + .chunks(5) .into_iter() .map(|chunk| { loop_update_index_and_rate( From d75e38ac879bbfb518f016e1fa560e6f41d60324 Mon Sep 17 00:00:00 2001 From: microwavedcola1 Date: Tue, 1 Nov 2022 10:37:01 +0000 Subject: [PATCH 2/2] Revert "reduce chunk size until we use alts, workaround for tx size too large" This reverts commit e6b5ba71b9c2c9408f5ed98c578c05726adb32d1. --- keeper/src/crank.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keeper/src/crank.rs b/keeper/src/crank.rs index b4e4b7995..9279cf5f7 100644 --- a/keeper/src/crank.rs +++ b/keeper/src/crank.rs @@ -26,7 +26,7 @@ pub async fn runner( .keys() // TokenUpdateIndexAndRate is known to take max 71k cu // from cargo test-bpf local tests - .chunks(5) + .chunks(15) .into_iter() .map(|chunk| { loop_update_index_and_rate(