From fcbfc49fafb9c52c767e19af01ece7ae7a899ea3 Mon Sep 17 00:00:00 2001 From: Rahul Kothari Date: Tue, 18 Jun 2024 09:57:10 +0000 Subject: [PATCH] fix migration notes --- docs/docs/migration_notes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/docs/migration_notes.md b/docs/docs/migration_notes.md index deaae350aa3..4beb7e9fc14 100644 --- a/docs/docs/migration_notes.md +++ b/docs/docs/migration_notes.md @@ -8,6 +8,10 @@ Aztec is in full-speed development. Literally every version breaks compatibility ## 0.43.0 +### [Aztec.nr] break `token.transfer()` into `transfer` and `transferFrom` +Earlier we had just one function - `transfer()` which used authwits to handle the case where a contract/user wants to transfer funds on behalf of another user. +To reduce circuit sizes and proof times, we are breaking up `transfer` and introducing a dedicated `transferFrom()` function like in the ERC20 standard. + ### [Aztec.nr] `options.limit` has to be constant The `limit` parameter in `NoteGetterOptions` and `NoteViewerOptions` is now required to be a compile-time constant. This allows performing loops over this value, which leads to reduced circuit gate counts when setting a `limit` value.