lidofinance / alerting-forta

Forta Detection bots for Lido
https://app.forta.network/bots?search=0x6aea36c4a9cf8ac053c07e662fa27e8bdf047121&sort=recent
GNU General Public License v3.0
34 stars 7 forks source link

feat: Changing GateSeal address #535

Closed sergeyWh1te closed 2 months ago

sergeyWh1te commented 2 months ago

I'll try to describe some actions in the codebase:

We have list of events by one address like on a picture. But code could not know what exactly Event is placed in array of logs before parsing each one.

Screenshot 2024-04-25 at 12 01 45
TheDZhon commented 2 months ago

I'll remove it after Friday deploy. I made it for temp back capability with older gateseal address. Also, you could find that only that GATE_SEAL_DEFAULT_ADDRESS_BEFORE_26_APR_2024 directly is exported from constants.ts

I am just wondering how we would shape the tests for the GateSeal expiration alerts :)