From 1b18d417d1936619bcf73a4b9b70e10459f19a48 Mon Sep 17 00:00:00 2001 From: ymekuria Date: Mon, 1 Jul 2024 18:31:55 -0600 Subject: [PATCH] feat(actions-and-reducer.mdx): add reducer caveat description to warning --- .../writing-a-zkapp/feature-overview/actions-and-reducer.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zkapps/writing-a-zkapp/feature-overview/actions-and-reducer.mdx b/docs/zkapps/writing-a-zkapp/feature-overview/actions-and-reducer.mdx index 05fcdbabd..7c5fd95b6 100644 --- a/docs/zkapps/writing-a-zkapp/feature-overview/actions-and-reducer.mdx +++ b/docs/zkapps/writing-a-zkapp/feature-overview/actions-and-reducer.mdx @@ -15,7 +15,7 @@ keywords: --- :::caution Warning -The Reducer API in o1js is still in development and currently is not safe to use in production applications. +The reducer API in o1js is currently not safe to use in production applications. The `reduce()` method breaks if more than the hard-coded number(default: 32) of actions are pending. Work is actively in progress to mitigate this limitation. When creating updates to unknown accounts in a reducer function, care should be taken to avoid introducing security vulnerabilities.