diff options
author | Jared Wasinger <j-wasinger@hotmail.com> | 2017-07-03 18:07:07 +0800 |
---|---|---|
committer | Ubuntu <ubuntu@ip-172-31-32-43.us-west-2.compute.internal> | 2017-08-08 04:41:46 +0800 |
commit | e0c62ccd02a72032c412882e85a0db72fa496946 (patch) | |
tree | f4e4a2cc9e1bb572c46555ad46041f0449dd2ba0 /GeneralStateTests | |
parent | 8625893812ec08042ac85f5e33c579dbaecbceb0 (diff) | |
download | tangerine-tests-e0c62ccd02a72032c412882e85a0db72fa496946.tar tangerine-tests-e0c62ccd02a72032c412882e85a0db72fa496946.tar.gz tangerine-tests-e0c62ccd02a72032c412882e85a0db72fa496946.tar.bz2 tangerine-tests-e0c62ccd02a72032c412882e85a0db72fa496946.tar.lz tangerine-tests-e0c62ccd02a72032c412882e85a0db72fa496946.tar.xz tangerine-tests-e0c62ccd02a72032c412882e85a0db72fa496946.tar.zst tangerine-tests-e0c62ccd02a72032c412882e85a0db72fa496946.zip |
add JSON schema skeleton for #204
Diffstat (limited to 'GeneralStateTests')
-rw-r--r-- | GeneralStateTests/schema/schema.json | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/GeneralStateTests/schema/schema.json b/GeneralStateTests/schema/schema.json new file mode 100644 index 000000000..f56ee61ca --- /dev/null +++ b/GeneralStateTests/schema/schema.json @@ -0,0 +1,71 @@ +{ + "type": "object", + "additionalProperties": { + "env": { + "type": "object", + "additionalProperties": { + "currentCoinbase": { + "type": "string" + }, + "currentDifficulty": { + "type": "string" + }, + "currentGasLimit": { + "type": "string" + }, + "currentNumber": { + "type": "string" + }, + "currentTimestamp": { + "type": "string" + }, + "previousHash": { + "type": "string" + } + } + }, + "post": { + "type": "object", + "additionalProperties": { + "EIP150": { + "type": "array" + }, + "EIP158": { + "type": "array" + }, + "Frontier": { + "type": "array" + }, + "Homestead": { + "type": "array" + } + } + }, + "pre": { + + }, + "transaction": { + "data": { + "type": "array" + }, + "gasLimit": { + "type": "array" + }, + "gasPrice": { + "type": "string" + }, + "nonce": { + "type": "string" + }, + "secretKey": { + "type": "string" + }, + "to": { + "type": "string" + }, + "value": { + "type": "array" + } + } + } +} |