Skip to content

Commit af6affb

Browse files
authored
Fix typos (#5835)
* Fix typos * Update copyright year
1 parent 3d7f634 commit af6affb

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

docs/e2store.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Each entry in the slot index is a fixed-length 8-byte two's complement signed in
137137

138138
Only one entry per slot is supported, meaning that only one canonical history can be indexed this way.
139139

140-
A `SlotIndex` record may appear in a stand-alone file which by convention ends with `.e2i` - in this case, the offset is counted as if the index was appened to its corresponding data file - offsets are thus negative and counted from the end of the data file. In particular, if the index is simply appended to the data file, it does not change in contents.
140+
A `SlotIndex` record may appear in a stand-alone file which by convention ends with `.e2i` - in this case, the offset is counted as if the index was appended to its corresponding data file - offsets are thus negative and counted from the end of the data file. In particular, if the index is simply appended to the data file, it does not change in contents.
141141

142142
### Reading
143143

@@ -219,7 +219,7 @@ The structure of the era file gives it the following properties:
219219
* the indices at the end are fixed-length: they can be used to discover the beginning of an era if the end of it is known
220220
* the start slot field of the state slot index idenfifies which era the group pertains to
221221
* the state in the era file is the end state after having applied all the blocks in the era and, if applicable, the block at the first slot - the `block_roots` entries in the state can be used to discover the digest of the blocks - either to verify the intergrity of the era file or to quickly load block roots without computing them.
222-
* each group in the era file is full, indendent era file - groups can freely be split and combined
222+
* each group in the era file is full, independent era file - groups can freely be split and combined
223223

224224
## Reading era files
225225

research/fakeee.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ proc setupEngineAPI*(server: RpcServer) =
4242

4343
raise (ref InvalidRequest)(
4444
code: engineApiUnknownPayload,
45-
msg: "Unkown payload"
45+
msg: "Unknown payload"
4646
)
4747

4848
# https://github.com/ethereum/execution-apis/blob/v1.0.0-beta.3/src/engine/paris.md#engine_exchangetransitionconfigurationv1

scripts/signers/custom.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/bash
22

3-
# Copyright (c) 2023 Status Research & Development GmbH.
3+
# Copyright (c) 2023-2024 Status Research & Development GmbH.
44
# Licensed under either of:
55
# - Apache License, version 2.0
66
# - MIT license
@@ -34,7 +34,7 @@ KEYSTORES_DIR="${DATA_DIR}/validators_shares/$((SIGNER_NODE_IDX + 1))"
3434
# Here you need to launch your signer server process.
3535
# You must make sure that it will listen on the `$((BASE_REMOTE_SIGNER_PORT + SIGNER_NODE_IDX))` port.
3636
# The new process must be launched in the background.
37-
# Preferrably, you will also create a log file in the `${DATA_DIR}/logs` directory.
37+
# Preferably, you will also create a log file in the `${DATA_DIR}/logs` directory.
3838

3939
# Here is an example way to achieve the above with the web3signer binary:
4040
#

tests/test_beacon_time.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# beacon_chain
2-
# Copyright (c) 2022 Status Research & Development GmbH
2+
# Copyright (c) 2022-2024 Status Research & Development GmbH
33
# Licensed and distributed under either of
44
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
55
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
@@ -21,7 +21,7 @@ suite "Beacon time":
2121
s0.start_beacon_time() == BeaconTime()
2222
s0.sync_committee_period() == SyncCommitteePeriod(0)
2323

24-
# Roundtrip far times we treat these as "Infinitiy"
24+
# Roundtrip far times we treat these as "Infinity"
2525
FAR_FUTURE_SLOT.epoch.start_slot() == FAR_FUTURE_SLOT
2626
FAR_FUTURE_SLOT.sync_committee_period.start_slot() == FAR_FUTURE_SLOT
2727
FAR_FUTURE_EPOCH.start_slot().epoch() == FAR_FUTURE_EPOCH

tests/test_keymanager_api.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ proc startValidatorClient(basePort: int) {.async, thread.} =
332332

333333
const
334334
password = "7465737470617373776f7264f09f9491"
335-
# This is taken from the offical test vectors in test_keystores.nim
335+
# This is taken from the official test vectors in test_keystores.nim
336336
secretBytes = hexToSeqByte "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f"
337337
salt = hexToSeqByte "d4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3"
338338
iv = hexToSeqByte "264daa3f303d7259501c93d997d84fe6"

0 commit comments

Comments
 (0)