Skip to content

Commit

Permalink
update spec version to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetrunic committed Mar 31, 2021
1 parent 5c92847 commit ae9cebe
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion beacon-node-oapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ info:
In addition, some request can return data in the SSZ format.
To indicate that SSZ data is required in response to a request the header "Accept: application/octet-stream" should be sent.
Note that only a subset of requests can respond with data in SSZ format; these are noted in each individual request.
version: "Dev - Eth2Spec v0.12.2"
version: "V1 - Eth2Spec v1.0.1"
contact:
name: Ethereum Github
url: https://github.com/ethereum/eth2.0-apis/issues
Expand Down
8 changes: 4 additions & 4 deletions types/attestation.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
IndexedAttestation:
type: object
description: "The [`IndexedAttestation`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#indexedattestation) object from the Eth2.0 spec."
description: "The [`IndexedAttestation`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#indexedattestation) object from the Eth2.0 spec."
properties:
attesting_indices:
type: array
Expand All @@ -17,7 +17,7 @@ IndexedAttestation:

Attestation:
type: object
description: "The [`Attestation`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#attestation) object from the Eth2.0 spec."
description: "The [`Attestation`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#attestation) object from the Eth2.0 spec."
properties:
aggregation_bits:
type: string
Expand All @@ -33,7 +33,7 @@ Attestation:

PendingAttestation:
type: object
description: "The [`PendingAttestation`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#pendingattestation) object from the Eth2.0 spec."
description: "The [`PendingAttestation`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#pendingattestation) object from the Eth2.0 spec."
properties:
aggregation_bits:
type: string
Expand All @@ -48,7 +48,7 @@ PendingAttestation:

AttestationData:
type: object
description: "The [`AttestationData`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#attestationdata) object from the Eth2.0 spec."
description: "The [`AttestationData`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#attestationdata) object from the Eth2.0 spec."
properties:
slot:
$ref: "./primitive.yaml#/Uint64"
Expand Down
2 changes: 1 addition & 1 deletion types/attester_slashing.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
AttesterSlashing:
type: object
description: "The [`AttesterSlashing`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/core/0_beacon-chain.md#attesterslashing) object from the Eth2.0 spec."
description: "The [`AttesterSlashing`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/core/0_beacon-chain.md#attesterslashing) object from the Eth2.0 spec."
properties:
attestation_1:
$ref: './attestation.yaml#/IndexedAttestation'
Expand Down
10 changes: 5 additions & 5 deletions types/block.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ BeaconBlockCommon:

BeaconBlockBody:
type: object
description: "The [`BeaconBlockBody`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#beaconblockbody) object from the Eth2.0 spec."
description: "The [`BeaconBlockBody`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#beaconblockbody) object from the Eth2.0 spec."
properties:
randao_reveal:
allOf:
Expand Down Expand Up @@ -55,7 +55,7 @@ BeaconBlockBody:


BeaconBlock:
description: "The [`BeaconBlock`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#beaconblock) object from the Eth2.0 spec."
description: "The [`BeaconBlock`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#beaconblock) object from the Eth2.0 spec."
allOf:
- $ref: '#/BeaconBlockCommon'
- type: object
Expand All @@ -65,15 +65,15 @@ BeaconBlock:

SignedBeaconBlock:
type: object
description: "The [`SignedBeaconBlock`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the Eth2.0 spec."
description: "The [`SignedBeaconBlock`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the Eth2.0 spec."
properties:
message:
$ref: "#/BeaconBlock"
signature:
$ref: "./primitive.yaml#/Signature"

BeaconBlockHeader:
description: "The [`BeaconBlockHeader`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#beaconblockheader) object from the Eth2.0 spec."
description: "The [`BeaconBlockHeader`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#beaconblockheader) object from the Eth2.0 spec."
allOf:
- $ref: './block.yaml#/BeaconBlockCommon'
- type: object
Expand All @@ -85,7 +85,7 @@ BeaconBlockHeader:

SignedBeaconBlockHeader:
type: object
description: "The [`SignedBeaconBlockHeader`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the Eth2.0 spec."
description: "The [`SignedBeaconBlockHeader`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the Eth2.0 spec."
properties:
message:
$ref: "./block.yaml#/BeaconBlockHeader"
Expand Down
4 changes: 2 additions & 2 deletions types/deposit.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Deposit:
type: object
description: "The [`Deposit`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#deposit) object from the Eth2.0 spec."
description: "The [`Deposit`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#deposit) object from the Eth2.0 spec."
properties:
proof:
type: array
Expand All @@ -14,7 +14,7 @@ Deposit:
$ref: './deposit.yaml#/DepositData'
DepositData:
type: object
description: "The [`DepositData`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#depositdata) object from the Eth2.0 spec."
description: "The [`DepositData`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#depositdata) object from the Eth2.0 spec."
properties:
pubkey:
$ref: './primitive.yaml#/Pubkey'
Expand Down
2 changes: 1 addition & 1 deletion types/eth1.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Eth1Data:
type: object
description: "The [`Eth1Data`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#eth1data) object from the Eth2.0 spec."
description: "The [`Eth1Data`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#eth1data) object from the Eth2.0 spec."
properties:
deposit_root:
allOf:
Expand Down
4 changes: 2 additions & 2 deletions types/misc.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Fork:
type: object
description: "The [`Fork`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#fork) object from the Eth2.0 spec."
description: "The [`Fork`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#fork) object from the Eth2.0 spec."
properties:
previous_version:
$ref: "./primitive.yaml#/ForkVersion"
Expand All @@ -11,7 +11,7 @@ Fork:

Checkpoint:
type: object
description: "The [`Checkpoint`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#checkpoint"
description: "The [`Checkpoint`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#checkpoint"
properties:
epoch:
$ref: "./primitive.yaml#/Uint64"
Expand Down
2 changes: 1 addition & 1 deletion types/p2p.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ NetworkIdentity:

MetaData:
type: object
description: "Based on eth2 [Metadata object](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/p2p-interface.md#metadata)"
description: "Based on eth2 [Metadata object](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/p2p-interface.md#metadata)"
properties:
seq_number:
allOf:
Expand Down
2 changes: 1 addition & 1 deletion types/proposer_slashing.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ProposerSlashing:
type: object
description: "The [`ProposerSlashing`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#proposerslashing) object from the Eth2.0 spec."
description: "The [`ProposerSlashing`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#proposerslashing) object from the Eth2.0 spec."
properties:
signed_header_1:
$ref: './block.yaml#/SignedBeaconBlockHeader'
Expand Down
2 changes: 1 addition & 1 deletion types/state.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BeaconState:
type: object
description: "The [`BeaconState`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#beaconblock) object from the Eth2.0 spec."
description: "The [`BeaconState`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#beaconblock) object from the Eth2.0 spec."
properties:
genesis_time:
$ref: "./primitive.yaml#/Uint64"
Expand Down
4 changes: 2 additions & 2 deletions types/validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ AggregateAndProof:

Aggregate:
type: object
description: "The [`AggregateAndProof`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/validator.md#aggregateandproof) without selection_proof"
description: "The [`AggregateAndProof`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/validator.md#aggregateandproof) without selection_proof"
properties:
aggregator_index:
$ref: './primitive.yaml#/Uint64'
Expand All @@ -95,7 +95,7 @@ Aggregate:


SignedAggregateAndProof:
description: "The [`SignedAggregateAndProof`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/validator.md#signedaggregateandproof) object"
description: "The [`SignedAggregateAndProof`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/validator.md#signedaggregateandproof) object"
properties:
message:
$ref: "#/AggregateAndProof"
Expand Down
4 changes: 2 additions & 2 deletions types/voluntary_exit.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VoluntaryExit:
type: object
description: "The [`VoluntaryExit`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#voluntaryexit) object from the Eth2.0 spec."
description: "The [`VoluntaryExit`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#voluntaryexit) object from the Eth2.0 spec."
properties:
epoch:
allOf:
Expand All @@ -13,7 +13,7 @@ VoluntaryExit:

SignedVoluntaryExit:
type: object
description: "The [`SignedVoluntaryExit`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the Eth2.0 spec."
description: "The [`SignedVoluntaryExit`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the Eth2.0 spec."
properties:
message:
$ref: "#/VoluntaryExit"
Expand Down
2 changes: 1 addition & 1 deletion validator-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Result are array of objects with validator, his committee and attestation slot.

Attesting:
1. Upon receiving duty, have beacon node prepare committee subnet
- [Check if aggregator by computing `slot_signature`](https://github.com/ethereum/eth2.0-specs/blob/v0.12.2/specs/phase0/validator.md#attestation-aggregation)
- [Check if aggregator by computing `slot_signature`](https://github.com/ethereum/eth2.0-specs/blob/v1.0.1/specs/phase0/validator.md#attestation-aggregation)
- [Ask beacon node to prepare your subnet](#/ValidatorRequiredApi/prepareBeaconCommitteeSubnet)
-- Note, validator client only needs to submit one call to
`prepareBeaconCommitteeSubnet` per committee/slot its validators have
Expand Down

0 comments on commit ae9cebe

Please sign in to comment.