Skip to content

Commit e14d40e

Browse files
authored
Update EIP-7251: fix typos
Merged by EIP-Bot.
1 parent 1868f75 commit e14d40e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

EIPS/eip-7251.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The new consolidation request is an [EIP-7685](./eip-7685.md) request with type
6161
2. `source_pubkey`: `Bytes48`
6262
3. `target_pubkey`: `Bytes48`
6363

64-
The [EIP-7685](./eip-7685.md) encoding of a withdrawal request **MUST** be computed as the follows:
64+
The [EIP-7685](./eip-7685.md) encoding of a withdrawal request **MUST** be computed as follows:
6565

6666
```python
6767
encoded = CONSOLIDATION_REQUEST_TYPE ++ rlp([source_address, source_pubkey, target_pubkey])
@@ -88,14 +88,14 @@ Specifically, the functionality is defined in pseudocode as the function `add_co
8888
```python
8989
def add_consolidation_request(Bytes48: source_pubkey, Bytes48: target_pubkey):
9090
"""
91-
Add consolidaiton request adds new request to the consolidation request queue, so long as a sufficient fee is provided.
91+
Add consolidation request adds new request to the consolidation request queue, so long as a sufficient fee is provided.
9292
"""
9393

9494
# Verify sufficient fee was provided.
9595
fee = get_fee()
9696
require(msg.value >= fee, 'Insufficient value for fee')
9797

98-
# Increment consolidaiton request count.
98+
# Increment consolidation request count.
9999
count = sload(CONSOLIDATION_REQUEST_PREDEPLOY_ADDRESS, CONSOLIDATION_REQUEST_COUNT_STORAGE_SLOT)
100100
sstore(CONSOLIDATION_REQUEST_PREDEPLOY_ADDRESS, CONSOLIDATION_REQUEST_COUNT_STORAGE_SLOT, count + 1)
101101

@@ -111,7 +111,7 @@ def add_consolidation_request(Bytes48: source_pubkey, Bytes48: target_pubkey):
111111

112112
###### Fee calculation
113113

114-
The following pseudocode can compute the cost an individual consolidation request, given a certain number of excess consolidation requests.
114+
The following pseudocode can compute the cost of an individual consolidation request, given a certain number of excess consolidation requests.
115115

116116
```python
117117
def get_fee() -> int:
@@ -522,7 +522,7 @@ Address: 0x00b42dbF2194e931E80326D950320f7d9Dbeac02
522522

523523
#### Block processing
524524

525-
At the end of processing any execution block where `block.timestamp >= FORK_TIMESTAMP` (i.e. after processing all transactions and after performing the block body requests validations) clienst software **MUST** take the following steps:
525+
At the end of processing any execution block where `block.timestamp >= FORK_TIMESTAMP` (i.e. after processing all transactions and after performing the block body requests validations) client software **MUST** take the following steps:
526526

527527
1. Call the contract as `SYSTEM_ADDRESS` and empty input data to trigger the system subroutine execute.
528528
2. Check that consolidation requests in the [EIP-7685](./eip-7685.md) requests list matches the list returned from `dequeue_consolidation_requests()` function of the smart contract respecting the order of the returned requests. If this condition does not hold, the block **MUST** be deemed *invalid*.

0 commit comments

Comments
 (0)