Skip to content

Commit

Permalink
Remove artifact - brackets
Browse files Browse the repository at this point in the history
More fixes
  • Loading branch information
SiddharthV1 committed May 3, 2024
1 parent 3e2a4fb commit 478645b
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions docs/wiki/EL/el-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,24 +187,24 @@ The execution layer has its own consensus engine to work with its own copy of th

| | EELS(cancun) | Geth | Reth | Erigon | Nethermind | Besu |
| ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- | ---- | ------ | ---------- | ---- |
| $(V(H) \equiv H_{gasUsed} \leq H_{gasLimit})$ | [validate_header](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L294) | | | | | |
| $(H_{gasLimit} < P(H)_{H_{gasLimit'}} + floor(\frac{P(H)_{H_{gasLimit'}}}{1024} ) )$ | validate_header -> calculate_base_fee_per_gas -> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L256) | | | | | |
| $(H_{gasLimit} > P(H)_{H_{gasLimit'}} - floor(\frac{P(H)_{H_{gasLimit'}}}{1024} ) )$ | '' | | | | | |
| $(H_{gasLimit} > 5000)$ | calculate_base_fee_per_gas -> [check_gas_limit](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L1132) | | | | | |
| $(H_{timeStamp} > P(H)_{H_{timeStamp'}} )$ | validate_header-> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L323) | | | | | |
| $(H_{numberOfAncestors} = P(H)_{H_{numberOfAncestors'}} + 1 )$ | validate_header-> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L324) | | | | | |
| $(length(H_{extraData}) \leq 32_{bytes} )$ | validate_header-> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L325) | | | | | |
| $(H_{baseFeePerGas} = F(H) )$ | | | | | | |
| $(H_{parentHash} = KEC(RLP( P(H)_H )) )$ | validate_header-> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L332) | | | | | |
| $(H_{ommersHash} = KEC(RLP(())) )$ | validate_header-> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L329) | | | | | |
| $(H_{difficulty} = 0 )$ | validate_header-> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L327) | | | | | |
| $(H_{nonce} = 0x0000000000000000 )$ | validate_header-> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L328) | | | | | |
| $(H_{prevRandao} = PREVRANDAO() )$ (this is stale , beacon chain provides this now) | | | | | | |
| $(H_{withdrawlsHash} \neq nil )$ | | | | | | |
| $(H_{blobGasUsed} \neq nil )$ | | | | | | |
| $(H_{blobGasUsed} \leq MaxBlobGasPerBlock_{=786432} )$ | | | | | | |
| $(H_{blobGasUsed} \% GasPerBlob_{=2^{17}} = 0 )$ | | | | | | |
| $(H_{excessBlobGas} = CalcExcessBlobGas(P(H)_H) )$ | [ensure ](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L187) | | | | | |
| $V(H) \equiv H_{gasUsed} \leq H_{gasLimit}$ | [validate_header](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L294) | | | | | |
| $H_{gasLimit} < P(H)_{H_{gasLimit'}} + floor(\frac{P(H)_{H_{gasLimit'}}}{1024} ) $ | validate_header -> calculate_base_fee_per_gas -> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L256) | | | | | |
| $H_{gasLimit} > P(H)_{H_{gasLimit'}} - floor(\frac{P(H)_{H_{gasLimit'}}}{1024} ) $ | '' | | | | | |
| $H_{gasLimit} > 5000$ | calculate_base_fee_per_gas -> [check_gas_limit](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L1132) | | | | | |
| $H_{timeStamp} > PH)_{H_{timeStamp'}} $ | validate_header-> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L323) | | | | | |
| $H_{numberOfAncestors} = PH)_{H_{numberOfAncestors'}} + 1 )$ | validate_header-> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L324) | | | | | |
| $length(H_{extraData}) \leq 32_{bytes} $ | validate_header-> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L325) | | | | | |
| $H_{baseFeePerGas} = F(H) $ | | | | | | |
| $H_{parentHash} = KEC(RLP( P(H)_H )) $ | validate_header-> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L332) | | | | | |
| $H_{ommersHash} = KEC(RLP(())) $ | validate_header-> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L329) | | | | | |
| $H_{difficulty} = 0 $ | validate_header-> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L327) | | | | | |
| $H_{nonce} = 0x0000000000000000 $ | validate_header-> [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L328) | | | | | |
| $H_{prevRandao} = PREVRANDAO() $ (this is stale , beacon chain provides this now) | | | | | | |
| $H_{withdrawlsHash} \neq nil $ | | | | | | |
| $H_{blobGasUsed} \neq nil $ | | | | | | |
| $H_{blobGasUsed} \leq MaxBlobGasPerBlock_{=786432} $ | | | | | | |
| $H_{blobGasUsed} \% GasPerBlob_{=2^{17}} = 0 $ | | | | | | |
| $H_{excessBlobGas} = CalcExcessBlobGas(P(H)_H) $ | [ensure](https://github.com/ethereum/execution-specs/blob/9fc7925c80ff2f3949e1cc340a4a0d36fcd4161c/src/ethereum/cancun/fork.py#L187) | | | | | |

### Downloader

Expand Down

0 comments on commit 478645b

Please sign in to comment.