aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2017-12-21 20:13:22 +0800
committerDimitry <dimitry@ethereum.org>2017-12-21 20:13:22 +0800
commit224d5bdda72733ff75678283418c51a2258d201d (patch)
treec5ff3da32fb67d7dcea94732ff85dbdbf75906cf /src
parent3ab7d5b32543b8b7a82be97afc1ac3be89220eef (diff)
downloadtangerine-tests-224d5bdda72733ff75678283418c51a2258d201d.tar
tangerine-tests-224d5bdda72733ff75678283418c51a2258d201d.tar.gz
tangerine-tests-224d5bdda72733ff75678283418c51a2258d201d.tar.bz2
tangerine-tests-224d5bdda72733ff75678283418c51a2258d201d.tar.lz
tangerine-tests-224d5bdda72733ff75678283418c51a2258d201d.tar.xz
tangerine-tests-224d5bdda72733ff75678283418c51a2258d201d.tar.zst
tangerine-tests-224d5bdda72733ff75678283418c51a2258d201d.zip
evmBytecode test
Diffstat (limited to 'src')
-rw-r--r--src/GeneralStateTestsFiller/stBugs/evmBytecodeFiller.json58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stBugs/evmBytecodeFiller.json b/src/GeneralStateTestsFiller/stBugs/evmBytecodeFiller.json
new file mode 100644
index 000000000..3ee9b90b0
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stBugs/evmBytecodeFiller.json
@@ -0,0 +1,58 @@
+{
+ "evmBytecode": {
+ "env": {
+ "currentCoinbase": "0x1000000000000000000000000000000000000000",
+ "currentDifficulty": "0x20000",
+ "currentGasLimit": "0x54a60a4202e088",
+ "currentNumber": "0x01",
+ "currentTimestamp": "0x03e8",
+ "previousHash": "0x0da7f1041f7b60aec6b67cafa0c08c10c9954d0b43737891d204ff372d166593"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : [0],
+ "gas" : 0,
+ "value" : 0
+ },
+ "network" : ["ALL"],
+ "result" : {
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "storage": {
+ "0x01" : "0x00"
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce": "0x01"
+ }
+ }
+ }
+ ],
+ "pre": {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b": {
+ "balance": "0x38beec8feeca2598",
+ "code": "",
+ "nonce": "0x00",
+ "storage": {}
+ },
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b": {
+ "balance": "0",
+ "code": "0x67FFFFFFFFFFFFFFFF600160006000FB",
+ "nonce": "0x3f",
+ "storage": {
+ }
+ }
+ },
+ "transaction": {
+ "data": [
+ ""
+ ],
+ "gasLimit": ["120000"],
+ "gasPrice": "0x01",
+ "nonce": "0x00",
+ "secretKey": "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to": "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value": ["0x00"]
+ }
+ }
+}