-
Notifications
You must be signed in to change notification settings - Fork 10
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
fix(unjail): fix the issue regarding unjail failed #184
fix(unjail): fix the issue regarding unjail failed #184
Conversation
WalkthroughThe changes involve updates to the Changes
Poem
Tip New review modelWe have updated our review workflow to use the Anthropic's Claude family of models. Please share any feedback in the discussion post on our Discord. New featuresWalkthrough comment now includes:
Notes:
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
CodeRabbit Configuration 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: CHILL
Files selected for processing (2)
- x/dogfood/keeper/impl_sdk.go (1 hunks)
- x/operator/keeper/usd_value.go (3 hunks)
Additional comments not posted (4)
x/dogfood/keeper/impl_sdk.go (1)
149-149
: LGTM, but verify the impact on delegation operations.The change to exclude revision information from the chain ID when retrieving or calculating operator USD values is approved.
However, ensure that this change is thoroughly tested to confirm that it behaves as expected and does not introduce any unintended side effects or bugs related to the delegation operations, particularly in scenarios where the revision aspect of the chain ID is significant.
Run the following script to verify the delegation operations:
x/operator/keeper/usd_value.go (3)
232-236
: LGTM!The change to rename the parameter
chainID
tochainIDWithoutRevision
in theGetVotePowerForChainID
function is approved.This enhances clarity regarding the nature of the chain ID being processed, indicating that it does not include revision information. The accompanying update to the error message when the chain ID is determined to be unknown aligns with this change.
253-256
: LGTM!The change to rename the parameter
chainID
tochainIDWithoutRevision
in theGetOperatorAssetValue
function is approved.This enhances clarity regarding the nature of the chain ID being processed, indicating that it does not include revision information. The accompanying update to the error message when the chain ID is determined to be unknown aligns with this change.
348-352
: LGTM!The change to rename the parameter
chainID
tochainIDWithoutRevision
in theGetOrCalculateOperatorUSDValues
function is approved.This enhances clarity regarding the nature of the chain ID being processed, indicating that it does not include revision information. The accompanying update to the error message when the chain ID is determined to be unknown aligns with this change.
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: CHILL
Files selected for processing (2)
- Dockerfile (1 hunks)
- networks/local/exocore/Dockerfile (1 hunks)
Files skipped from review due to trivial changes (2)
- Dockerfile
- networks/local/exocore/Dockerfile
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.
it looks good.
Test passed. successfully sending a unjail tx.
|
Description
The unjail operation will fail because the input chainID isn't ChainIDWithoutRevision, which results in an incorrect dogfood AVS address being generated.
Summary by CodeRabbit
New Features
Bug Fixes
Chores
curl
package version in Dockerfiles to ensure the use of a more recent version, potentially introducing bug fixes or new features.