-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(specs): add missing versioned consts #4054
base: main
Are you sure you want to change the base?
Changes from 9 commits
4f26e6a
be6a63a
e97e996
9d87c1e
bace653
77053b7
39f2644
879a427
08cb556
c5a916d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,11 @@ hardcoded in the application or they are blocked by the `x/paramfilter` module. | |
|
||
## Global parameters | ||
|
||
| Parameter | Default | Summary | Changeable via Governance | | ||
|-------------------|---------|------------------------------------------------------------------------------------------------------------------------|---------------------------| | ||
| MaxBlockSizeBytes | 100MiB | Hardcoded value in CometBFT for the protobuf encoded block. | False | | ||
| MaxSquareSize | 128 | Hardcoded maximum square size determined per shares per row or column for the original data square (not yet extended). | False | | ||
| Parameter | Value | Summary | Changeable via Governance | | ||
|----------------------|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------| | ||
| SquareSizeUpperBound | 128 | Hardcoded maximum square size which limits the number of shares per row or column for the original data square (not yet extended). | False | | ||
| SubtreeRootThreshold | 64 | See [ADR-013](https://github.com/celestiaorg/celestia-app/blob/main/docs/architecture/adr-013-non-interactive-default-rules-for-zero-padding.md) for more details. | False | | ||
| MaxBlockSizeBytes | 100 MiB | Hardcoded value in CometBFT for the protobuf encoded block. | False | | ||
Comment on lines
+13
to
+15
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Parameter naming inconsistency detected - The codebase shows inconsistency between the documented parameter name and its implementation:
🔗 Analysis chainLGTM: Clear and well-documented parameter definitions The changes improve clarity and completeness:
Let's verify the consistency of these parameter names across the codebase: 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify parameter naming consistency across the codebase
# Check for any remaining references to the old MaxSquareSize name
rg "MaxSquareSize" --type go
# Verify SubtreeRootThreshold usage
rg "SubtreeRootThreshold" --type go
# Check for consistent binary unit formatting
rg "MiB" --type md specs/
Length of output: 16613 |
||
|
||
## Module parameters | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think it should be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just marked them deprecated in the most recent commit on this PR. I don't really want to remove them b/c it's breaking.
If you want them to be removed, I can do it in a follow-up PR.