From db5f76defccf563d2578a49c8067dc2fd1af26f4 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 16 Jan 2018 15:03:10 +0300 Subject: add readme file --- .../stArgsZeroOneBalance/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/GeneralStateTestsFiller/stArgsZeroOneBalance/README.md (limited to 'src') 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, ...) +} +``` -- cgit v1.2.3