{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/tests/issues/515","repository_url":"https://api.github.com/repos/ethereum/tests","labels_url":"https://api.github.com/repos/ethereum/tests/issues/515/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/tests/issues/515/comments","events_url":"https://api.github.com/repos/ethereum/tests/issues/515/events","html_url":"https://github.com/ethereum/tests/issues/515","id":365876634,"node_id":"MDU6SXNzdWUzNjU4NzY2MzQ=","number":515,"title":"VMTests does not really test logs, or does it?","user":{"login":"feliam","id":1017522,"node_id":"MDQ6VXNlcjEwMTc1MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/1017522?v=4","gravatar_id":"","url":"https://api.github.com/users/feliam","html_url":"https://github.com/feliam","followers_url":"https://api.github.com/users/feliam/followers","following_url":"https://api.github.com/users/feliam/following{/other_user}","gists_url":"https://api.github.com/users/feliam/gists{/gist_id}","starred_url":"https://api.github.com/users/feliam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feliam/subscriptions","organizations_url":"https://api.github.com/users/feliam/orgs","repos_url":"https://api.github.com/users/feliam/repos","events_url":"https://api.github.com/users/feliam/events{/privacy}","received_events_url":"https://api.github.com/users/feliam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-02T12:35:40Z","updated_at":"2018-10-03T20:49:09Z","closed_at":null,"author_association":"NONE","body":"Here the logs item is described as a dictionary:\r\nhttps://github.com/ethereum/tests/blob/develop/docs/test_types/vm_tests.rst#the-logs-section\r\n\r\nThe ``logs`` sections is a mapping between the blooms and their corresponding logentries.\r\nEach logentry has the format:\r\n\r\n* ``address``: The address of the logentry.\r\n* ``data``: The data of the logentry.\r\n* ``topics``: The topics of the logentry, given as an array of values.  \r\n\r\nThough the JSON schema defines a hex or empty.\r\nAnd no actual VMTests tests seem to have anything useful in the  'log' part\r\n```\r\n./VMTests/vmLogTest/log4_nonEmptyMem_logMemSize1_logMemStart31.json:29:        \"logs\": \"0x09928203a19d172f9c404eb76d61e6f4aedc83a2cada1ac2a02ad6aa0e98044b\",\r\n```"},"comment":{"url":"https://api.github.com/repos/ethereum/tests/issues/comments/426797125","html_url":"https://github.com/ethereum/tests/issues/515#issuecomment-426797125","issue_url":"https://api.github.com/repos/ethereum/tests/issues/515","id":426797125,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjc5NzEyNQ==","user":{"login":"pipermerriam","id":824194,"node_id":"MDQ6VXNlcjgyNDE5NA==","avatar_url":"https://avatars3.githubusercontent.com/u/824194?v=4","gravatar_id":"","url":"https://api.github.com/users/pipermerriam","html_url":"https://github.com/pipermerriam","followers_url":"https://api.github.com/users/pipermerriam/followers","following_url":"https://api.github.com/users/pipermerriam/following{/other_user}","gists_url":"https://api.github.com/users/pipermerriam/gists{/gist_id}","starred_url":"https://api.github.com/users/pipermerriam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipermerriam/subscriptions","organizations_url":"https://api.github.com/users/pipermerriam/orgs","repos_url":"https://api.github.com/users/pipermerriam/repos","events_url":"https://api.github.com/users/pipermerriam/events{/privacy}","received_events_url":"https://api.github.com/users/pipermerriam/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T20:49:09Z","updated_at":"2018-10-03T20:49:09Z","author_association":"MEMBER","body":"The value is 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).\r\n\r\n- `keccak(rlp.encode(log_entries))`\r\n\r\nSee: https://github.com/ethereum/py-evm/blob/7a96fa3a2b00af9bea189444d88a3cce6a6be05f/eth/tools/_utils/hashing.py#L8-L16"}}
{"actor":{"display_login":"pipermerriam"}}