Skip to content

Commit

Permalink
Merge pull request #1011 from o1-labs/feature/actions-reducers-warning
Browse files Browse the repository at this point in the history
Add Actions and Reducer production warning.
  • Loading branch information
ymekuria authored Jul 2, 2024
2 parents ab0f02c + c7ec943 commit 7760cd4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ keywords:
---

:::caution Warning
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 7760cd4

Please sign in to comment.