InjectiveLabs / cw-injective

Apache License 2.0
22 stars 24 forks source link

updated to use injective-core v1.12.1 and the matching cosmos-sdk #218

Closed maxrobot closed 4 months ago

maxrobot commented 4 months ago

Summary by CodeRabbit

coderabbitai[bot] commented 4 months ago

Walkthrough

This update focuses on refining the derivation of traits across various modules in the injective-std package, enhancing serialization and deserialization processes. It introduces new modules like cosmwasm and auction, adjusts existing structures, and improves code readability and organization. Additionally, it includes updates to command snippets in documentation for better utility.

Changes

File Path Change Summary
.../injective-std/Cargo.toml Updated package version from 0.1.6 to 0.1.7.
.../types/cosmos/.../module/v1.rs, .../cosmos/.../v1beta1.rs Modified trait derivations, improved serialization traits handling.
.../types/injective/auction/..., .../injective/insurance/v1beta1.rs, .../injective/tokenfactory/v1beta1.rs Introduced new modules and updated trait derivations, added and modified various structs.
.../types/cosmwasm/... New modules introduced related to CosmWasm functionality.
.../injective-std/README.md, .../injective-std/src/lib.rs Updated command snippets and added compiler directives.

🐰✨📜 In the realm of code where the bytes frolic and play, A rabbit hopped through, tweaking structs on its way. With a whisk of its tail, changes were made, New traits and modules, in the code they laid. Celebrate the updates, for they're crafted so bright, In the burrows of data, they bring new light! 🌟🐇


Recent Review Details **Configuration used: CodeRabbit UI** **Review profile: CHILL**
Commits Files that changed from the base of the PR and between 46df112ac4405fdc0d46da131b5f3e0bfca49707 and 4d808243d9791512b1b0aefa2c08559b99f27a37.
Files selected for processing (1) * packages/injective-std/src/lib.rs (1 hunks)
Files skipped from review due to trivial changes (1) * packages/injective-std/src/lib.rs
---
Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit .` - `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit testing code for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai generate interesting stats about this repository and render them as a table.` - `@coderabbitai show all the console.log statements in this repository.` - `@coderabbitai read src/utils.ts and generate unit testing code.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` 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) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information. - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json` ### Documentation and Community - Visit our [Documentation](https://coderabbit.ai/docs) for detailed information on how to use CodeRabbit. - Join our [Discord Community](https://discord.com/invite/GsXnASn26c) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.