Skip to content

Commit

Permalink
update stBugs and stBad opcodes to Istanbul
Browse files Browse the repository at this point in the history
  • Loading branch information
winsvega committed Sep 21, 2019
1 parent e5a535b commit 112ed35
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"expect" : [
{
"//comment" : "Contract Creation Spam is so expensive that it is failing on 10M gas",
"network" : [ ">=ConstantinopleFix"],
"network" : [ ">=Istanbul"],
"indexes" : { "data" : -1, "gas" : -1, "value" : -1 },
"result" : {
"6a0a0fc761c612c340a0e98d33b37a75e5268472" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"expect" : [
{
"indexes" : { "data" : -1, "gas" : -1, "value" : -1 },
"network" : [ ">=ConstantinopleFix"],
"network" : [ ">=Istanbul"],
"result" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"nonce" : "0x0cc7"
Expand Down
19 changes: 10 additions & 9 deletions src/GeneralStateTestsFiller/stBadOpcode/badOpcodesFiller.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,30 @@

{
"indexes" : {
"data" : [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170],
"data" : [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170],
"gas" : 0,
"value" : 0
},
"network" : [ ">=ConstantinopleFix"],
"network" : [ ">=Istanbul"],
"result" : {
"6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
"shouldnotexist": "1"
"shouldnotexist": "1"
}
}
},
{
"indexes" : {
"data" : [110],
"//comment" : "create2, selfbalance, chainid",
"data" : [110, 21, 22],
"gas" : 0,
"value" : 0
},
"network" : [">=ConstantinopleFix"],
"network" : [">=Istanbul"],
"result" : {
"6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
"balance" : "99999"
}
}
"6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
"code" : "0x"
}
}
}
],
"pre" : {
Expand Down
2 changes: 1 addition & 1 deletion src/GeneralStateTestsFiller/stBugs/evmBytecodeFiller.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"gas" : 0,
"value" : 0
},
"network" : [">=ConstantinopleFix"],
"network" : [">=Istanbul"],
"result" : {
"0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"storage": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,16 @@
"gas" : -1,
"value" : -1
},
"network" : [">=ConstantinopleFix"],
"network" : [">=Istanbul"],
"result" : {
"0x1000000000000000000000000000000000000000" : {
"balance" : "16066",
"balance" : "14116",
"code" : "0x61dead6000600060006000600061dead5af162abcdef3f600155",
"nonce" : "0x1c",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "6741850433964366322",
"code" : "",
"nonce" : "0x1d",
"storage" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
"network" : [">=ConstantinopleFix"],
"network" : [">=Istanbul"],
"result" : {
"0xffffffffffffffffffffffffffffffffffffffff" : {
"storage": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
"network" : [">=ConstantinopleFix"],
"network" : [">=Istanbul"],
"result" : {
"0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"storage": {
Expand Down

0 comments on commit 112ed35

Please sign in to comment.