aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwinsvega <winsvega@mail.ru>2018-10-12 18:34:15 +0800
committerGitHub <noreply@github.com>2018-10-12 18:34:15 +0800
commit0fe81197a778632a0671c759ce5766b9e36f0f4c (patch)
tree68723f0a1a7ef0262e9b9c68fdefbecddc08fe6b
parent6d18fba2603eb3c28995908dd6bb3b15531bbcc1 (diff)
parent99b9acdda9d399fe3c5bf03c5c246158923e9726 (diff)
downloaddexon-tests-0fe81197a778632a0671c759ce5766b9e36f0f4c.tar
dexon-tests-0fe81197a778632a0671c759ce5766b9e36f0f4c.tar.gz
dexon-tests-0fe81197a778632a0671c759ce5766b9e36f0f4c.tar.bz2
dexon-tests-0fe81197a778632a0671c759ce5766b9e36f0f4c.tar.lz
dexon-tests-0fe81197a778632a0671c759ce5766b9e36f0f4c.tar.xz
dexon-tests-0fe81197a778632a0671c759ce5766b9e36f0f4c.tar.zst
dexon-tests-0fe81197a778632a0671c759ce5766b9e36f0f4c.zip
Merge pull request #516 from feliam/patch-2
Update vm_tests.rst
-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
^^^^^^^^^^^^^^^^^^^^^^^