From 72b9d74128c19103d5b055654825b377d0503022 Mon Sep 17 00:00:00 2001 From: texuf Date: Fri, 26 Jul 2024 13:37:55 -0700 Subject: [PATCH] Stop forcing block time to 2000 when anvil runs on 1 second block times (#469) original change here: https://github.com/river-build/river/commit/8a30c667b8619cd4920f20d33dd11e0617f1ae84 maybe this is why ci is unstable the default was moved from another file, but with the unintentional consequence that it superseded the previous default of 1 sec Related - i'm updating the scripts to pipe the block time var through to everything here https://github.com/river-build/river/pull/470/files --- core/node/run_impl.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/core/node/run_impl.sh b/core/node/run_impl.sh index 3e20798cb..8b5a7c433 100755 --- a/core/node/run_impl.sh +++ b/core/node/run_impl.sh @@ -15,7 +15,6 @@ export RPC_PORT="${RPC_PORT:-5170}" export DISABLE_BASE_CHAIN="${DISABLE_BASE_CHAIN:-false}" export RIVER_ENV="local_${RUN_ENV}" export POSITIVE_ENTITLEMENT_CACHE_TTL_SECONDS="${POSITIVE_ENTITLEMENT_CACHE_TTL_SECONDS:-5}" -export BLOCK_TIME_MS=${BLOCK_TIME_MS:-2000} export ENABLE_DEBUG_ENDPOINTS=true [ -z "${BLOCK_TIME_MS+x}" ] && BLOCK_TIME_MS=$(( ${RIVER_BLOCK_TIME:-1} * 1000 ))