filecoin-project / dealbot

🤖🤝 A bot for making deals
Apache License 2.0
32 stars 10 forks source link

dealbot spinup should be able to specify env for post hook #281

Open willscott opened 3 years ago

dkkapur commented 2 years ago

Post hook is useful for saving retrieved data for future validation. This is useful for Slingshot in the near term, and could be useful for future scenarios in RepSys, Fil+, etc.

willscott commented 2 years ago

we have hooks. eg bots call https://github.com/filecoin-project/dealbot/blob/main/engine/engine.go#L363 an example of such is https://github.com/filecoin-project/dealbot/tree/main/scheduler/hooks

this is saying that there should be an argument in the scope of a new bot that feed through to the hook. i'm not sure that's the full workflow you're after here though