diff options
author | Dimitry <dimitry@ethereum.org> | 2018-01-16 20:03:10 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-01-16 20:03:10 +0800 |
commit | db5f76defccf563d2578a49c8067dc2fd1af26f4 (patch) | |
tree | 7d817cdc0506dbca8b8435024a449f3fdb377e3c /src/GeneralStateTestsFiller | |
parent | 644a81e028e8d0532c44e578320d475b52bb286e (diff) | |
download | dexon-tests-db5f76defccf563d2578a49c8067dc2fd1af26f4.tar dexon-tests-db5f76defccf563d2578a49c8067dc2fd1af26f4.tar.gz dexon-tests-db5f76defccf563d2578a49c8067dc2fd1af26f4.tar.bz2 dexon-tests-db5f76defccf563d2578a49c8067dc2fd1af26f4.tar.lz dexon-tests-db5f76defccf563d2578a49c8067dc2fd1af26f4.tar.xz dexon-tests-db5f76defccf563d2578a49c8067dc2fd1af26f4.tar.zst dexon-tests-db5f76defccf563d2578a49c8067dc2fd1af26f4.zip |
add readme file
Diffstat (limited to 'src/GeneralStateTestsFiller')
-rw-r--r-- | src/GeneralStateTestsFiller/stArgsZeroOneBalance/README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stArgsZeroOneBalance/README.md b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/README.md new file mode 100644 index 000000000..01fe13164 --- /dev/null +++ b/src/GeneralStateTestsFiller/stArgsZeroOneBalance/README.md @@ -0,0 +1,18 @@ +This tests contain opcodes that has input arguments.But that arguments passed as output of another opcode. +In this case it's Balance opcode. Each test has 2 transactions: one makes balance to return 0, another one makes balance to return 1. + +This is done so evmjit or other compiler would not define opcode arguments as constant, but as a variable rather. Because evmjit encountered some bugs for this kind of scenario. + + +Pseudo code description: + +``` +foreach opcodes as opcode +{ + a = 0 +opcode (a,a, ...) + + a = 1 +opcode (a,a, ...) +} +``` |