diff options
author | Dimitry <dimitry@ethereum.org> | 2017-11-30 09:39:45 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2017-11-30 09:39:45 +0800 |
commit | c200d9beebed39296c2e3cf09c2472e836ef8f30 (patch) | |
tree | 63d063eb67af4b67957ff7b7d184b0e640a392c7 /src/TransactionTestsFiller/ttData/dataTx_bcValidBlockTestFrontierFiller.json | |
parent | bffedcb426663a4935782e91d28de3ece82df40f (diff) | |
download | dexon-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar dexon-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.gz dexon-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.bz2 dexon-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.lz dexon-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.xz dexon-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.tar.zst dexon-tests-c200d9beebed39296c2e3cf09c2472e836ef8f30.zip |
convert Frontier and Homestead ttTests to new format
Diffstat (limited to 'src/TransactionTestsFiller/ttData/dataTx_bcValidBlockTestFrontierFiller.json')
-rw-r--r-- | src/TransactionTestsFiller/ttData/dataTx_bcValidBlockTestFrontierFiller.json | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/TransactionTestsFiller/ttData/dataTx_bcValidBlockTestFrontierFiller.json b/src/TransactionTestsFiller/ttData/dataTx_bcValidBlockTestFrontierFiller.json new file mode 100644 index 000000000..73e366aa7 --- /dev/null +++ b/src/TransactionTestsFiller/ttData/dataTx_bcValidBlockTestFrontierFiller.json @@ -0,0 +1,25 @@ +{ + "dataTx_bcValidBlockTestFrontier": { + "expect" : [ + { + "network" : ["Frontier"], + "result" : "valid" + }, + { + "network" : ["Homestead", "EIP150", "EIP158", "Byzantium", "Constantinople"], + "result" : "invalid" + } + ], + "transaction": { + "nonce": "0", + "gasPrice": "50", + "gasLimit": "50000", + "to": "", + "data": "0x60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56", + "r" : "0xc5689ed1ad124753d54576dfb4b571465a41900a1dff4058d8adf16f752013d0", + "s" : "0x1221cbd70ec28c94a3b55ec771bcbc70778d6ee0b51ca7ea9514594c861b1884", + "v": "28", + "value": "0" + } + } +} |