Skip to content

Commit

Permalink
feat(actions-and-reducer.mdx): add reducer caveat description to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ymekuria committed Jul 2, 2024
1 parent b4873e5 commit 1b18d41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 1b18d41

Please sign in to comment.