aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/StateTests/RandomTests/st201503181619GO.json
diff options
context:
space:
mode:
authorFelix Lange <fjl@users.noreply.github.com>2017-07-11 19:49:14 +0800
committerGitHub <noreply@github.com>2017-07-11 19:49:14 +0800
commit225de7ca0a9e861696a5a43b666090b574c4c769 (patch)
tree68aff6fb74fece37626ced330fa9c5da91b483a4 /tests/files/StateTests/RandomTests/st201503181619GO.json
parentbd01cd7183e771984fb9c008e7a7ebf0a0c3f9ba (diff)
downloaddexon-225de7ca0a9e861696a5a43b666090b574c4c769.tar.gz
dexon-225de7ca0a9e861696a5a43b666090b574c4c769.tar.zst
dexon-225de7ca0a9e861696a5a43b666090b574c4c769.zip
tests: update tests and implement general state tests (#14734)
Tests are now included as a submodule. This should make updating easier and removes ~60MB of JSON data from the working copy. State tests are replaced by General State Tests, which run the same test with multiple fork configurations. With the new test runner, consensus tests are run as subtests by walking json files. Many hex issues have been fixed upstream since the last update and most custom parsing code is replaced by existing JSON hex types. Tests can now be marked as 'expected failures', ensuring that fixes for those tests will trigger an update to test configuration. The new test runner also supports parallel execution and the -short flag.
Diffstat (limited to 'tests/files/StateTests/RandomTests/st201503181619GO.json')
-rw-r--r--tests/files/StateTests/RandomTests/st201503181619GO.json72
1 files changed, 0 insertions, 72 deletions
diff --git a/tests/files/StateTests/RandomTests/st201503181619GO.json b/tests/files/StateTests/RandomTests/st201503181619GO.json
deleted file mode 100644
index f1bd68dc3..000000000
--- a/tests/files/StateTests/RandomTests/st201503181619GO.json
+++ /dev/null
@@ -1,72 +0,0 @@
-{
- "randomStatetest" : {
- "env" : {
- "currentCoinbase" : "945304eb96065b2a98b57a48a06ae28d285a71b5",
- "currentDifficulty" : "0x051d6a3cd647",
- "currentGasLimit" : "0x7fffffffffffffff",
- "currentNumber" : "0x00",
- "currentTimestamp" : "0x01",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
- },
- "logs" : [
- ],
- "out" : "0x",
- "post" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "0x45949a6f",
- "code" : "0x7f00000000000000000000000100000000000000000000000000000000000000007f00000000000000000000000100000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000100000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000c3507f00000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000006f86a2409b991539f0423c0342363c3b5560005155",
- "nonce" : "0x00",
- "storage" : {
- "0x00" : "0x86a2409b991539f0423c0342363c3b55"
- }
- },
- "945304eb96065b2a98b57a48a06ae28d285a71b5" : {
- "balance" : "0xb41a",
- "code" : "0x6000355415600957005b60203560003555",
- "nonce" : "0x00",
- "storage" : {
- }
- },
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0de0b6b361ceb1a5",
- "code" : "0x",
- "nonce" : "0x01",
- "storage" : {
- }
- }
- },
- "postStateRoot" : "364e3cec153b43c9e2987a40d0b208d548ad90f392b26b59f67bdb2158cb0baf",
- "pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "0x00",
- "code" : "0x7f00000000000000000000000100000000000000000000000000000000000000007f00000000000000000000000100000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000100000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000c3507f00000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000006f86a2409b991539f0423c0342363c3b5560005155",
- "nonce" : "0x00",
- "storage" : {
- }
- },
- "945304eb96065b2a98b57a48a06ae28d285a71b5" : {
- "balance" : "0x2e",
- "code" : "0x6000355415600957005b60203560003555",
- "nonce" : "0x00",
- "storage" : {
- }
- },
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0de0b6b3a7640000",
- "code" : "0x",
- "nonce" : "0x00",
- "storage" : {
- }
- }
- },
- "transaction" : {
- "data" : "0x7f00000000000000000000000100000000000000000000000000000000000000007f00000000000000000000000100000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000100000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000c3507f00000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000006f86a2409b991539f0423c0342363c3b",
- "gasLimit" : "0x0f05af2a",
- "gasPrice" : "0x01",
- "nonce" : "0x00",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "0x45949a6f"
- }
- }
-} \ No newline at end of file