Skip to content

Commit

Permalink
Merge branch 'master' into comparison-factor
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfyone authored Dec 14, 2023
2 parents e5b1045 + 6559c85 commit e596deb
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ There are likely to be descriptions etc outside of the list below, but new query
|---------------------------------------------------------------------------------------------------------------------|--------------------------------------------------|---------------------------------------------------|----------------------------------------------------|-------------------------------------------------|-------------------------------------------|
| [#339](https://github.com/ethereum/beacon-APIs/pull/339) `POST /eth/v3/beacon/blocks` added | | | | | |
| [#350](https://github.com/ethereum/beacon-APIs/pull/350) `blob_sidecar EVENT` added | | | | | |
| [#366](https://github.com/ethereum/beacon-APIs/pull/366) `proposer_slashing, attester_slashing EVENT` added | | | | | |
| [#367](https://github.com/ethereum/beacon-APIs/pull/367) `POST /eth/v1/beacon/states/{state_id}/validators` | | | | | |
| [#367](https://github.com/ethereum/beacon-APIs/pull/367) `POST /eth/v1/beacon/states/{state_id}/validator_balances` | | | | | |

Expand Down
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ and run lint with
redocly lint beacon-node-oapi.yaml
```

## Implementations

- [TypeScript Wrapper](https://www.npmjs.com/package/@chainsafe/eth2.0-api-wrapper)

https://www.npmjs.com/package/@chainsafe/eth2.0-api-wrapper
## Releasing

1. Create and push tag
Expand All @@ -85,4 +80,4 @@ https://www.npmjs.com/package/@chainsafe/eth2.0-api-wrapper
Entry should be in following format(replace `<tag>` with real tag name from step 1.):
```
{url: "./releases/<tag>/beacon-node-oapi.json", name: "<tag>"},
```
```
12 changes: 12 additions & 0 deletions apis/eventstream/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ get:
- attestation
- voluntary_exit
- bls_to_execution_change
- proposer_slashing
- attester_slashing
- finalized_checkpoint
- chain_reorg
- contribution_and_proof
Expand Down Expand Up @@ -63,6 +65,16 @@ get:
value: |
event: voluntary_exit
data: {"message":{"epoch":"1", "validator_index":"1"}, "signature":"0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"}
proposer_slashing:
description: The node has received a ProposerSlashing (from P2P or API) that passes validation rules of the `proposer_slashing` topic
value: |
event: proposer_slashing
data: {"signed_header_1":{"message":{"slot":"0","proposer_index":"0","parent_root":"0x0000000000000000000000000000000000000000000000000000000000000000","state_root":"0x0000000000000000000000000000000000000000000000000000000000000000","body_root":"0x0000000000000000000000000000000000000000000000000000000000000000"},"signature":"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"signed_header_2":{"message":{"slot":"0","proposer_index":"0","parent_root":"0x0000000000000000000000000000000000000000000000000000000000000000","state_root":"0x0000000000000000000000000000000000000000000000000000000000000000","body_root":"0x0000000000000000000000000000000000000000000000000000000000000000"},"signature":"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"}}
attester_slashing:
description: The node has received an AttesterSlashing (from P2P or API) that passes validation rules of the `attester_slashing` topic
value: |
event: attester_slashing
data: {"attestation_1":{"attesting_indices":["0", "1"],"data":{"slot":"0","index":"0","beacon_block_root":"0x0000000000000000000000000000000000000000000000000000000000000000","source":{"epoch":"0","root":"0x0000000000000000000000000000000000000000000000000000000000000000"},"target":{"epoch":"0","root":"0x0000000000000000000000000000000000000000000000000000000000000000"}},"signature":"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},"attestation_2":{"attesting_indices":["0", "1"],"data":{"slot":"0","index":"0","beacon_block_root":"0x0000000000000000000000000000000000000000000000000000000000000000","source":{"epoch":"0","root":"0x0000000000000000000000000000000000000000000000000000000000000000"},"target":{"epoch":"0","root":"0x0000000000000000000000000000000000000000000000000000000000000000"}},"signature":"0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"}}
bls_to_execution_change:
description: The node has received a BLS to execution change (from P2P or API)
value: |
Expand Down
3 changes: 3 additions & 0 deletions apis/validator/aggregate_attestation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ get:
A 503 error must be returned if the block identified by the response
`beacon_block_root` is optimistic (i.e. the aggregated attestation attests
to a block that has not been fully verified by an execution engine).
A 404 error must be returned if no attestation is available for the requested
`attestation_data_root`.
tags:
- ValidatorRequiredApi
- Validator
Expand Down
1 change: 1 addition & 0 deletions types/validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ Aggregate:


SignedAggregateAndProof:
type: object
description: "The [`SignedAggregateAndProof`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/validator.md#signedaggregateandproof) object"
properties:
message:
Expand Down

0 comments on commit e596deb

Please sign in to comment.