From 949e2194fb97cc14978588e4cb63ea5c3bbf8b7b Mon Sep 17 00:00:00 2001 From: Guilherme Dantas Date: Fri, 10 Nov 2023 10:49:59 -0300 Subject: [PATCH] docs: adjust changeset --- onchain/rollups/.changeset/wise-penguins-poke.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/onchain/rollups/.changeset/wise-penguins-poke.md b/onchain/rollups/.changeset/wise-penguins-poke.md index 36fc1da8..879514df 100644 --- a/onchain/rollups/.changeset/wise-penguins-poke.md +++ b/onchain/rollups/.changeset/wise-penguins-poke.md @@ -2,4 +2,6 @@ "@cartesi/rollups": major --- -The ERC-20 portal now reverts whenever `transferFrom` returns `false`, instead of propagating this information to the DApp back-end. This change aims to prevent developers from accepting failed ERC-20 transfers. As a result, ERC-20 deposit inputs no longer contains the boolean `success` field. +Removed the `success` field from ERC-20 deposit inputs. +This change was made to avoid confusion, since the ERC-20 portal guarantees this field to be `true`. +Consumers of this input (such as DApp back-ends and front-ends, high-level frameworks and explorers) should update their decoding schema accordingly.