{"action":"created","comment":{"url":"https://api.github.com/repos/ethereum/eth2.0-specs/pulls/comments/239673741","pull_request_review_id":182523560,"id":239673741,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTY3Mzc0MQ==","diff_hunk":"@@ -317,27 +285,130 @@ Unless otherwise indicated, code appearing in `this style` is to be interpreted\n }\n ```\n \n-#### `ProposalSignedData`\n+#### `ProposerSlashingRecord`\n+\n+```python\n+{\n+    # Proposer index\n+    'proposer_index': 'uint24',\n+    # First proposal data\n+    'proposal_data_1': ProposalSignedData,\n+    # First proposal signature\n+    'proposal_signature_1': '[uint384]',\n+    # Second proposal data\n+    'proposal_data_2': ProposalSignedData,\n+    # Second proposal signature\n+    'proposal_signature_2': '[uint384]',\n+}\n+```\n+\n+#### `CasperSlashingRecord`\n+\n+```python\n+{\n+    # First vote\n+    vote_1: SpecialAttestationData,\n+    # Second vote\n+    vote_2: SpecialAttestationData,\n+}\n+```\n+\n+#### `SpecialAttestationData`\n+\n+ ```python\n+{\n+    # Proof-of-custody indices (0 bits)\n+    'aggregate_signature_poc_0_indices': '[uint24]',\n+    # Proof-of-custody indices (1 bits)\n+    'aggregate_signature_poc_1_indices': '[uint24]',\n+    # Attestation data\n+    'data': AttestationData,\n+    # Aggregate signature\n+    'aggregate_signature': '[uint384]',\n+}\n+```\n+\n+#### `DepositRecord`\n+\n+```python\n+{\n+    # Receipt Merkle branch\n+    'merkle_branch': '[hash32]',\n+    # Merkle tree index\n+    'merkle_tree_index': 'uint64',\n+    # Deposit data\n+    'deposit_data': {\n+        # Deposit parameters\n+        'deposit_parameters': DepositParametersRecord,\n+        # Value in Gwei\n+        'value': 'uint64',\n+        # Timestamp from deposit contract\n+        'timestamp': 'uint64',\n+    },\n+}\n+```\n+\n+#### `ExitRecord`\n+\n+```python\n+{\n+    # Minimum slot for processing exit\n+    'slot': 'unit64',\n+    # Index of the exiting validator\n+    'validator_index': 'uint64',\n+    # Validator signature\n+    'signature': '[uint384]',\n+}\n+```\n+\n+### Beacon chain blocks\n+\n+#### `BeaconBlockHeader`\n \n ```python\n {\n-    # Slot number\n     'slot': 'uint64',\n-    # Shard number (`BEACON_CHAIN_SHARD_NUMBER` for beacon chain)\n-    'shard': 'uint64',\n-    # Block hash\n-    'block_hash': 'hash32',\n+    # Skip list of ancestor beacon block hashes\n+    # i'th item is the most recent ancestor whose slot is a multiple of 2**i for i = 0, ..., 31\n+    'ancestor_hashes': ['hash32'],\n+    'state_root': 'hash32',\n+    'randao_reveal': 'hash32',\n+    'candidate_pow_receipt_root': 'hash32',\n+    'signature': ['uint384'],\n }\n ```\n \n-#### `SpecialRecord`\n+#### `BeaconBlockBody`\n \n ```python\n {\n-    # Kind\n-    'kind': 'uint64',\n-    # Data\n-    'data': 'bytes',\n+    'attestations': [AttestationRecord],\n+    'proposer_slashings': [ProposerSlashingRecord],\n+    'casper_slashings': [CasperSlashingRecord],\n+    'deposits': [DepositRecord],\n+    'exits': [ExitRecord],\n+}\n+```\n+\n+#### `BeaconBlock`\n+\n+```python\n+{\n+    'header': BeaconBlockHeader,\n+    'body': BeaconBlockBody,\n+}","path":"specs/core/0_beacon-chain.md","position":303,"original_position":262,"commit_id":"35f8eccc1f73deb586a1fc0ef4f10db697f91cd4","original_commit_id":"3ea04a28ca4f3e58a0542ae37cb94cdd43eedd39","user":{"login":"vbuterin","id":2230894,"node_id":"MDQ6VXNlcjIyMzA4OTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2230894?v=4","gravatar_id":"","url":"https://api.github.com/users/vbuterin","html_url":"https://github.com/vbuterin","followers_url":"https://api.github.com/users/vbuterin/followers","following_url":"https://api.github.com/users/vbuterin/following{/other_user}","gists_url":"https://api.github.com/users/vbuterin/gists{/gist_id}","starred_url":"https://api.github.com/users/vbuterin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbuterin/subscriptions","organizations_url":"https://api.github.com/users/vbuterin/orgs","repos_url":"https://api.github.com/users/vbuterin/repos","events_url":"https://api.github.com/users/vbuterin/events{/privacy}","received_events_url":"https://api.github.com/users/vbuterin/received_events","type":"User","site_admin":false},"body":"Not sure I like this; I'd feel better with `body` being an element of the header.\r\n\r\nRemember that at the SSZ tree hashing level, that would just mean that the body gets represented by a nice clean 32 byte hash.","created_at":"2018-12-07T01:41:16Z","updated_at":"2018-12-07T01:41:16Z","html_url":"https://github.com/ethereum/eth2.0-specs/pull/252#discussion_r239673741","pull_request_url":"https://api.github.com/repos/ethereum/eth2.0-specs/pulls/252","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ethereum/eth2.0-specs/pulls/comments/239673741"},"html":{"href":"https://github.com/ethereum/eth2.0-specs/pull/252#discussion_r239673741"},"pull_request":{"href":"https://api.github.com/repos/ethereum/eth2.0-specs/pulls/252"}}},"pull_request":{"url":"https://api.github.com/repos/ethereum/eth2.0-specs/pulls/252","id":236723857,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2NzIzODU3","html_url":"https://github.com/ethereum/eth2.0-specs/pull/252","diff_url":"https://github.com/ethereum/eth2.0-specs/pull/252.diff","patch_url":"https://github.com/ethereum/eth2.0-specs/pull/252.patch","issue_url":"https://api.github.com/repos/ethereum/eth2.0-specs/issues/252","number":252,"state":"open","locked":false,"title":"new block format pt2 -- remove specials","user":{"login":"djrtwo","id":1433595,"node_id":"MDQ6VXNlcjE0MzM1OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1433595?v=4","gravatar_id":"","url":"https://api.github.com/users/djrtwo","html_url":"https://github.com/djrtwo","followers_url":"https://api.github.com/users/djrtwo/followers","following_url":"https://api.github.com/users/djrtwo/following{/other_user}","gists_url":"https://api.github.com/users/djrtwo/gists{/gist_id}","starred_url":"https://api.github.com/users/djrtwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djrtwo/subscriptions","organizations_url":"https://api.github.com/users/djrtwo/orgs","repos_url":"https://api.github.com/users/djrtwo/repos","events_url":"https://api.github.com/users/djrtwo/events{/privacy}","received_events_url":"https://api.github.com/users/djrtwo/received_events","type":"User","site_admin":false},"body":"part 2 in a series of PRs addressing #246.\r\n\r\n* removes `block.body.specials`\r\n* move all specials to specific transaction type contained in `block.body`\r\n* Create section \"Transactions\" in per-slot processing for all these `body` transaction types","created_at":"2018-12-07T01:05:45Z","updated_at":"2018-12-07T01:41:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ffe484052332ff8e47138089b0b11b8cf20bcc51","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ethereum/eth2.0-specs/pulls/252/commits","review_comments_url":"https://api.github.com/repos/ethereum/eth2.0-specs/pulls/252/comments","review_comment_url":"https://api.github.com/repos/ethereum/eth2.0-specs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ethereum/eth2.0-specs/issues/252/comments","statuses_url":"https://api.github.com/repos/ethereum/eth2.0-specs/statuses/35f8eccc1f73deb586a1fc0ef4f10db697f91cd4","head":{"label":"ethereum:remove-specials","ref":"remove-specials","sha":"35f8eccc1f73deb586a1fc0ef4f10db697f91cd4","user":{"login":"ethereum","id":6250754,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTA3NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6250754?v=4","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"repo":{"id":149554797,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk1NTQ3OTc=","name":"eth2.0-specs","full_name":"ethereum/eth2.0-specs","private":false,"owner":{"login":"ethereum","id":6250754,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTA3NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6250754?v=4","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ethereum/eth2.0-specs","description":"Ethereum 2.0 Specifications","fork":false,"url":"https://api.github.com/repos/ethereum/eth2.0-specs","forks_url":"https://api.github.com/repos/ethereum/eth2.0-specs/forks","keys_url":"https://api.github.com/repos/ethereum/eth2.0-specs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ethereum/eth2.0-specs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ethereum/eth2.0-specs/teams","hooks_url":"https://api.github.com/repos/ethereum/eth2.0-specs/hooks","issue_events_url":"https://api.github.com/repos/ethereum/eth2.0-specs/issues/events{/number}","events_url":"https://api.github.com/repos/ethereum/eth2.0-specs/events","assignees_url":"https://api.github.com/repos/ethereum/eth2.0-specs/assignees{/user}","branches_url":"https://api.github.com/repos/ethereum/eth2.0-specs/branches{/branch}","tags_url":"https://api.github.com/repos/ethereum/eth2.0-specs/tags","blobs_url":"https://api.github.com/repos/ethereum/eth2.0-specs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ethereum/eth2.0-specs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ethereum/eth2.0-specs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ethereum/eth2.0-specs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ethereum/eth2.0-specs/statuses/{sha}","languages_url":"https://api.github.com/repos/ethereum/eth2.0-specs/languages","stargazers_url":"https://api.github.com/repos/ethereum/eth2.0-specs/stargazers","contributors_url":"https://api.github.com/repos/ethereum/eth2.0-specs/contributors","subscribers_url":"https://api.github.com/repos/ethereum/eth2.0-specs/subscribers","subscription_url":"https://api.github.com/repos/ethereum/eth2.0-specs/subscription","commits_url":"https://api.github.com/repos/ethereum/eth2.0-specs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ethereum/eth2.0-specs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ethereum/eth2.0-specs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ethereum/eth2.0-specs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ethereum/eth2.0-specs/contents/{+path}","compare_url":"https://api.github.com/repos/ethereum/eth2.0-specs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ethereum/eth2.0-specs/merges","archive_url":"https://api.github.com/repos/ethereum/eth2.0-specs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ethereum/eth2.0-specs/downloads","issues_url":"https://api.github.com/repos/ethereum/eth2.0-specs/issues{/number}","pulls_url":"https://api.github.com/repos/ethereum/eth2.0-specs/pulls{/number}","milestones_url":"https://api.github.com/repos/ethereum/eth2.0-specs/milestones{/number}","notifications_url":"https://api.github.com/repos/ethereum/eth2.0-specs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ethereum/eth2.0-specs/labels{/name}","releases_url":"https://api.github.com/repos/ethereum/eth2.0-specs/releases{/id}","deployments_url":"https://api.github.com/repos/ethereum/eth2.0-specs/deployments","created_at":"2018-09-20T05:12:54Z","updated_at":"2018-12-07T01:02:57Z","pushed_at":"2018-12-07T01:18:58Z","git_url":"git://github.com/ethereum/eth2.0-specs.git","ssh_url":"git@github.com:ethereum/eth2.0-specs.git","clone_url":"https://github.com/ethereum/eth2.0-specs.git","svn_url":"https://github.com/ethereum/eth2.0-specs","homepage":null,"size":799,"stargazers_count":246,"watchers_count":246,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"archived":false,"open_issues_count":35,"license":null,"forks":62,"open_issues":35,"watchers":246,"default_branch":"master"}},"base":{"label":"ethereum:master","ref":"master","sha":"aa43ed7adecb7b05796f1fadcb596475a7d82012","user":{"login":"ethereum","id":6250754,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTA3NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6250754?v=4","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"repo":{"id":149554797,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk1NTQ3OTc=","name":"eth2.0-specs","full_name":"ethereum/eth2.0-specs","private":false,"owner":{"login":"ethereum","id":6250754,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTA3NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6250754?v=4","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ethereum/eth2.0-specs","description":"Ethereum 2.0 Specifications","fork":false,"url":"https://api.github.com/repos/ethereum/eth2.0-specs","forks_url":"https://api.github.com/repos/ethereum/eth2.0-specs/forks","keys_url":"https://api.github.com/repos/ethereum/eth2.0-specs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ethereum/eth2.0-specs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ethereum/eth2.0-specs/teams","hooks_url":"https://api.github.com/repos/ethereum/eth2.0-specs/hooks","issue_events_url":"https://api.github.com/repos/ethereum/eth2.0-specs/issues/events{/number}","events_url":"https://api.github.com/repos/ethereum/eth2.0-specs/events","assignees_url":"https://api.github.com/repos/ethereum/eth2.0-specs/assignees{/user}","branches_url":"https://api.github.com/repos/ethereum/eth2.0-specs/branches{/branch}","tags_url":"https://api.github.com/repos/ethereum/eth2.0-specs/tags","blobs_url":"https://api.github.com/repos/ethereum/eth2.0-specs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ethereum/eth2.0-specs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ethereum/eth2.0-specs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ethereum/eth2.0-specs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ethereum/eth2.0-specs/statuses/{sha}","languages_url":"https://api.github.com/repos/ethereum/eth2.0-specs/languages","stargazers_url":"https://api.github.com/repos/ethereum/eth2.0-specs/stargazers","contributors_url":"https://api.github.com/repos/ethereum/eth2.0-specs/contributors","subscribers_url":"https://api.github.com/repos/ethereum/eth2.0-specs/subscribers","subscription_url":"https://api.github.com/repos/ethereum/eth2.0-specs/subscription","commits_url":"https://api.github.com/repos/ethereum/eth2.0-specs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ethereum/eth2.0-specs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ethereum/eth2.0-specs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ethereum/eth2.0-specs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ethereum/eth2.0-specs/contents/{+path}","compare_url":"https://api.github.com/repos/ethereum/eth2.0-specs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ethereum/eth2.0-specs/merges","archive_url":"https://api.github.com/repos/ethereum/eth2.0-specs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ethereum/eth2.0-specs/downloads","issues_url":"https://api.github.com/repos/ethereum/eth2.0-specs/issues{/number}","pulls_url":"https://api.github.com/repos/ethereum/eth2.0-specs/pulls{/number}","milestones_url":"https://api.github.com/repos/ethereum/eth2.0-specs/milestones{/number}","notifications_url":"https://api.github.com/repos/ethereum/eth2.0-specs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ethereum/eth2.0-specs/labels{/name}","releases_url":"https://api.github.com/repos/ethereum/eth2.0-specs/releases{/id}","deployments_url":"https://api.github.com/repos/ethereum/eth2.0-specs/deployments","created_at":"2018-09-20T05:12:54Z","updated_at":"2018-12-07T01:02:57Z","pushed_at":"2018-12-07T01:18:58Z","git_url":"git://github.com/ethereum/eth2.0-specs.git","ssh_url":"git@github.com:ethereum/eth2.0-specs.git","clone_url":"https://github.com/ethereum/eth2.0-specs.git","svn_url":"https://github.com/ethereum/eth2.0-specs","homepage":null,"size":799,"stargazers_count":246,"watchers_count":246,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"archived":false,"open_issues_count":35,"license":null,"forks":62,"open_issues":35,"watchers":246,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ethereum/eth2.0-specs/pulls/252"},"html":{"href":"https://github.com/ethereum/eth2.0-specs/pull/252"},"issue":{"href":"https://api.github.com/repos/ethereum/eth2.0-specs/issues/252"},"comments":{"href":"https://api.github.com/repos/ethereum/eth2.0-specs/issues/252/comments"},"review_comments":{"href":"https://api.github.com/repos/ethereum/eth2.0-specs/pulls/252/comments"},"review_comment":{"href":"https://api.github.com/repos/ethereum/eth2.0-specs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ethereum/eth2.0-specs/pulls/252/commits"},"statuses":{"href":"https://api.github.com/repos/ethereum/eth2.0-specs/statuses/35f8eccc1f73deb586a1fc0ef4f10db697f91cd4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"vbuterin"}}