-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: clarify unit for global min gas price (#3227)
It wasn't immediately obvious what the unit is for GlobalMinGasPrice: utia or tia. This PR clarifies that the unit is utia. Motivation: [Slack thread](https://celestia-team.slack.com/archives/C0358RKE6KW/p1711988967258639?thread_ts=1711982699.253989&cid=C0358RKE6KW).
- Loading branch information
Showing
3 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
package v2 | ||
|
||
const ( | ||
Version uint64 = 2 | ||
SquareSizeUpperBound int = 128 | ||
SubtreeRootThreshold int = 64 | ||
GlobalMinGasPrice float64 = 0.002 // same as DefaultMinGasPrice | ||
Version uint64 = 2 | ||
SquareSizeUpperBound int = 128 | ||
SubtreeRootThreshold int = 64 | ||
// GlobalMinGasPrice is used by x/minfee to prevent transactions from being | ||
// included in a block if they specify a gas price lower than this | ||
// parameter. GlobalMinGasPrice == DefaultMinGasPrice. | ||
GlobalMinGasPrice float64 = 0.002 // utia | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters