aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/schema/schema.json71
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"
+ }
+ }
+ }
+}