aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
authorJared Wasinger <j-wasinger@hotmail.com>2017-08-14 11:39:34 +0800
committerJared Wasinger <j-wasinger@hotmail.com>2017-08-17 02:57:43 +0800
commit7cba9efabe71dd780c9aaf79ea19ec5ca03b14dd (patch)
tree8b482a8ae4f8117603c659a11dc54a3a4c9be5f4 /GeneralStateTests
parent85f6d7cc01b6bd04e071f5ba579fc675cfd2043b (diff)
downloadtangerine-tests-7cba9efabe71dd780c9aaf79ea19ec5ca03b14dd.tar
tangerine-tests-7cba9efabe71dd780c9aaf79ea19ec5ca03b14dd.tar.gz
tangerine-tests-7cba9efabe71dd780c9aaf79ea19ec5ca03b14dd.tar.bz2
tangerine-tests-7cba9efabe71dd780c9aaf79ea19ec5ca03b14dd.tar.lz
tangerine-tests-7cba9efabe71dd780c9aaf79ea19ec5ca03b14dd.tar.xz
tangerine-tests-7cba9efabe71dd780c9aaf79ea19ec5ca03b14dd.tar.zst
tangerine-tests-7cba9efabe71dd780c9aaf79ea19ec5ca03b14dd.zip
add badOpcode state test for SSIZE
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/stBadOpcode/badOpcode.json123
1 files changed, 123 insertions, 0 deletions
diff --git a/GeneralStateTests/stBadOpcode/badOpcode.json b/GeneralStateTests/stBadOpcode/badOpcode.json
new file mode 100644
index 000000000..82bce1e48
--- /dev/null
+++ b/GeneralStateTests/stBadOpcode/badOpcode.json
@@ -0,0 +1,123 @@
+{
+ "badOpcode" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "cpp-1.3.0+commit.5b7f5e90.Linux.g++",
+ "source" : "/src/GeneralStateTestsFiller/stBadOpcode/badOpcodeFiller.json"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Byzantium" : [
+ {
+ "hash" : "0x18e2b3978b235f437aad7b69c5c7aa2881f9b643b0054106b8f88793e504e9e7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Constantinople" : [
+ {
+ "hash" : "0x18e2b3978b235f437aad7b69c5c7aa2881f9b643b0054106b8f88793e504e9e7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "EIP150" : [
+ {
+ "hash" : "0x18e2b3978b235f437aad7b69c5c7aa2881f9b643b0054106b8f88793e504e9e7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0x18e2b3978b235f437aad7b69c5c7aa2881f9b643b0054106b8f88793e504e9e7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0x18e2b3978b235f437aad7b69c5c7aa2881f9b643b0054106b8f88793e504e9e7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0x18e2b3978b235f437aad7b69c5c7aa2881f9b643b0054106b8f88793e504e9e7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ]
+ },
+ "pre" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x6001600155e36001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "0x061a80"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : [
+ "0x0186a0"
+ ]
+ }
+ }
+} \ No newline at end of file