platform
platform copied to clipboard
document types should not allow random data
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