Skip to content

Commit c3f2ed8

Browse files
authored
tweak instructions on how to upgrade from beta
1 parent f4c5ce3 commit c3f2ed8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

CHANGELOG.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,21 @@ The final 2.4.0 release includes a refactor of the GSN contracts that will be a
4040
* `GSNRecipient`, `GSNBouncerBase`, and `GSNContext` were all merged into `GSNRecipient`.
4141
* `GSNBouncerSignature` and `GSNBouncerERC20Fee` were renamed to `GSNRecipientSignature` and `GSNRecipientERC20Fee`.
4242
* It is no longer necessary to inherit from `GSNRecipient` when using `GSNRecipientSignature` and `GSNRecipientERC20Fee`.
43-
44-
Refer to the table below to adjust your import statements.
43+
44+
For example, a contract using `GSNBouncerSignature` would have to be changed in the following way.
45+
46+
```diff
47+
-contract MyDapp is GSNRecipient, GSNBouncerSignature {
48+
+contract MyDapp is GSNRecipientSignature {
49+
```
50+
51+
Refer to the table below to adjust your inheritance list.
4552

4653
| 2.4.0-beta | 2.4.0 |
4754
| ---------------------------------- | ---------------------------- |
4855
| `GSNRecipient, GSNBouncerSignature`| `GSNRecipientSignature` |
4956
| `GSNRecipient, GSNBouncerERC20Fee` | `GSNRecipientERC20Fee` |
57+
| `GSNBouncerBase` | `GSNRecipient` |
5058

5159
## 2.3.0 (2019-05-27)
5260

0 commit comments

Comments
 (0)