Skip to content

Commit d434ecd

Browse files
committed
Added CallSha256_1_nonzeroValue test
1 parent 2c06f34 commit d434ecd

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

StateTests/stPreCompiledContracts.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,6 +1082,74 @@
10821082
"value" : "100000"
10831083
}
10841084
},
1085+
"CallSha256_1_nonzeroValue" : {
1086+
"env" : {
1087+
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
1088+
"currentDifficulty" : "256",
1089+
"currentGasLimit" : "10000000",
1090+
"currentNumber" : "0",
1091+
"currentTimestamp" : 1,
1092+
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
1093+
},
1094+
"out" : "0x",
1095+
"post" : {
1096+
"0000000000000000000000000000000000000002" : {
1097+
"balance" : "13",
1098+
"code" : "0x",
1099+
"nonce" : "0",
1100+
"storage" : {
1101+
}
1102+
},
1103+
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
1104+
"balance" : "20099987",
1105+
"code" : "0x6020600060006000600d60026101f4f1600255600051600055",
1106+
"nonce" : "0",
1107+
"storage" : {
1108+
"0x" : "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
1109+
"0x02" : "0x01"
1110+
}
1111+
},
1112+
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
1113+
"balance" : "1232",
1114+
"code" : "0x",
1115+
"nonce" : "0",
1116+
"storage" : {
1117+
}
1118+
},
1119+
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
1120+
"balance" : "999999999999898768",
1121+
"code" : "0x",
1122+
"nonce" : "1",
1123+
"storage" : {
1124+
}
1125+
}
1126+
},
1127+
"pre" : {
1128+
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
1129+
"balance" : "20000000",
1130+
"code" : "0x6020600060006000600d60026101f4f1600255600051600055",
1131+
"nonce" : "0",
1132+
"storage" : {
1133+
}
1134+
},
1135+
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
1136+
"balance" : "1000000000000000000",
1137+
"code" : "0x",
1138+
"nonce" : "0",
1139+
"storage" : {
1140+
}
1141+
}
1142+
},
1143+
"transaction" : {
1144+
"data" : "",
1145+
"gasLimit" : "365224",
1146+
"gasPrice" : "1",
1147+
"nonce" : "0",
1148+
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
1149+
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
1150+
"value" : "100000"
1151+
}
1152+
},
10851153
"CallSha256_2" : {
10861154
"env" : {
10871155
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",

0 commit comments

Comments
 (0)