From 99b9acdda9d399fe3c5bf03c5c246158923e9726 Mon Sep 17 00:00:00 2001 From: feliam Date: Wed, 3 Oct 2018 17:52:41 -0300 Subject: Update vm_tests.rst --- docs/test_types/vm_tests.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') 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 ^^^^^^^^^^^^^^^^^^^^^^^ -- cgit