Skip to main content

Module task_generator

Module task_generator 

Source
Expand description

Hardcoded taskGenerator[0] addresses for attester resolution Hardcoded taskGenerator[] addresses used by policy-files generate-cids.

The CLI normally resolves attesters from contracts/newton_prover_config.{env}.json. Published CLI artifacts sometimes miss those JSON files; to keep generate-cids functional, we embed the taskGenerator arrays copied from:

  • contracts/newton_prover_config.prod.json
  • contracts/newton_prover_config.stagef.json

Functionsยง

task_generator_0
Returns the hardcoded taskGenerator[0] address for the given env + chain_id.
task_generators
Returns the hardcoded taskGenerator[] array for the given env + chain_id.