-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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: clarification on timeout timestamp #23322
base: main
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughThis pull request introduces enhancements to transaction handling and documentation across multiple files. The changes primarily focus on expanding the Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (2)
docs/learn/advanced/01-transactions.md (1)
152-153
: Fix bullet point formatting.The bullet points for the new fields have incorrect formatting. Add a space after the asterisk for consistency with other bullet points in the list.
Apply this diff to fix the formatting:
-* `TimeoutTimestamp`, timestamp until which the transaction is valid. -* `Unordered`, whether transactions can be executed in any order. Nonce is then unevaluated (NOTE: A timeout timestamp must be set if `Unordered` is true). +* `TimeoutTimestamp`, timestamp until which the transaction is valid. +* `Unordered`, whether transactions can be executed in any order. Nonce is then unevaluated (NOTE: A timeout timestamp must be set if `Unordered` is true).🧰 Tools
🪛 LanguageTool
[uncategorized] ~152-~152: Loose punctuation mark.
Context: ...ansaction is valid. *TimeoutTimestamp
, timestamp until which the transaction i...(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~153-~153: Loose punctuation mark.
Context: ... the transaction is valid. *Unordered
, whether transactions can be executed in...(UNLIKELY_OPENING_PUNCTUATION)
x/auth/README.md (1)
168-168
: Fix bullet point formatting.The bullet point has incorrect formatting. Add a space after the asterisk for consistency with other bullet points in the list.
Apply this diff to fix the formatting:
-* `TxTimeoutHeightDecorator`: Check for a `tx` height timeout or time timeout. +* `TxTimeoutHeightDecorator`: Check for a `tx` height timeout or time timeout.🧰 Tools
🪛 LanguageTool
[uncategorized] ~168-~168: Loose punctuation mark.
Context: ...nil error. *TxTimeoutHeightDecorator
: Check for atx
height timeout or time...(UNLIKELY_OPENING_PUNCTUATION)
📜 Review details
Configuration used: .coderabbit.yml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
docs/learn/advanced/01-transactions.md
(1 hunks)x/auth/README.md
(1 hunks)x/auth/ante/basic.go
(2 hunks)
🧰 Additional context used
📓 Path-based instructions (3)
x/auth/README.md (1)
Pattern **/*.md
: "Assess the documentation for misspellings, grammatical errors, missing documentation and correctness"
docs/learn/advanced/01-transactions.md (1)
Pattern **/*.md
: "Assess the documentation for misspellings, grammatical errors, missing documentation and correctness"
x/auth/ante/basic.go (1)
Pattern **/*.go
: Review the Golang code for conformity with the Uber Golang style guide, highlighting any deviations.
🪛 LanguageTool
x/auth/README.md
[uncategorized] ~168-~168: Loose punctuation mark.
Context: ...nil error. * TxTimeoutHeightDecorator
: Check for a tx
height timeout or time...
(UNLIKELY_OPENING_PUNCTUATION)
docs/learn/advanced/01-transactions.md
[uncategorized] ~152-~152: Loose punctuation mark.
Context: ...ansaction is valid. * TimeoutTimestamp
, timestamp until which the transaction i...
(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~153-~153: Loose punctuation mark.
Context: ... the transaction is valid. * Unordered
, whether transactions can be executed in...
(UNLIKELY_OPENING_PUNCTUATION)
⏰ Context from checks skipped due to timeout of 90000ms (6)
- GitHub Check: tests (00)
- GitHub Check: test-simapp-v2
- GitHub Check: test-system-v2
- GitHub Check: Analyze
- GitHub Check: markdown-link-check
- GitHub Check: Summary
🔇 Additional comments (2)
x/auth/ante/basic.go (2)
220-220
: LGTM! Clear and accurate comment update.The comment now correctly reflects that the decorator checks for both height and timestamp timeouts.
256-257
: LGTM! Well-documented timestamp validation.The added documentation clearly explains the timestamp validation functionality.
Co-authored-by: Alex | Interchain Labs <[email protected]>
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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
x/auth/README.md (1)
168-168
: Fix the extra space after the period.There's an extra space after the period before the bullet point.
-nil error. * `TxTimeoutHeightDecorator`: Check for a `tx` height or time-based timeout. +nil error. * `TxTimeoutHeightDecorator`: Check for a `tx` height or time-based timeout.🧰 Tools
🪛 LanguageTool
[uncategorized] ~168-~168: Loose punctuation mark.
Context: ...nil error. *TxTimeoutHeightDecorator
: Check for atx
height or time-based t...(UNLIKELY_OPENING_PUNCTUATION)
📜 Review details
Configuration used: .coderabbit.yml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
x/auth/README.md
(1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
x/auth/README.md (1)
Pattern **/*.md
: "Assess the documentation for misspellings, grammatical errors, missing documentation and correctness"
🪛 LanguageTool
x/auth/README.md
[uncategorized] ~168-~168: Loose punctuation mark.
Context: ...nil error. * TxTimeoutHeightDecorator
: Check for a tx
height or time-based t...
(UNLIKELY_OPENING_PUNCTUATION)
⏰ Context from checks skipped due to timeout of 90000ms (29)
- GitHub Check: test-x-circuit
- GitHub Check: test-x-tx
- GitHub Check: test-x-accounts-multisig
- GitHub Check: test-x-accounts-lockup
- GitHub Check: test-x-accounts-base
- GitHub Check: test-x-accounts
- GitHub Check: test-store-v2
- GitHub Check: test-store
- GitHub Check: test-log
- GitHub Check: test-hubl
- GitHub Check: test-simapp-v2
- GitHub Check: test-schema-testing
- GitHub Check: test-schema
- GitHub Check: test-orm
- GitHub Check: test-math
- GitHub Check: test-cosmovisor
- GitHub Check: test-confix
- GitHub Check: test-collections-protocodec
- GitHub Check: test-depinject
- GitHub Check: test-coretesting
- GitHub Check: test-system-v2
- GitHub Check: test-integration
- GitHub Check: build (arm64)
- GitHub Check: Analyze
- GitHub Check: build (amd64)
- GitHub Check: golangci-lint
- GitHub Check: markdown-link-check
- GitHub Check: dependency-review
- GitHub Check: Summary
🔇 Additional comments (1)
x/auth/README.md (1)
168-168
: LGTM! Documentation accurately reflects the enhanced functionality.The updated description clearly communicates that the
TxTimeoutHeightDecorator
now checks for both height-based and time-based timeouts.🧰 Tools
🪛 LanguageTool
[uncategorized] ~168-~168: Loose punctuation mark.
Context: ...nil error. *TxTimeoutHeightDecorator
: Check for atx
height or time-based t...(UNLIKELY_OPENING_PUNCTUATION)
Description
Closes: #XXXX
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
in the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
Please see Pull Request Reviewer section in the contributing guide for more information on how to review a pull request.
I have...
Summary by CodeRabbit
Release Notes
New Features
Documentation
Improvements
These updates provide developers with more granular control over transaction timeouts and execution constraints.