dealbot icon indicating copy to clipboard operation
dealbot copied to clipboard

dealbot spinup should be able to specify env for post hook

Open willscott opened this issue 4 years ago • 2 comments

willscott avatar Jul 08 '21 23:07 willscott

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.

dkkapur avatar Nov 23 '21 22:11 dkkapur

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

willscott avatar Nov 24 '21 00:11 willscott