Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update nonce schema with IPLD bytes (#593)
# Description This PR makes the following changes: - [x] Update the nonce schema one of IPLD bytes or empty string - [x] Add workflow validation test that uses a nonce The schema will be updated by the schemas action, but as a preview it looks like this: ```json "nnc": { "description": "A 12-byte or 16-byte nonce encoded as IPLD bytes. Use empty string for no nonce.", "oneOf": [ { "$ref": "#/definitions/ipld_bytes" }, { "type": "string", "const": "" } ] }, ``` ```json "ipld_bytes": { "title": "IPLD bytes", "description": "Base64 encoded binary", "type": "object", "properties": { "/": { "type": "object", "properties": { "bytes": { "type": "string" } } } } }, ``` ## Type of change - [x] Bug fix (non-breaking change that fixes an issue) - [ ] This change requires a documentation update (schemas will be updated by the action) ## Test plan (required) A new `validate_and_parse_workflow_with_nonce` has been added that validates a workflow with a task that uses a nonce.
- Loading branch information