From 5e3d39a3fad955681e9bb7e9fa910a24e1df5f88 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Sat, 17 Feb 2018 16:49:35 +0300 Subject: allow decimal storage values in test fillers --- JSONSchema/st-filler-schema.json | 10 ++++++++-- 1 file 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" } } } -- cgit v1.2.3