From c3f2ed81683bd0095673f525f7ee9639370a2432 Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Fri, 1 Nov 2019 15:46:09 -0300 Subject: [PATCH] tweak instructions on how to upgrade from beta --- CHANGELOG.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2b589acc..a9937b9d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,13 +40,21 @@ The final 2.4.0 release includes a refactor of the GSN contracts that will be a * `GSNRecipient`, `GSNBouncerBase`, and `GSNContext` were all merged into `GSNRecipient`. * `GSNBouncerSignature` and `GSNBouncerERC20Fee` were renamed to `GSNRecipientSignature` and `GSNRecipientERC20Fee`. * It is no longer necessary to inherit from `GSNRecipient` when using `GSNRecipientSignature` and `GSNRecipientERC20Fee`. - -Refer to the table below to adjust your import statements. + +For example, a contract using `GSNBouncerSignature` would have to be changed in the following way. + +```diff +-contract MyDapp is GSNRecipient, GSNBouncerSignature { ++contract MyDapp is GSNRecipientSignature { +``` + +Refer to the table below to adjust your inheritance list. | 2.4.0-beta | 2.4.0 | | ---------------------------------- | ---------------------------- | | `GSNRecipient, GSNBouncerSignature`| `GSNRecipientSignature` | | `GSNRecipient, GSNBouncerERC20Fee` | `GSNRecipientERC20Fee` | +| `GSNBouncerBase` | `GSNRecipient` | ## 2.3.0 (2019-05-27)