{"v":0,"name":"sugar","msg":"Lend me some sugar, I am your neighbor.","level":30,"hostname":"fox","pid":20152,"time":"2022-06-30T09:35:30.275268Z","target":"sugar","line":106,"file":"src/main.rs"}
{"v":0,"name":"sugar","msg":"assets/0.json: missing field `category` at line 38 column 3","level":50,"hostname":"fox","pid":20152,"time":"2022-06-30T09:35:30.277253Z","target":"sugar_cli::validate::process","line":69,"file":"src/validate/process.rs"}
{"v":0,"name":"sugar","msg":"Deserialize errors: Mutex { data: [DeserializeError { path: \"assets/0.json\", error: Error(\"missing field `category`\", line: 38, column: 3) }], poisoned: false, .. }","level":50,"hostname":"fox","pid":20152,"time":"2022-06-30T09:35:30.277411Z","target":"sugar_cli::validate::process","line":110,"file":"src/validate/process.rs"}
Our parsing currently refers to an older version of the JSON spec. For now, feel free to just run sugar upload and sugar deploy manually and skip the validate step.
Issue description
Follow an instructions then try
sugar validate
and get an errorRefer to metaplex doc there's no
category
But in sugar test case there is
category
Seem to be doc issue?
Relevant log output
Priority this issue should have
Medium (should be fixed soon)