Forta Public API proxy
This new service will simplify bot request authorization, allowing bot owners to consume the Forta Public API without signing the message or using an API Key. This will make it easier for those who have required subscriptions to use the API, and ensure that they are compliant with the new authorization mechanisms.
Using the new proxy in combiner feed
In addition to the introduction of the proxy service, we have also migrated the Combiner Feed to use the Forta Public API proxy service. This migration aligns with our efforts regarding API key requirements and has surfaced new edge cases that have been addressed to prevent possible bugs. We have also made improvements to the combiner subscription pool, configurability, and end-to-end testing.
New bot metrics
We have added new metrics to better keep track of bot lifecycle. This will provide useful information for bot owners and help them monitor their bots' performance.
agent.action.run
: initial deployment or image updateagent.action.stop
: bot shutdown or image updateagent.action.update
: configuration update, such as changes to shardingagent.action.subscribe
: handle alert subscription requestagent.action.unsubscribe
: handle alert unsubscription requestagent.status.running
: bot container started runningagent.status.attached
: the scanner connected to the bot containeragent.start
: the scanner sent an initialization request to the bot
Mining fee data
We have added mining fee data to Transaction and Block events, making the following fields available: block.baseFeePerGas
, transaction.MaxFeePerGas
, and transaction.maxPriorityFeePerGas
. This will provide valuable information for those analyzing transaction and block data.
Other improvements
- Simplified scan node config template generated with
forta init
- Improved robustness of the registry listener
- Disabled IPFS experiment by default (removes
~/.forta/.ipfs
) - General refactoring
What's Changed
- add public api proxy service by @aomerk in #678
- adapt handle alert feed to support authorization by @aomerk in #686
- Improve subscription validation for fees by @aomerk in #687
- Simplify the config template by @canercidam in #689
- Improve combiner dispatch authorization by @aomerk in #688
- submit metrics on bot restarts by @aomerk in #690
- Add shard id as bot environment variable by @aomerk in #692
- restart bots on manifest and shard changes by @aomerk in #693
- refactoring agent pool handlers by @aomerk in #694
- Add mining fee data to block/tx events by @aomerk in #691
- remove shard restart changes by @aomerk in #697
- Improve handle alert e2e tests by @aomerk in #698
- Improve combiner subscription uniqueness by @aomerk in #699
- Always publish latest bots by @stevenlanders in #700
- Disable IPFS experiment by default by @canercidam in #702
- Improve agent pool metrics by @aomerk in #703
Full Changelog: v0.7.6...v0.7.7