Improvements
Offset detection between scan and proxy APIs
The nodes are now measuring the offset between the scan and the proxy APIs. Sometimes, when a bot receives an input, it needs to query the chain through to the proxy (e.g. an eth_call
request) to understand the chain state better. When proxy API is behind the scan API, due to large synchronization delays, these proxy requests fail and cause the bot to not produce a finding. This distance is now measured and reported by the nodes.
Websocket support for scanning
The scan API can now be set as a websocket endpoint! This helps reduce the fluctuations in the latest blocks scanned with the help of block header notifications.
Other improvements
- Including chain IDs in combination alerts
- Using separate queries per input alert subscriptions
- Fixing release build (glibc error, Ubuntu brownout)
- Fix passphrase check in local mode
What's Changed
- Fix combiner query collisions by @aomerk in #615
- fix glibc issue by @aomerk in #617
- Support offset detect inspection by @aomerk in #614
- Reduce retry interval, make it configurable and support websockets by @canercidam in #620
- Inject chain id to combination alerts by @aomerk in #623
- Fix handle alert chain id query by @aomerk in #624
- Always decrypt the key first on
forta run
by @canercidam in #622 - Fix handle alert chain id by @aomerk in #625
- Fix offset inspection by @aomerk in #627
- Use Ubuntu 20.04 in release workflow and fix release dependency by @canercidam in #626
Full Changelog: v0.6.2...v0.6.3