From 715b5e48751326d08ba1b11b1a22607a22b24d40 Mon Sep 17 00:00:00 2001 From: Eric Nordelo Date: Mon, 23 Sep 2024 16:03:44 +0200 Subject: [PATCH] feat: deprecate dualcase dispatchers (#1155) --- CHANGELOG.md | 4 ++++ docs/modules/ROOT/pages/interfaces.adoc | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36638c27c..a14f3c5b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `execute_calls` function from account utils (#1150) - calls param type changed from `Array` to `Span` +### Deprecated + +- DualCase dispatchers + ## 0.16.0 (2024-08-30) ### Added diff --git a/docs/modules/ROOT/pages/interfaces.adoc b/docs/modules/ROOT/pages/interfaces.adoc index d6e6a7fc8..01dd2458f 100644 --- a/docs/modules/ROOT/pages/interfaces.adoc +++ b/docs/modules/ROOT/pages/interfaces.adoc @@ -152,6 +152,8 @@ pub trait IERC20Camel { == `DualCase` dispatchers +WARNING: `DualCase` dispatchers are deprecated, and they will be removed from the library soon. + WARNING: `DualCase` dispatchers won't work on live chains (`mainnet` or testnets) until they implement panic handling in their runtime. Dispatchers work fine in testing environments. In order to ease this transition, OpenZeppelin Contracts for Cairo offer what we call `DualCase` dispatchers such as `DualCaseERC721` or `DualCaseAccount`.