aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-05-23 01:37:25 +0800
committerDimitry <winsvega@mail.ru>2017-05-23 03:12:42 +0800
commit9fb1996e490f7706ce15f2e347fe8e2d9c35bb6e (patch)
treec3cd07be9f26b8ccde19edea0ef8e0a461aec77c /src/GeneralStateTestsFiller
parentfcc8568430a653d97204c3cc3242f697be36943e (diff)
downloadtangerine-tests-9fb1996e490f7706ce15f2e347fe8e2d9c35bb6e.tar
tangerine-tests-9fb1996e490f7706ce15f2e347fe8e2d9c35bb6e.tar.gz
tangerine-tests-9fb1996e490f7706ce15f2e347fe8e2d9c35bb6e.tar.bz2
tangerine-tests-9fb1996e490f7706ce15f2e347fe8e2d9c35bb6e.tar.lz
tangerine-tests-9fb1996e490f7706ce15f2e347fe8e2d9c35bb6e.tar.xz
tangerine-tests-9fb1996e490f7706ce15f2e347fe8e2d9c35bb6e.tar.zst
tangerine-tests-9fb1996e490f7706ce15f2e347fe8e2d9c35bb6e.zip
generate finished tests for staticcall
Diffstat (limited to 'src/GeneralStateTestsFiller')
-rw-r--r--src/GeneralStateTestsFiller/stStaticCall/static_Call50000_identity2Filler.json39
-rw-r--r--src/GeneralStateTestsFiller/stStaticCall/static_Call50000_identityFiller.json8
-rw-r--r--src/GeneralStateTestsFiller/stStaticCall/static_Call50000_rip160Filler.json51
-rw-r--r--src/GeneralStateTestsFiller/stStaticCall/static_Call50000_sha256Filler.json12
-rw-r--r--src/GeneralStateTestsFiller/stStaticCall/static_callcallcallcode_001_2Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stStaticCall/static_callcallcodecall_010_OOGEFiller.json4
6 files changed, 20 insertions, 96 deletions
diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_identity2Filler.json b/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_identity2Filler.json
index c249cb019..829d44274 100644
--- a/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_identity2Filler.json
+++ b/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_identity2Filler.json
@@ -11,7 +11,7 @@
"expect" : [
{
"indexes" : {
- "data" : 0,
+ "data" : -1,
"gas" : -1,
"value" : -1
},
@@ -45,43 +45,6 @@
}
}
}
- },
- {
- "indexes" : {
- "data" : 1,
- "gas" : -1,
- "value" : -1
- },
- "network" : ["Metropolis"],
- "result" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "340282366920938463463374607431728132084",
- "code" : "0x",
- "nonce" : "0x01",
- "storage" : {
- }
- },
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "40079361",
- "code" : "0x",
- "nonce" : "0x00",
- "storage" : {
- }
- },
- "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0fffffffffffff",
- "code" : "0x602a6001525b61c350608051101560305761c350600161c3506000600461061cfa6000556001608051016080526005565b608051600155600151600255",
- "nonce" : "0x00",
- "storage" : {
- }
- },
- "1000000000000000000000000000000000000000" : {
- "storage" : {
- "0x00" : "0x01",
- "0x01" : "0x02df54b2"
- }
- }
- }
}
],
"pre" : {
diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_identityFiller.json b/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_identityFiller.json
index dc44d1545..6e666160e 100644
--- a/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_identityFiller.json
+++ b/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_identityFiller.json
@@ -55,14 +55,14 @@
"network" : ["Metropolis"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "340282366920938463463374607431728282105",
+ "balance" : "340282366920938463463374607431681314841",
"code" : "0x",
"nonce" : "0x01",
"storage" : {
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "39929340",
+ "balance" : "86896604",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
@@ -77,8 +77,8 @@
},
"1000000000000000000000000000000000000000" : {
"storage" : {
- "0x00" : "0x01",
- "0x01" : "0x02e19eb7"
+ "0x00" : "0x00",
+ "0x01" : "0x14f4d7"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_rip160Filler.json b/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_rip160Filler.json
index 54ea1f5df..f579b4b2d 100644
--- a/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_rip160Filler.json
+++ b/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_rip160Filler.json
@@ -11,78 +11,39 @@
"expect" : [
{
"indexes" : {
- "data" : 0,
+ "data" : -1,
"gas" : -1,
"value" : -1
},
"network" : ["Metropolis"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "340282366920938463463374607431449147108",
+ "balance" : "340282366920938463463374607427904514059",
"code" : "0x",
"nonce" : "0x01",
"storage" : {
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "319064337",
+ "balance" : "3863697386",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
},
"bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "4503599627370505",
+ "balance" : "4503599627370495",
"code" : "0x5b61c3506080511015602b576000600061c3506000600362013178fa6000556001608051016080526000565b608051600155",
"nonce" : "0x00",
"storage" : {
- "0x00" : "0x01",
- "0x01" : "0xc350"
- }
- },
- "1000000000000000000000000000000000000000" : {
- "storage" : {
- "0x00" : "0x01",
- "0x01" : "0xd6ee8452"
- }
- }
- }
- },
- {
- "indexes" : {
- "data" : 1,
- "gas" : -1,
- "value" : -1
- },
- "network" : ["Metropolis"],
- "result" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "340282366920938463463374607431699032105",
- "code" : "0x",
- "nonce" : "0x01",
- "storage" : {
- }
- },
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "69179340",
- "code" : "0x",
- "nonce" : "0x00",
- "storage" : {
- }
- },
- "cccf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "4503599627370505",
- "code" : "0x5b61c3506080511015602b576000600061c3506000600362013178fa6000526001608051016080526000565b608051602052",
- "nonce" : "0x00",
- "storage" : {
"0x00" : "0x00",
"0x01" : "0x00"
}
},
"1000000000000000000000000000000000000000" : {
"storage" : {
- "0x00" : "0x01",
- "0x01" : "0xe5d37597"
+ "0x00" : "0x00",
+ "0x01" : "0x03a7b579"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_sha256Filler.json b/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_sha256Filler.json
index 8b77958dd..91933ac3d 100644
--- a/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_sha256Filler.json
+++ b/src/GeneralStateTestsFiller/stStaticCall/static_Call50000_sha256Filler.json
@@ -21,14 +21,14 @@
"shouldnotexist" : "1"
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "340282366920938463463374607431476147108",
+ "balance" : "340282366920938463463374607430538347108",
"code" : "0x",
"nonce" : "0x01",
"storage" : {
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "292064337",
+ "balance" : "1229864337",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
@@ -46,7 +46,7 @@
"1000000000000000000000000000000000000000" : {
"storage" : {
"0x00" : "0x01",
- "0x01" : "0xd88a8112"
+ "0x01" : "0xa0a4cfd2"
}
}
}
@@ -63,14 +63,14 @@
"shouldnotexist" : "1"
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "340282366920938463463374607431726032105",
+ "balance" : "340282366920938463463374607430788232105",
"code" : "0x",
"nonce" : "0x01",
"storage" : {
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "42179340",
+ "balance" : "979979340",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
@@ -88,7 +88,7 @@
"1000000000000000000000000000000000000000" : {
"storage" : {
"0x00" : "0x01",
- "0x01" : "0xe76f7257"
+ "0x01" : "0xaf89c117"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_callcallcallcode_001_2Filler.json b/src/GeneralStateTestsFiller/stStaticCall/static_callcallcallcode_001_2Filler.json
index 59681b225..6699575c2 100644
--- a/src/GeneralStateTestsFiller/stStaticCall/static_callcallcallcode_001_2Filler.json
+++ b/src/GeneralStateTestsFiller/stStaticCall/static_callcallcallcode_001_2Filler.json
@@ -41,7 +41,7 @@
"a000000000000000000000000000000000000000" : {
"storage" : {
"0x00" : "0x01",
- "0x01" : "0x2cb205"
+ "0x01" : "0x2ccc31"
}
},
"1000000000000000000000000000000000000002" : {
diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_callcallcodecall_010_OOGEFiller.json b/src/GeneralStateTestsFiller/stStaticCall/static_callcallcodecall_010_OOGEFiller.json
index 465327a5c..83fd92948 100644
--- a/src/GeneralStateTestsFiller/stStaticCall/static_callcallcodecall_010_OOGEFiller.json
+++ b/src/GeneralStateTestsFiller/stStaticCall/static_callcallcodecall_010_OOGEFiller.json
@@ -20,7 +20,7 @@
"1000000000000000000000000000000000000000" : {
"storage" : {
"0x00" : "0x01",
- "0x01" : "0x01a7d2"
+ "0x01" : "0x7251"
}
}
}
@@ -50,7 +50,7 @@
},
"2000000000000000000000000000000000000002" : {
"balance" : "0",
- "code" : "{ (STATICCALL 20020 0x1000000000000000000000000000000000000003 0 64 0 64 ) (STORE 1 1) }",
+ "code" : "{ (STATICCALL 20020 0x1000000000000000000000000000000000000003 0 64 0 64 ) (SSTORE 1 1) }",
"nonce" : "0",
"storage" : {
}