aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorfeliam <felipe.andres.manzano@gmail.com>2018-10-04 04:52:41 +0800
committerGitHub <noreply@github.com>2018-10-04 04:52:41 +0800
commit99b9acdda9d399fe3c5bf03c5c246158923e9726 (patch)
treef5a0604daac6a6a7bc6a3009e710528fd1604243 /docs
parent3f5febc901913ef698f1b09dda8705babd729e4a (diff)
downloaddexon-tests-99b9acdda9d399fe3c5bf03c5c246158923e9726.tar.gz
dexon-tests-99b9acdda9d399fe3c5bf03c5c246158923e9726.tar.zst
dexon-tests-99b9acdda9d399fe3c5bf03c5c246158923e9726.zip
Update vm_tests.rst
Diffstat (limited to 'docs')
-rw-r--r--docs/test_types/vm_tests.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/test_types/vm_tests.rst b/docs/test_types/vm_tests.rst
index 9cd70696f..156ff218a 100644
--- a/docs/test_types/vm_tests.rst
+++ b/docs/test_types/vm_tests.rst
@@ -120,12 +120,12 @@ The ``callcreates`` section details each ``CALL`` or ``CREATE`` instruction that
The logs Section
^^^^^^^^^^^^^^^^
-The ``logs`` sections is a mapping between the blooms and their corresponding logentries.
+The ``logs`` sections contains the hex encoded hash of the rlp encoded log entries, reducing the overall size of the test files while still verifying that all of the data is accurate (at the cost of being able to read what the data should be).
Each logentry has the format:
-* ``address``: The address of the logentry.
-* ``data``: The data of the logentry.
-* ``topics``: The topics of the logentry, given as an array of values.
+keccak(rlp.encode(log_entries))
+
+(see https://github.com/ethereum/py-evm/blob/7a96fa3a2b00af9bea189444d88a3cce6a6be05f/eth/tools/_utils/hashing.py#L8-L16)
The gas and output Keys
^^^^^^^^^^^^^^^^^^^^^^^