platform icon indicating copy to clipboard operation
platform copied to clipboard

document types should not allow random data

Open QuantumExplorer opened this issue 5 months ago • 0 comments

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

QuantumExplorer avatar Jul 15 '25 11:07 QuantumExplorer