Carbon-Farm-Network / app-carbon-farm-network

GNU Affero General Public License v3.0
1 stars 0 forks source link

Bring recipes in line with resource specs #103

Closed fosterlynn closed 5 months ago

fosterlynn commented 5 months ago

The users changed a resource spec name, and that broke the cost calculation. That is because we currently have hacked in a json file of recipes, so can't use the normal id. When recipe feature is complete, this won't be an issue.

I will fix the recipes to match.

And the resource spec hard-coded load won't be right any more. (That is more for devs who are starting new instances all the time.) What should be changed: White Wool Dirty change to White Wool Greasy.

And then we'll need to cut a new release.

For reference, here is the users' list of resource specs.

cfn-res-spec-1 cfn-res-spec-2
fosterlynn commented 5 months ago

I changed the recipes-with-exchanges.json file. Now things won't work until all the changes are made. Also older instances won't find the match.

fosterlynn commented 5 months ago

Fixed, working now. When we get recipes done, it won't be an issue anyhow.