-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
Bridge
contract artifact for Sepolia
While fetching contract events, the start block for the searched range is taken based on the contract creation block. This is the `receipt.blockNumber` field living in the contract artifact. However, this field may be overwritten by the Hardhat Upgrades plugin and point to the deployment block of the recent contract implementation, not the transparent proxy. This was the case for the Sepolia `Bridge` artifact. Contract events like `NewWalletRegistered` were taken starting from the recent implementation deployment block which occurred much later than the `Bridge` proxy deployment. In effect, it was not possible to fetch all `Bridge` wallets ever created. Here we fix that problem.
- Loading branch information
1 parent
eb69bd6
commit ef164e2
Showing
1 changed file
with
51 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters