From d1b54beec549158325146d704b146ceb11997ec1 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Thu, 20 Mar 2025 15:56:03 +0100 Subject: [PATCH] Add documentation for the resubscribe symbol --- Readme.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Readme.md b/Readme.md index 9952cee..8689694 100644 --- a/Readme.md +++ b/Readme.md @@ -204,6 +204,13 @@ This library ships with some optional modules that provides convenience utilitie - `ethers/erc20` module provides you with ERC20 token implementation and its events +Workaround +--------- + +If you're working with Hardhat, you might encounter an issue where [subscriptions stop working after 5 minutes](https://github.com/NomicFoundation/hardhat/issues/2053). + +This library provides a workaround using the `--define:resubscribe` option. When this symbol is defined, the subscriptions will automatically resubscribe after 4 minutes. + Contribution ------------