Closed sainoe closed 4 days ago
The changes involve adjusting the indices of error constants in the errors.go
file in the x/ccv/provider/types
package. This affects the numerical values associated with specific error messages, which include ErrInvalidConsumerModificationProposal
, ErrNoUnbondingTime
, ErrInvalidAddress
, ErrUnauthorized
, and ErrBlankConsumerChainID
. These alterations ensure that the error constants are correctly indexed for their respective messages.
File | Change Summary |
---|---|
x/ccv/provider/types/errors.go |
Adjusted the indices of ErrInvalidConsumerModificationProposal , ErrNoUnbondingTime , ErrInvalidAddress , ErrUnauthorized , and ErrBlankConsumerChainID by decrementing each by 1. |
[!TIP]
Early access features: enabled
We are currently testing the following features in early access: - **OpenAI `gpt-4o` model for code reviews and chat**: OpenAI claims that this model is better at understanding and generating code than the previous models. We seek your feedback over the next few weeks before making it generally available. Note: - You can enable or disable early access features from the CodeRabbit UI or by updating the CodeRabbit configuration file. - Please join our [Discord Community](https://discord.com/invite/GsXnASn26c) to provide feedback and report issues. - OSS projects are currently opted into early access features by default.
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?
Yes, our tests rarely check error codes. In this case, it could have been state-breaking to have a different code for ErrInvalidConsumerModificationProposal
in v5.1.x and v4.3.x.
Please go to the
Preview
tab and select the appropriate sub-template:fix
,feat
, andrefactor
.Summary by CodeRabbit