Skip to content

Commit

Permalink
Update EIP-7623: homogenize calculation examples
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
MariusVanDerWijden committed Sep 13, 2024
1 parent 223985b commit 04e762f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EIPS/eip-7623.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ The current formula for determining the gas used per transaction, typically desc
```python
tx.gasused = (
21000 \
+ isContractCreation * (32000 + InitCodeWordGas * words(calldata)) \
+ STANDARD_TOKEN_COST * tokens_in_calldata \
+ evm_gas_used
+ evm_gas_used \
+ isContractCreation * (32000 + InitCodeWordGas * words(calldata))
)
```

Expand Down

0 comments on commit 04e762f

Please sign in to comment.