Skip to content

Commit

Permalink
Update EIP-7623: Update EIP7623 to reflect correct invalid cost
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
jochem-brouwer authored Dec 10, 2024
1 parent 91f0f0c commit eacc423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EIPS/eip-7623.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ tx.gasUsed = {
)
```

Any transaction with a gas limit below `21000 + TOTAL_COST_FLOOR_PER_TOKEN * tokens_in_calldata` is considered invalid. This limitation exists because transactions must cover the floor price of their calldata without relying on the execution of the transaction. There are valid cases where `gasUsed` will be below this floor price, but the floor price needs to be reserved in the transaction gas limit.
Any transaction with a gas limit below `21000 + TOTAL_COST_FLOOR_PER_TOKEN * tokens_in_calldata` or below it's intrinsic gas cost (take the maximum of these two calculations) is considered invalid. This limitation exists because transactions must cover the floor price of their calldata without relying on the execution of the transaction. There are valid cases where `gasUsed` will be below this floor price, but the floor price needs to be reserved in the transaction gas limit.

## Rationale

Expand Down

0 comments on commit eacc423

Please sign in to comment.