diff options
author | Dimitry <dimitry@ethereum.org> | 2018-02-17 21:49:35 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-02-17 21:49:35 +0800 |
commit | 5e3d39a3fad955681e9bb7e9fa910a24e1df5f88 (patch) | |
tree | ab35b8ccb08feb5f80beec673bba2c4b7cc93cb5 /JSONSchema/st-filler-schema.json | |
parent | d2e8fbf7f096830e1be04a02577c1070fd8f7c06 (diff) | |
download | tangerine-tests-5e3d39a3fad955681e9bb7e9fa910a24e1df5f88.tar tangerine-tests-5e3d39a3fad955681e9bb7e9fa910a24e1df5f88.tar.gz tangerine-tests-5e3d39a3fad955681e9bb7e9fa910a24e1df5f88.tar.bz2 tangerine-tests-5e3d39a3fad955681e9bb7e9fa910a24e1df5f88.tar.lz tangerine-tests-5e3d39a3fad955681e9bb7e9fa910a24e1df5f88.tar.xz tangerine-tests-5e3d39a3fad955681e9bb7e9fa910a24e1df5f88.tar.zst tangerine-tests-5e3d39a3fad955681e9bb7e9fa910a24e1df5f88.zip |
allow decimal storage values in test fillers
Diffstat (limited to 'JSONSchema/st-filler-schema.json')
-rw-r--r-- | JSONSchema/st-filler-schema.json | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/JSONSchema/st-filler-schema.json b/JSONSchema/st-filler-schema.json index 35e160d55..a9e2831e2 100644 --- a/JSONSchema/st-filler-schema.json +++ b/JSONSchema/st-filler-schema.json @@ -88,6 +88,12 @@ { "$ref": "#/definitions/ConfusedHexType" } ] }, + "PrefixedHexOrInteger": { + "anyOf": [ + { "$ref": "#/definitions/IntegerString" }, + { "$ref": "#/definitions/HexData" } + ] + }, "PreStateAccount": { "type": "object", "additionalproperties": true, @@ -100,8 +106,8 @@ "additionalProperties": false, "patternProperties": { "^0x[0-9a-f]+": { - "description": "storage key with 0x prefix, just the prefix `0x` is null and thus not permitted, a hex quantity is permitted. for the storage value, only hex data is permitted.", - "$ref": "#/definitions/HexData" + "description": "storage key with 0x prefix, just the prefix `0x` is null and thus not permitted, a hex quantity is permitted. for the storage value, only hex data is permitted in filled test. Both decimal and hex allowed for the fillers.", + "$ref": "#/definitions/PrefixedHexOrInteger" } } } |