diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2018-03-01 01:16:52 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2018-03-01 01:16:52 +0800 |
commit | 298749a4b2d0d9e932057dabb1ebb38ddb84f116 (patch) | |
tree | 5323b6fd8feee6961caba286762bb59a3a6029d0 | |
parent | 27e0f388e60378070f5990d3683538698c155e5a (diff) | |
download | dexon-tests-298749a4b2d0d9e932057dabb1ebb38ddb84f116.tar dexon-tests-298749a4b2d0d9e932057dabb1ebb38ddb84f116.tar.gz dexon-tests-298749a4b2d0d9e932057dabb1ebb38ddb84f116.tar.bz2 dexon-tests-298749a4b2d0d9e932057dabb1ebb38ddb84f116.tar.lz dexon-tests-298749a4b2d0d9e932057dabb1ebb38ddb84f116.tar.xz dexon-tests-298749a4b2d0d9e932057dabb1ebb38ddb84f116.tar.zst dexon-tests-298749a4b2d0d9e932057dabb1ebb38ddb84f116.zip |
Allow LLL code in transaction data
-rw-r--r-- | JSONSchema/st-filler-schema.json | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/JSONSchema/st-filler-schema.json b/JSONSchema/st-filler-schema.json index a9e2831e2..d110e0493 100644 --- a/JSONSchema/st-filler-schema.json +++ b/JSONSchema/st-filler-schema.json @@ -20,12 +20,17 @@ { "$ref": "#/definitions/HexQuantity" } ] }, - "HexDataOrEmpty": { + "TxData": { "oneOf": [ { "$ref": "#/definitions/HexData" }, - { "$ref": "#/definitions/EmptyString" } + { "$ref": "#/definitions/EmptyString" }, + { "$ref": "#/definitions/LLLCode" } ] }, + "LLLCode" : { + "type" : "string", + "pattern" : "^{.*}$" + }, "HexNoPrefix" : { "pattern": "^([0-9a-fA-F][0-9a-fA-F])+$", "type": "string" @@ -165,7 +170,7 @@ }, "properties": { "data": { - "items": { "$ref": "#/definitions/HexDataOrEmpty" }, + "items": { "$ref": "#/definitions/TxData" }, "type": "array" }, "gasLimit": { @@ -199,7 +204,7 @@ }, "properties": { "data": { - "items": { "$ref": "#/definitions/HexMaybePrefixOrEmpty" }, + "items": { "$ref": "#/definitions/TxData" }, "type": "array" }, "gasLimit": { |