Skip to content

Commit 69f0a5a

Browse files
Fixed formatting issues
1 parent e35ddc9 commit 69f0a5a

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

docs/Learn/rev-plus/design.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sidebar_position: 2
1212

1313
Rev+ is implemented as a protocol-level feature integrated directly into the Core blockchain's transaction processing pipeline. The Rev+ model comprises two primary components: an on-chain `configuration` contract and `core chain modifications` that handle the fee distribution logic.
1414

15-
## **Core Components**
15+
## Core Components
1616

1717
### 1. Configuration Contract (`Configuration.sol`)
1818

@@ -46,7 +46,7 @@ Rev+ core chain logic is implemented directly in the Core blockchain's transacti
4646
* **Configuration Sync:** Reads the latest configuration from `Configuration.sol`. Governance updates are reflected immediately in the next processed transaction.
4747
* **Struct Compatibility:** Uses Go-language versions of the same structs as in Solidity, ensuring consistency across layers.
4848

49-
#### **Gas Accounting**
49+
#### Gas Accounting
5050

5151
Rev+ introduces a distinct gas accounting mechanism that preserves Core’s standard 50M gas per block limit while supporting additional gas-based reward distributions.
5252

@@ -56,8 +56,10 @@ Rev+ introduces a distinct gas accounting mechanism that preserves Core’s stan
5656

5757
##### Example
5858

59-
* `block.gasUsed`: 50,000,000 (reported)
60-
* Sum of all `tx.gasUsed`: 150,000,000 (includes 100M for Rev+ rewards)
59+
* `block.gasUsed`: 50,000,000 (reported)
60+
61+
* Sum of all `tx.gasUsed`: 150,000,000 (includes 100M for Rev+ rewards)
62+
6163
* Net effect: The block’s throughput remains stable, while distributed gas is transparently handled post-EVM.
6264

6365
This accounting model ensures that Rev+ can scale with network usage without disrupting validator block production or degrading network performance.
@@ -148,15 +150,15 @@ if rules.IsLondon {
148150
rewardAmount.Mul(rewardAmount, effectiveTipU256) // 10000 * effectiveTip (gasPrice)
149151
```
150152

151-
### 6. Fee Distribution**
153+
### 6. Fee Distribution
152154

153155
* The total distributed reward:
154156
* Is added back to the block’s gas pool.
155157
* Is **not counted** in the `block.gasUsed` field.
156158
* Gas rewards are transferred directly to the configured reward addresses (e.g., DAOs, developers, multisigs, etc).
157159
* Any unused transaction gas is refunded to the sender per standard EVM behavior.
158160

159-
### . Accounting and Compliance
161+
### 7. Accounting and Compliance
160162

161163
* Core enforces the standard **50M gas block limit**, even with Rev+ active.
162164
* While `block.gasUsed` may show 50M, the actual sum of all transaction gas usage (including Rev+ distribution gas) may exceed it.
@@ -232,13 +234,11 @@ recipientAmount = (rewardAmount * rewardPercentage) / DENOMINATOR
232234
* **Transaction Gas**: Individual `tx.gasUsed` includes Rev+ gas
233235
* **Net Effect**: Block can accommodate same transaction count as before Rev+
234236

235-
### **Example Scenario**
237+
### Example Scenario
236238

237-
```math
238239
Block Gas Limit: 50,000,000
239240
Block Gas Used: 50,000,000 (reported)
240241
Actual Transaction Gas Sum: 150,000,000 (includes 100M distributed)
241-
```
242242

243243
## Configuration Lifecycle
244244

@@ -308,7 +308,7 @@ The Rev+ revenue sharing model allows Core DAO, the governing body of the Core b
308308

309309
### Gas Overhead
310310

311-
* Rev+ logic adds minimal computational overhead per transaction
311+
* Rev+ logic adds minimal computational overhead per transaction
312312
* Event signature matching uses efficient hash lookups
313313
* Distribution calculations are simple arithmetic operations
314314

0 commit comments

Comments
 (0)