holochain-open-dev / holoom

Tools for weaving blockchain data into holochain
2 stars 1 forks source link

Rationalise Recipe execution logic for coordinator/validation #25

Open 8e8b2c opened 3 months ago

8e8b2c commented 3 months ago

The logic for the execution of recipes is effectively implemented twice - this is will become difficult to manage as recipe functionality develops.

The path to rationalising the logic requires a bit of thought, because the two execution contexts have different behaviours. The coordinator context determines various resources action hashes at runtime, whereas the validation context takes them as predetermined.