Skip to content
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

Chore/prepare for release #92

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Chore/prepare for release #92

merged 2 commits into from
Nov 13, 2024

Conversation

mantricjavier
Copy link
Collaborator

@mantricjavier mantricjavier commented Nov 13, 2024

Description and Motivation

Bump contract versions for initial release.

Related Issues


Checklist:

  • I have read MANTRA's contribution guidelines.
  • My pull request has a sound title and description (not something vague like Update index.md)
  • All existing and new tests are passing.
  • I updated/added relevant documentation.
  • The code is formatted properly cargo fmt --all --.
  • Clippy doesn't report any issues cargo clippy -- -D warnings.
  • I have regenerated the schemas if needed with just schemas.

Summary by CodeRabbit

Release Notes

  • New Features

    • Major version updates for multiple packages, indicating significant enhancements in functionality.
    • Expanded schema for the pool-manager contract, introducing new message types for executing various operations (e.g., creating pools, providing liquidity).
    • New response types defined for improved data retrieval in the pool-manager contract.
  • Bug Fixes

    • Updated naming conventions for contract names across multiple packages to ensure consistency.
  • Documentation

    • Enhanced clarity in the pool-manager schema definitions, improving interaction with the contract.

Copy link

coderabbitai bot commented Nov 13, 2024

Walkthrough

The pull request includes major version updates for multiple Rust package contracts, changing their version numbers from lower to 1.0.0. Alongside these updates, the constant CONTRACT_NAME for each contract has been modified to reflect a new naming convention. The core functionalities of the contracts, including their instantiate, execute, query, and migrate functions, remain largely unchanged, with no significant alterations to their logic or control flow.

Changes

File Path Change Summary
contracts/epoch-manager/Cargo.toml Updated version from 0.1.2 to 1.0.0.
contracts/epoch-manager/src/contract.rs Updated CONTRACT_NAME from "mantra_epoch-manager" to "mantra:epoch-manager".
contracts/farm-manager/Cargo.toml Updated version from 0.1.6 to 1.0.0.
contracts/farm-manager/src/contract.rs Updated CONTRACT_NAME from "mantra_farm-manager" to "mantra:farm-manager".
contracts/fee-collector/Cargo.toml Updated version from 0.1.0 to 1.0.0.
contracts/fee-collector/src/contract.rs Updated CONTRACT_NAME from "mantra_fee-collector" to "mantra:fee-collector".
contracts/pool-manager/Cargo.toml Updated version from 0.1.5 to 1.0.0.
contracts/pool-manager/schema/pool-manager.json Updated contract version from 0.1.5 to 1.0.0, added new message types and response types.
contracts/pool-manager/src/contract.rs Updated CONTRACT_NAME from "mantra_pool-manager" to "mantra:pool-manager".

Poem

In the meadow where contracts play,
Names have changed in a whimsical way.
From mantra_farm to mantra:farm,
A hop and a skip, with no cause for alarm.
Versions rise like the sun above,
Celebrating changes, we dance with love! 🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 0c53368 and 44ea9d4.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (9)
  • contracts/epoch-manager/Cargo.toml (1 hunks)
  • contracts/epoch-manager/src/contract.rs (1 hunks)
  • contracts/farm-manager/Cargo.toml (1 hunks)
  • contracts/farm-manager/src/contract.rs (1 hunks)
  • contracts/fee-collector/Cargo.toml (1 hunks)
  • contracts/fee-collector/src/contract.rs (1 hunks)
  • contracts/pool-manager/Cargo.toml (1 hunks)
  • contracts/pool-manager/schema/pool-manager.json (1 hunks)
  • contracts/pool-manager/src/contract.rs (1 hunks)

Note

🎁 Summarized by CodeRabbit Free

Your organization has reached its limit of developer seats under the Pro Plan. For new users, CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please add seats to your subscription by visiting https://app.coderabbit.ai/login.

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • 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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @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.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration 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 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 for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@mantricjavier mantricjavier force-pushed the chore/prepare-for-release branch from 691b179 to 44ea9d4 Compare November 13, 2024 12:34
Copy link

Schema generation had missing jobs:

contracts/pool-manager/schema/pool-manager.json

Please run just schemas locally and upload the generated schemas.

@mantricjavier mantricjavier merged commit aede04a into main Nov 13, 2024
4 checks passed
@mantricjavier mantricjavier deleted the chore/prepare-for-release branch November 13, 2024 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant