-
Notifications
You must be signed in to change notification settings - Fork 129
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
tests for other scenarios #1477
Conversation
Signed-off-by: nidhi-singh02 <trippin@berachain.com>
Warning Review failedThe pull request is closed. WalkthroughThe changes introduce updates to commit hashes for the Changes
Sequence Diagram(s)Silently skipped. Poem
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 as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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
Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Files selected for processing (4)
- contracts/lib/forge-std (1 hunks)
- contracts/lib/solady (1 hunks)
- mod/consensus-types/pkg/types/block_test.go (1 hunks)
- mod/engine-primitives/pkg/engine-primitives/requests_test.go (2 hunks)
Additional comments not posted (4)
contracts/lib/forge-std (1)
1-1
: Update toforge-std
subproject commit hash approved.contracts/lib/solady (1)
1-1
: Update tosolady
subproject commit hash approved.mod/engine-primitives/pkg/engine-primitives/requests_test.go (2)
149-158
: The new test functionTestBuildGetPayloadRequest
correctly sets up and asserts the properties of a payload request. Well done on maintaining thorough checks.
160-160
: Renaming and refactoring of test functions to more accurately describe their purpose is a good practice. Ensure that all related documentation and any dependent scripts or tools are updated to reflect the new test function names.Also applies to: 177-191
Verification successful
The search results indicate that the old test function name
TestHasValidVersionedAndBlockHashesError
is no longer present, and the new nameTestHasValidVersionedAndBlockHashesPayloadError
is correctly used in the test file. There are no occurrences of the old name in the broader set of file types checked.
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all documentation and scripts for updated test names. # Test: Search for old test function names in documentation and scripts. Expect: No occurrences. rg --type md --type sh 'TestHasValidVersionedAndBlockHashesError|TestHasValidVersionedAndBlockHashesPayloadError'Length of output: 115
Script:
#!/bin/bash # Description: Verify all documentation and scripts for updated test names. # Test: Search for old test function names in a broader set of file types. Expect: No occurrences. rg --type md --type sh --type go --type yaml --type json 'TestHasValidVersionedAndBlockHashesError|TestHasValidVersionedAndBlockHashesPayloadError'Length of output: 279
Summary by CodeRabbit
Tests
BeaconBlock
to check for nil instances.engine-primitives
package.Chores
forge-std
andsolady
libraries.