aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stArgsZeroOneBalance
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-01-16 20:03:10 +0800
committerDimitry <dimitry@ethereum.org>2018-01-16 20:03:10 +0800
commitdb5f76defccf563d2578a49c8067dc2fd1af26f4 (patch)
tree7d817cdc0506dbca8b8435024a449f3fdb377e3c /src/GeneralStateTestsFiller/stArgsZeroOneBalance
parent644a81e028e8d0532c44e578320d475b52bb286e (diff)
downloadtangerine-tests-db5f76defccf563d2578a49c8067dc2fd1af26f4.tar
tangerine-tests-db5f76defccf563d2578a49c8067dc2fd1af26f4.tar.gz
tangerine-tests-db5f76defccf563d2578a49c8067dc2fd1af26f4.tar.bz2
tangerine-tests-db5f76defccf563d2578a49c8067dc2fd1af26f4.tar.lz
tangerine-tests-db5f76defccf563d2578a49c8067dc2fd1af26f4.tar.xz
tangerine-tests-db5f76defccf563d2578a49c8067dc2fd1af26f4.tar.zst
tangerine-tests-db5f76defccf563d2578a49c8067dc2fd1af26f4.zip
add readme file
Diffstat (limited to 'src/GeneralStateTestsFiller/stArgsZeroOneBalance')
-rw-r--r--src/GeneralStateTestsFiller/stArgsZeroOneBalance/README.md18
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, ...)
+}
+```