Skip to content

Commit

Permalink
Merge branch 'master' into dapplion-patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfyone authored Dec 10, 2023
2 parents b4e59ec + a6a7387 commit 04ae7b3
Show file tree
Hide file tree
Showing 13 changed files with 143 additions and 10 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Spellcheck
on: [push, pull_request, workflow_dispatch]

jobs:
build:
name: Spellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: rojopolis/[email protected]
name: Spellcheck
2 changes: 1 addition & 1 deletion apis/beacon/blocks/blinded_blocks.v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ post:
`BeaconBlock`, and a successful response (20X) only indicates that the broadcast has been
successful. The beacon node is expected to integrate the new block into its state, and
therefore validate the block internally, however blocks which fail the validation are still
broadcast but a different status code is returned (202). Pre-Bellatrix, this endpoint will accept
broadcast but a different status code is returned (202). Before Bellatrix, this endpoint will accept
a `SignedBeaconBlock`. The broadcast behaviour may be adjusted via the `broadcast_validation`
query parameter.
parameters:
Expand Down
2 changes: 1 addition & 1 deletion apis/beacon/blocks/blinded_blocks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ post:
`BeaconBlock`, and a successful response (20X) only indicates that the broadcast has been
successful. The beacon node is expected to integrate the new block into its state, and
therefore validate the block internally, however blocks which fail the validation are still
broadcast but a different status code is returned (202). Pre-Bellatrix, this endpoint will accept
broadcast but a different status code is returned (202). Before Bellatrix, this endpoint will accept
a `SignedBeaconBlock`.
parameters:
- in: header
Expand Down
4 changes: 2 additions & 2 deletions apis/beacon/pool/bls_to_execution_changes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ post:
$ref: '../../../beacon-node-oapi.yaml#/components/schemas/SignedBLSToExecutionChange'
responses:
"200":
description: "Bls to execution changes were all stored to the pool and broadcast on the appropriate subnet."
description: "BLS to execution changes were all stored to the pool and broadcast on the appropriate subnet."
"400":
description: "Errors in one or more bls to execution changes"
description: "Errors in one or more BLS to execution changes"
content:
application/json:
schema:
Expand Down
18 changes: 18 additions & 0 deletions apis/beacon/states/validator_balances.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ get:
example:
code: 400
message: "Invalid state ID: current"
"404":
description: "State not found"
content:
application/json:
schema:
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage"
example:
code: 404
message: "State not found"
"414":
description: "Too many validator IDs"
content:
Expand Down Expand Up @@ -116,5 +125,14 @@ post:
example:
code: 400
message: "Invalid state ID: current"
"404":
description: "State not found"
content:
application/json:
schema:
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage"
example:
code: 404
message: "State not found"
"500":
$ref: '../../../beacon-node-oapi.yaml#/components/responses/InternalError'
2 changes: 1 addition & 1 deletion apis/eventstream/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ get:
ignored by block builders and most other API consumers.
value: |
event: payload_attributes
data: {"version": "capella", "data": {"proposer_index": "123", "proposal_slot": "10", "parent_block_number": "9", "parent_block_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2", "parent_block_hash": "0x9a2fefd2fdb57f74993c7780ea5b9030d2897b615b89f808011ca5aebed54eaf", "payload_attributes": {"timestamp": "123456", "prev_randao": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2", "suggested_fee_recipient": "0x0000000000000000000000000000000000000000", "withdrawals": [{"index": "5", "validator_index": "10", "address": "0x0000000000000000000000000000000000000000", "amount": "15640"}]}}},
data: {"version": "capella", "data": {"proposer_index": "123", "proposal_slot": "10", "parent_block_number": "9", "parent_block_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2", "parent_block_hash": "0x9a2fefd2fdb57f74993c7780ea5b9030d2897b615b89f808011ca5aebed54eaf", "payload_attributes": {"timestamp": "123456", "prev_randao": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2", "suggested_fee_recipient": "0x0000000000000000000000000000000000000000", "withdrawals": [{"index": "5", "validator_index": "10", "address": "0x0000000000000000000000000000000000000000", "amount": "15640"}]}}}
blob_sidecar:
description: The node has received a BlobSidecar (from P2P or API) that passes all gossip validations on the blob_sidecar_{subnet_id} topic
value: |
Expand Down
2 changes: 1 addition & 1 deletion apis/validator/blinded_block.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ get:
Metadata in the response indicates the type of block produced, and the supported types of block
will be added to as forks progress.
Pre-Bellatrix, this endpoint will return a `BeaconBlock`.
Before Bellatrix, this endpoint will return a `BeaconBlock`.
parameters:
- name: slot
in: path
Expand Down
Binary file added dictionary.dic
Binary file not shown.
67 changes: 67 additions & 0 deletions spellcheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
matrix:
- name: markdown
sources:
- '**/*.md|!node_modules/**'
aspell:
lang: en
d: en_US
ignore-case: true
run-together: true
run-together-min: 2
run-together-limit: 256
dictionary:
wordlists:
- wordlist.txt
encoding: utf-8
pipeline:
- pyspelling.filters.markdown:
- pyspelling.filters.html:
comments: false
ignores:
- code
- pre
- name: schemas
sources:
- 'beacon-node-oapi.yaml'
- 'params/**/*.yaml'
- 'types/**/*.yaml'
- 'apis/**/*.yaml'
aspell:
lang: en
d: en_US
ignore-case: true
run-together: true
run-together-min: 2
run-together-limit: 256
dictionary:
wordlists:
- wordlist.txt
encoding: utf-8
pipeline:
- pyspelling.filters.url:
- pyspelling.filters.context:
context_visible_first: true
delimiters:
- open: ''
content: 0x[a-fA-F0-9]+
close: ''
- pyspelling.filters.context:
context_visible_first: true
delimiters:
- open: 'operationId:.*'
close: '$'
- pyspelling.filters.context:
context_visible_first: true
delimiters:
- open: 'example:.*'
close: '$'
- pyspelling.filters.context:
context_visible_first: true
delimiters:
- open: 'title:.*'
close: '$'
- pyspelling.filters.context:
context_visible_first: true
delimiters:
- open: 'data:.*'
close: '$'
4 changes: 2 additions & 2 deletions types/altair/block.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ Altair:
parent_root:
allOf:
- $ref: '../primitive.yaml#/Root'
- description: "The signing merkle root of the parent `BeaconBlock`."
- description: "The signing Merkle root of the parent `BeaconBlock`."
state_root:
allOf:
- $ref: '../primitive.yaml#/Root'
- description: "The tree hash merkle root of the `BeaconState` for the `BeaconBlock`."
- description: "The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`."

BeaconBlockBody:
type: object
Expand Down
2 changes: 1 addition & 1 deletion types/bellatrix/state.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Bellatrix:
$ref: '../validator.yaml#/Validator'
balances:
type: array
description: "Validator balances in gwei. Variable length list, maximum 1099511627776 items"
description: "Validator balances in Gwei. Variable length list, maximum 1099511627776 items"
items:
$ref: '../primitive.yaml#/Uint64'
randao_mixes:
Expand Down
2 changes: 1 addition & 1 deletion types/p2p.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ NetworkIdentity:
items:
allOf:
- $ref: "./p2p.yaml#/Multiaddr"
- description: "Node's addresses on which eth2 rpc requests are served. [Read more](https://docs.libp2p.io/reference/glossary/#multiaddr)"
- description: "Node's addresses on which eth2 RPC requests are served. [Read more](https://docs.libp2p.io/reference/glossary/#multiaddr)"
discovery_addresses:
type: array
items:
Expand Down
37 changes: 37 additions & 0 deletions wordlist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
eth
cli
oapi
redocly
JSON
BN
https
NodeJs
npmjs
npm
TBD
Teku
VC
UI
dev
BLS
SSZ
RANDAO
EIP
el
DVT
MEV
PayloadAttributesV
Gwei
prev
ENR
enr
attnets
trunc
Merkle
RPC
kzg
KZGCommitment
KZGProof
KZGProofs
KZGCommitmentInclusionProof
LMD

0 comments on commit 04ae7b3

Please sign in to comment.