diff --git a/core/lib/Drupal/Core/State/State.php b/core/lib/Drupal/Core/State/State.php
index e2d0c2c79966d07d6b1e2692140af2d42f860134..e7669aa6808de7beb7e39a7aa2531b137ce498e2 100644
--- a/core/lib/Drupal/Core/State/State.php
+++ b/core/lib/Drupal/Core/State/State.php
@@ -50,7 +50,7 @@ class State extends CacheCollector implements StateInterface {
   public function __construct(KeyValueFactoryInterface $key_value_factory, CacheBackendInterface $cache = NULL, LockBackendInterface $lock = NULL) {
     if (!$cache) {
       @trigger_error('Calling  ' . __METHOD__ . '() without the $cache argument is deprecated in drupal:10.3.0 and is required in drupal:11.0.0. See https://www.drupal.org/node/3177901', E_USER_DEPRECATED);
-      $cache = \Drupal::cache('discovery');
+      $cache = \Drupal::cache('bootstrap');
     }
     if (!$lock) {
       @trigger_error('Calling  ' . __METHOD__ . '() without the $lock argument is deprecated in drupal:10.3.0 and is required in drupal:11.0.0. See https://www.drupal.org/node/3177901', E_USER_DEPRECATED);