github forta-network/forta-node v0.7.1

latest releases: v0.9.10, v0.9.9, v0.9.8...
21 months ago

Improvements

Bot sharding

Bots are now allowed to specify shards! This means a bot now can work on different portions of the chain data across different nodes. This value needs to be specified in the bot manifest like

{
  "manifest": {
    "chainSettings": {
      "default": {
        "target": 3,
        "shards": 2
    }
  }
}

and this allows launching 6 instances of a bot and distribute by diving the chain data in 2.

Alert combiner bots

Bots that implement handleAlert() are now receiving the labels in the inputted alerts and able to specify the chain ID in the subscriptions.

Delegated staking

The new forta authorize pool command that allows generating registration outputs was improved. This requires manually updating the CLI (through yum or apt).

Now, two types of outputs are supported.

Default:

Please use the registration signature below on https://app.forta.network as soon as possible and do not share with anyone!

eyJyZWdpc3RyYXRpb25JbnB1dCI6eyJzY2FubmVyIjoiMHhjZTQ2Y2Q2NzQ4YWRmMDczNmIxZjc1NTAyMzFkZjg4MDQ2ZWU5YTU4Iiwic2Nhbm5lclBvb2xJZCI6MSwiY2hhaW5JZCI6MSwibWV0YWRhdGEiOiIiLCJ0aW1lc3RhbXAiOjE2NzUyNzUyMDB9LCJzaWduYXR1cmUiOiIweGIwODdiODRlMzI4YWYxZmEwZjYzMWRmM2EzOGYyZjY4YmYzMTdmOTUxNjg3MmEwZTcyNDJlNjcwZTc2ZGQ0MmU3ZDg0MjBmMmM0ODA0OTBlODdhODQ1N2MwZmY5NTJkMGY3ZWFmNjljOWY1Nzc5YjkzZjc2OWZlYWVlZTMwNWFlMWMifQ==

With --polygonscan flag

Please use the registerScannerNode() inputs below on https://polygonscan.com as soon as possible and do not share with anyone!

req      : ["0xCE46cD6748ADF0736b1f7550231df88046eE9a58","0x1","0x1","","0x63daabb3"]
signature: 0x85d6a0eda0cd1aaa1c3b5f9ae4b753befb4e62ad6244acee3a25c9ee2f3ff4ca5ce76f0e383e4104216d52ea84d0fd68f42dff5f64cb9374ff2bfc3ac0ec90d71b

Other improvements

  • Avoid a panic that causes repeating initialize() calls to bots
  • Add registry API inspection
  • Speed up E2E tests
  • Make registry chain ID configurable in config.yml (useful for development)
  • Change the default registry API from polygon-rpc.com to Ankr
  • Add drop metric for combiner bots

What's Changed

Full Changelog: v0.7.0...v0.7.1

Don't miss a new forta-node release

NewReleases is sending notifications on new releases.