-
Notifications
You must be signed in to change notification settings - Fork 234
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
Problem: latest hermes is not used in integration tests #1315
Conversation
WalkthroughThe changes involve enhancing an IBC (Inter-Blockchain Communication) configuration with an Changes
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 (
|
Signed-off-by: mmsqe <[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.
Review Status
Actionable comments generated: 3
Configuration used: CodeRabbit UI
Files ignored due to path filters (1)
nix/sources.json
is excluded by:!**/*.json
Files selected for processing (3)
- integration_tests/configs/ibc.jsonnet (2 hunks)
- integration_tests/install_hermes.nix (1 hunks)
- nix/default.nix (1 hunks)
Additional comments: 5
integration_tests/install_hermes.nix (2)
- 6-18: The URLs for downloading Hermes binaries are constructed using the version variable, which is good for maintainability. However, ensure that the SHA256 hashes are verified against a trusted source to prevent the risk of downloading compromised binaries.
- 20-21: The error handling for unsupported systems is clear and straightforward. This is a good practice as it provides immediate feedback to the user if their system is not supported.
nix/default.nix (1)
- 42-42: The modification to call
hermes
using the newinstall_hermes.nix
script is aligned with the PR's objective. Ensure that this change has been tested across all supported platforms to verify that Hermes is correctly installed and integrated into the build process.integration_tests/configs/ibc.jsonnet (2)
- 158-160: The addition of
event_source
with abatch_delay
of5000ms
is a clear and straightforward way to configure event handling. Ensure that this delay value has been chosen based on empirical evidence or testing to optimize event sourcing without causing unnecessary delays in the integration tests.- 173-175: The same
event_source
configuration is applied to another gas price setting, maintaining consistency in the handling of events across different configurations. This consistency is good practice, but again, verify that thebatch_delay
value is optimal for this context as well.
👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻
PR Checklist:
make
)make test
)go fmt
)golangci-lint run
)go list -json -m all | nancy sleuth
)Thank you for your code, it's appreciated! :)
Summary by CodeRabbit
New Features
Refactor