Skip to content

document types should not allow random data #2703

@QuantumExplorer

Description

@QuantumExplorer

I just registered a contract with this

  "properties": {
    "saltedDomainHash": {
      "type": "array",
      "byteArray": true,
      "minItems": 32,
      "maxItems": 32,
      "position": 0,
      "description": "Double sha-256 of the concatenation of a 32 byte random salt and a normalized domain name"
    }
  },
  "token_costs": {
    "V0": {
      "create": 10
    }
  },
  "somethingStupid": {
    "V0": {
      "create": 10
    }
  },
  "required": [
    "saltedDomainHash"
  ],

Sam's note: we will fix this in 2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Current Version Backlog

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions