Skip to content

v0.4.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@polipaul polipaul released this 14 Jul 02:06
· 101 commits to master since this release

The release is intended to be used with PPAgentV2.3.0.randao-beta.9 agent contract.

Improvements:

  • Remove support for AgentReward
  • Add StrictModeConfig
  • Initialize slashing using execution proof
  • Add debug API endpoint, disabled by default
  • Blacklist jobs that always revert
  • Update PPAgentV2.3.0.randao artifact to -beta.9 version
  • Add SetRdConfig, ExecutionReverted, Stake, InitiateRedeem, DisableKeeper, FinalizeKeeperActivation, SlashKeeper events handlers
  • Increase maxFee to 3*baseFee temporarily
  • Introduce configurable network.ws_timeout
  • Apply agent contract events sorted by their order and synchronously
  • Fix invalid Panic(uint256) signature and error message catch
  • Execute corresponding callbacks if executor fails estimation or execution
  • Update credits correctly on RegisterJob, Execute, ExecutionReverted events
  • Fix incorrect slasher behaviour when handling RegisterJob event for the interval jobs

Config Field Breaking Changes:

The following configuration fields have been renamed to be more clear:

  • network.agent.keeper_address has been changed to network.agent.keeper_worker_address. The renaming was required for clarity between admin and worker addresses.
  • process.env.KEEPER_ADDRESS has been renamed to process.env.KEEPER_WORKER_ADDRESS, in line with the above change.
  • network.source has been updated to network.agent.data_source to allow different data sources for each agent.
  • network.graphUrl has been renamed to network.agent.graph_url, in line with the above change, also notice it now uses snake_case.

Full Changelog: v0.3.0...v0.4.0-beta.1