Skip to content

Commit

Permalink
fix: restored examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jeluard committed Jan 15, 2024
1 parent 3858d81 commit b51d197
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion apis/validator/beacon_committee_subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ post:
is_aggregator:
type: boolean
description: "Signals to BN that a validator on the VC has been chosen for aggregator role."


responses:
"200":
Expand Down
1 change: 1 addition & 0 deletions types/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ ValidatorStatus:
[Validator status specification](https://hackmd.io/ofFJ5gOmQpu1jjHilHbdQQ)
enum: ["pending_initialized", "pending_queued", "active_ongoing", "active_exiting", "active_slashed", "exited_unslashed", "exited_slashed", "withdrawal_possible", "withdrawal_done"]
example: "active_ongoing"


Committee:
Expand Down
1 change: 1 addition & 0 deletions types/p2p.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ NetworkIdentity:
items:
$ref: "./p2p.yaml#/Multiaddr"
description: "Node's addresses on which is listening for discv5 requests. [Read more](https://docs.libp2p.io/reference/glossary/#multiaddr)"
example: "/ip4/7.7.7.7/udp/30303/p2p/QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N"
metadata:
$ref: "./p2p.yaml#/MetaData"

Expand Down
2 changes: 1 addition & 1 deletion types/primitive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Version:

GenesisTime:
$ref: "./primitive.yaml#/Uint64"
description: "The genesis_time configured for the beacon node, which is the unix time in seconds at which the Eth2.0 chain began."
example: "1590832934"
description: "The genesis_time configured for the beacon node, which is the unix time in seconds at which the Eth2.0 chain began."

Wei:
$ref: "./primitive.yaml#/Uint256"
Expand Down

0 comments on commit b51d197

Please sign in to comment.