aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-09-13 22:52:45 +0800
committerDimitry <winsvega@mail.ru>2017-09-13 22:52:45 +0800
commit8bca8c493332b3cb82ea9b5ac0214028cc993988 (patch)
treed199f0f9c0ac3bbe71ed3359d836f78d6f97f1a2 /GeneralStateTests
parent6f09e3c9aa172ffb00c464cd04c8a022ef6fb4dd (diff)
downloadtangerine-tests-8bca8c493332b3cb82ea9b5ac0214028cc993988.tar
tangerine-tests-8bca8c493332b3cb82ea9b5ac0214028cc993988.tar.gz
tangerine-tests-8bca8c493332b3cb82ea9b5ac0214028cc993988.tar.bz2
tangerine-tests-8bca8c493332b3cb82ea9b5ac0214028cc993988.tar.lz
tangerine-tests-8bca8c493332b3cb82ea9b5ac0214028cc993988.tar.xz
tangerine-tests-8bca8c493332b3cb82ea9b5ac0214028cc993988.tar.zst
tangerine-tests-8bca8c493332b3cb82ea9b5ac0214028cc993988.zip
add issue 143 test
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/stAttackTest/CrashingTransaction.json98
1 files changed, 98 insertions, 0 deletions
diff --git a/GeneralStateTests/stAttackTest/CrashingTransaction.json b/GeneralStateTests/stAttackTest/CrashingTransaction.json
new file mode 100644
index 000000000..be5fadde9
--- /dev/null
+++ b/GeneralStateTests/stAttackTest/CrashingTransaction.json
@@ -0,0 +1,98 @@
+{
+ "CrashingTransaction" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "cpp-1.3.0+commit.0f676bd1.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stAttackTest/CrashingTransactionFiller.json"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x47e7c4",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Byzantium" : [
+ {
+ "hash" : "0xff08a9495550652210911b3534aa418c6fa298c7622f8e61a10ecf2c543115c9",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "EIP150" : [
+ {
+ "hash" : "0x6e498faaa2edfe2e824e37c272cdd81d39350ef564cc58d150eeda8566c64908",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0xff08a9495550652210911b3534aa418c6fa298c7622f8e61a10ecf2c543115c9",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0xfea6da844256a3168856bef275b44759a14bcc363a3b10bc9053542047039e02",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0xf20f36cd0318c573d233d3c2977c5a93c7674e884f6e50d8d29ace15860ba59b",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "",
+ "nonce" : "0x0cc6",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x60606040525b5b61c3505a1115602c576040516034806039833901809050604051809103906000f0506006565b5b600a80606d6000396000f360606040525b3373ffffffffffffffffffffffffffffffffffffffff16ff5b600a80602a6000396000f360606040526008565b0060606040526008565b00"
+ ],
+ "gasLimit" : [
+ "0x47127a"
+ ],
+ "gasPrice" : "0x02",
+ "nonce" : "0x0cc6",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "",
+ "value" : [
+ "0x01"
+ ]
+ }
+ }
+} \ No newline at end of file