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

Custom Multi Chain Cosmwasm Client, CLI Wallet command enhancement, CLI Multi Env, and bug fixes #117

Merged
merged 18 commits into from
Oct 2, 2024

Conversation

SlayerAnsh
Copy link
Contributor

@SlayerAnsh SlayerAnsh commented Sep 7, 2024

Note - Ignore adocodegen diffs as these are autogerated

ANDRJS

Cosmwasm Client

As there are multiple chains AOS is interacting with, it was hard to manage clients using their own packages specially because it all comes to signer and pubkey. Major refactor is done to CosmWasm Client using by AndromedaClient to support multiple pubkey. With this update, custom packages for terra and archway clients were removed.

Wallet Client

Wallet Client is also updated to now use mnemonic or private key and encrypt it using its own encryption method. This will help clients to use same wallet for multiple chains which was not possible with previous Client. (This feature has more impact on CLI wallet feature which we will discuss below)

Schema Client and GQL Client

Schema client was internally using env variable for fallback which was not visible cleary to library users. Now Andromeda Client needs schema url as constructor.
Gql client is not part of AndromedaClient but it was also using env variable, you can update gql client now using setGQLSdkUri.

Bug Fixes

With latest updates to chains, there were some bugs with msg parsing related to store code mainly. Now with new Cosmwasm client implementation, all messages are wrapped inside there own encoder and we have implemented event parsing logic with all the fallbacks that are needed to support events from multiple chains

CLI

Wallet Command

Wallet command is refactored completely and now supports both mnemonic and private key. In contrast to previous version were you need to store your wallet for each chain, now same wallet can be used for multiple chain. Encryption method for wallet store has been updated (Any suggestion regarding other, more secure encyption method are highly welcomed).

  • wallets recover - Add a wallet with private key(new feature) or mnemonic
  • wallets generate - Generate a new wallet with mnemonic
  • wallets rename - Rename your wallet (New Feature)
  • wallets migrate-legacy - As encryption has been updated, users can use this method to migrate there legacy wallets to new configuration. You cannot use old wallet without migrating
  • wallets reveal - reveal encypted/stored mnemonic or private key (New Feature)
  • wallets autosave - Enable/Disable keychain store for a wallet (New Feature) (Advance Usage)

ENV Command

One of the issues that I personally face with any wallet provider is isolation of different env. I want to use 5-6 testing wallets but don't want to accidently use these for any mainnet stuff. With new env you can isolate your keys and configs inside an env and quickly shift between them.

  • env use - Change env. You can also use this to import new env if your env is not listed
  • env update - Update env fields - gql url, schema url and name
  • env print - show current env config

Chain Command

Updated localchains storage to fix all the local config related bugs. Localchains are also part of env so you can set different chains per env.

  • chain use - Now lists all locally stored chains as well
  • chain set - Can only set locally stored chain. Field name is now a select input
  • chain list - This command only returns locally created chains. Flag would be added in next iterations to show all chains
  • chain new - Added kernel address and coinType field, removed registry address field

Summary by CodeRabbit

Summary by CodeRabbit

  • New Features

    • Introduced a configuration file to manage review processes, allowing for more granular control over which parts of the codebase are subject to review.
    • Added a new configuration structure for changeset management, facilitating version tracking across components.
  • Chores

    • Updated script commands and dependency versions in package.json for improved clarity and compatibility.

@SlayerAnsh SlayerAnsh marked this pull request as draft September 7, 2024 11:51
Copy link

coderabbitai bot commented Sep 7, 2024

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

💤 Files selected but had no reviewable changes (19)
  • packages/andrjs/src/AndromedaClient.ts
  • packages/cli/.gitignore
  • packages/cli/package.json
  • packages/cli/src/config/index.ts
  • packages/cli/src/handlers/ado/common.ts
  • packages/cli/src/handlers/ado/index.ts
  • packages/cli/src/handlers/ado/modules.ts
  • packages/cli/src/handlers/bank.ts
  • packages/cli/src/handlers/chain.ts
  • packages/cli/src/handlers/env/index.ts
  • packages/cli/src/handlers/os/db.ts
  • packages/cli/src/handlers/os/index.ts
  • packages/cli/src/handlers/os/vfs.ts
  • packages/cli/src/handlers/tx.ts
  • packages/cli/src/handlers/user.ts
  • packages/cli/src/handlers/utils.ts
  • packages/cli/src/handlers/wallet.ts
  • packages/cli/src/handlers/wasm.ts
  • packages/cli/src/schema/SchemaPrompt.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The changes include the introduction of a new configuration file for managing review processes, updates to the package.json file for script commands and dependency versions, and the addition of files for changeset management. Key modifications involve path filters for reviews, adjustments to various dependencies, and a structured approach to version tracking within the project.

Changes

Files Change Summary
.coderabbit.yaml, .changeset/pre.json, .changeset/shaggy-carrots-serve.md Introduced configuration for review processes with path filters, and added changeset management structure with version tracking.
package.json Updated script commands, modified rimraf path, and changed dependency versions for @changesets/cli and rimraf. Added updates to pnpm overrides for compatibility.

Sequence Diagram(s)

sequenceDiagram
    participant Developer
    participant ReviewSystem
    participant Codebase

    Developer->>ReviewSystem: Submit changes for review
    ReviewSystem->>Codebase: Apply path filters
    Codebase-->>ReviewSystem: Return relevant changes
    ReviewSystem-->>Developer: Provide review results
Loading

🐇 "In the meadow where code does play,
New filters guide the review each day.
Dependencies updated, paths refined,
A smoother journey for all aligned!
Hops of joy in every line,
Progress blooms, oh how divine!" 🐇


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?

❤️ Share
🪧 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.

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.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 40

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between ffc30d2 and 602931a.

Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing (34)
  • package.json (1 hunks)
  • packages/adocodegen/package.json (1 hunks)
  • packages/adocodegen/src/address-list/1.0.0/AddressListContractTs.client.ts (1 hunks)
  • packages/adocodegen/src/address-list/1.0.0/AddressListContractTs.message-builder.ts (1 hunks)
  • packages/adocodegen/src/address-list/1.0.0/AddressListContractTs.types.ts (1 hunks)
  • packages/adocodegen/src/adodb/1.0.0/AdodbContractTs.client.ts (1 hunks)
  • packages/adocodegen/src/adodb/1.0.0/AdodbContractTs.message-builder.ts (1 hunks)
  • packages/adocodegen/src/adodb/1.0.0/AdodbContractTs.types.ts (1 hunks)
  • packages/adocodegen/src/app-contract/1.0.0/AppContractContractTs.client.ts (1 hunks)
  • packages/adocodegen/src/app-contract/1.0.0/AppContractContractTs.message-builder.ts (1 hunks)
  • packages/adocodegen/src/app-contract/1.0.0/AppContractContractTs.types.ts (1 hunks)
  • packages/adocodegen/src/app-contract/1.0.1/AppContractContractTs.client.ts (1 hunks)
  • packages/adocodegen/src/app-contract/1.0.1/AppContractContractTs.message-builder.ts (1 hunks)
  • packages/adocodegen/src/app-contract/1.0.1/AppContractContractTs.types.ts (1 hunks)
  • packages/adocodegen/src/auction/1.0.0/AuctionContractTs.client.ts (1 hunks)
  • packages/adocodegen/src/auction/1.0.0/AuctionContractTs.message-builder.ts (1 hunks)
  • packages/adocodegen/src/auction/1.0.0/AuctionContractTs.types.ts (1 hunks)
  • packages/adocodegen/src/cross-chain-swap/1.0.0/CrossChainSwapContractTs.client.ts (1 hunks)
  • packages/adocodegen/src/cross-chain-swap/1.0.0/CrossChainSwapContractTs.message-builder.ts (1 hunks)
  • packages/adocodegen/src/cross-chain-swap/1.0.0/CrossChainSwapContractTs.types.ts (1 hunks)
  • packages/adocodegen/src/crowdfund/1.0.0/CrowdfundContractTs.client.ts (1 hunks)
  • packages/adocodegen/src/crowdfund/1.0.0/CrowdfundContractTs.message-builder.ts (1 hunks)
  • packages/adocodegen/src/crowdfund/1.0.0/CrowdfundContractTs.types.ts (1 hunks)
  • packages/adocodegen/src/cw20-exchange/1.0.0/Cw20ExchangeContractTs.client.ts (1 hunks)
  • packages/adocodegen/src/cw20-exchange/1.0.0/Cw20ExchangeContractTs.message-builder.ts (1 hunks)
  • packages/adocodegen/src/cw20-exchange/1.0.0/Cw20ExchangeContractTs.types.ts (1 hunks)
  • packages/adocodegen/src/cw20-staking/1.0.0/Cw20StakingContractTs.client.ts (1 hunks)
  • packages/adocodegen/src/cw20-staking/1.0.0/Cw20StakingContractTs.message-builder.ts (1 hunks)
  • packages/adocodegen/src/cw20-staking/1.0.0/Cw20StakingContractTs.types.ts (1 hunks)
  • packages/adocodegen/src/cw20/1.0.0/Cw20ContractTs.client.ts (1 hunks)
  • packages/adocodegen/src/cw20/1.0.0/Cw20ContractTs.message-builder.ts (1 hunks)
  • packages/adocodegen/src/cw20/1.0.0/Cw20ContractTs.types.ts (1 hunks)
  • packages/adocodegen/src/cw721/1.0.0/Cw721ContractTs.client.ts (1 hunks)
  • packages/adocodegen/src/cw721/1.0.0/Cw721ContractTs.message-builder.ts (1 hunks)
Additional context used
Biome
packages/adocodegen/src/adodb/1.0.0/AdodbContractTs.types.ts

[error] 95-95: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 97-97: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 99-99: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 101-101: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)

packages/adocodegen/src/cross-chain-swap/1.0.0/CrossChainSwapContractTs.message-builder.ts

[error] 9-82: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)


[error] 83-149: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)

packages/adocodegen/src/cross-chain-swap/1.0.0/CrossChainSwapContractTs.types.ts

[error] 35-35: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 122-122: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 124-124: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 126-126: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 128-128: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 130-130: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 132-132: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 134-134: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 136-136: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 138-138: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 146-146: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)

packages/adocodegen/src/address-list/1.0.0/AddressListContractTs.types.ts

[error] 117-117: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 119-119: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 121-121: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 123-123: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 125-125: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 127-127: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 129-129: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 131-131: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 133-133: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 141-141: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)

packages/adocodegen/src/address-list/1.0.0/AddressListContractTs.message-builder.ts

[error] 7-7: Do not shadow the global "Boolean" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)


[error] 9-88: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)


[error] 89-171: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)

packages/adocodegen/src/app-contract/1.0.0/AppContractContractTs.types.ts

[error] 50-50: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 142-142: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 148-148: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 150-150: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 152-152: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 154-154: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 156-156: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 158-158: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 160-160: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 162-162: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 164-164: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 166-166: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 174-174: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)

packages/adocodegen/src/app-contract/1.0.1/AppContractContractTs.types.ts

[error] 50-50: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 142-142: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 148-148: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 150-150: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 152-152: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 154-154: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 156-156: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 158-158: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 160-160: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 162-162: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 164-164: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 166-166: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 174-174: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)

packages/adocodegen/src/cw20-exchange/1.0.0/Cw20ExchangeContractTs.types.ts

[error] 131-131: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 138-138: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 140-140: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 142-142: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 144-144: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 146-146: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 148-148: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 150-150: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 152-152: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 160-160: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 193-193: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)

packages/adocodegen/src/cw20-exchange/1.0.0/Cw20ExchangeContractTs.message-builder.ts

[error] 9-92: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)


[error] 93-183: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)

packages/adocodegen/src/adodb/1.0.0/AdodbContractTs.message-builder.ts

[error] 9-86: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)


[error] 87-206: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)

packages/adocodegen/src/app-contract/1.0.0/AppContractContractTs.message-builder.ts

[error] 7-7: Do not shadow the global "Boolean" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)


[error] 7-7: Do not shadow the global "String" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)


[error] 9-110: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)


[error] 111-209: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)

packages/adocodegen/src/app-contract/1.0.1/AppContractContractTs.message-builder.ts

[error] 7-7: Do not shadow the global "Boolean" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)


[error] 7-7: Do not shadow the global "String" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)


[error] 9-110: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)


[error] 111-209: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)

packages/adocodegen/src/cw20-staking/1.0.0/Cw20StakingContractTs.types.ts

[error] 50-50: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 160-160: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 162-162: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 173-173: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 175-175: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 177-177: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 179-179: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 181-181: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 183-183: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 185-185: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 187-187: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 195-195: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 201-201: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)

packages/adocodegen/src/crowdfund/1.0.0/CrowdfundContractTs.types.ts

[error] 44-44: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 165-165: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 167-167: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 178-178: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 180-180: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 182-182: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 184-184: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 186-186: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 188-188: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 190-190: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 192-192: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 200-200: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 206-206: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 244-244: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)

packages/adocodegen/src/cw20-staking/1.0.0/Cw20StakingContractTs.message-builder.ts

[error] 9-143: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)


[error] 144-255: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)

packages/adocodegen/src/crowdfund/1.0.0/CrowdfundContractTs.message-builder.ts

[error] 7-7: Do not shadow the global "Boolean" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)


[error] 9-165: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)


[error] 166-277: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)

packages/adocodegen/src/auction/1.0.0/AuctionContractTs.types.ts

[error] 225-225: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 227-227: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 229-229: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 231-231: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 233-233: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 235-235: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 237-237: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 239-239: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 247-247: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 253-253: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 272-272: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)

packages/adocodegen/src/cw20/1.0.0/Cw20ContractTs.types.ts

[error] 141-141: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 216-216: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 218-218: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 236-236: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 238-238: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 244-244: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 246-246: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 248-248: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 250-250: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 252-252: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 254-254: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 256-256: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 258-258: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 266-266: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)


[error] 272-272: Don't use '{}' as a type.

Prefer explicitly define the object shape. '{}' means "any non-nullable value".

(lint/complexity/noBannedTypes)

packages/adocodegen/src/cw20/1.0.0/Cw20ContractTs.message-builder.ts

[error] 9-237: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)


[error] 238-387: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)

packages/adocodegen/src/address-list/1.0.0/AddressListContractTs.client.ts

[error] 9-9: Do not shadow the global "Boolean" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)

packages/adocodegen/src/auction/1.0.0/AuctionContractTs.message-builder.ts

[error] 7-7: Do not shadow the global "Boolean" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)


[error] 9-210: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)


[error] 211-411: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)

packages/adocodegen/src/cw721/1.0.0/Cw721ContractTs.message-builder.ts

[error] 7-7: Do not shadow the global "Boolean" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)


[error] 9-233: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)


[error] 234-458: Avoid classes that contain only static members.

Prefer using simple functions instead of classes with only static members.

(lint/complexity/noStaticOnlyClass)

packages/adocodegen/src/app-contract/1.0.0/AppContractContractTs.client.ts

[error] 9-9: Do not shadow the global "Boolean" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)


[error] 9-9: Do not shadow the global "String" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)

packages/adocodegen/src/app-contract/1.0.1/AppContractContractTs.client.ts

[error] 9-9: Do not shadow the global "Boolean" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)


[error] 9-9: Do not shadow the global "String" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)

packages/adocodegen/src/crowdfund/1.0.0/CrowdfundContractTs.client.ts

[error] 9-9: Do not shadow the global "Boolean" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)

packages/adocodegen/src/auction/1.0.0/AuctionContractTs.client.ts

[error] 9-9: Do not shadow the global "Boolean" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)

packages/adocodegen/src/cw721/1.0.0/Cw721ContractTs.client.ts

[error] 9-9: Do not shadow the global "Boolean" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)

Additional comments not posted (30)
packages/adocodegen/package.json (4)

9-11: Approved: New build script.

The addition of the build script to clean the ./dist directory before compiling TypeScript files is a good practice to ensure a clean build environment.


16-16: Approved: Update to files array.

Changing the files array to include ./dist instead of ./src ensures that the distribution files are included in the package, which is appropriate for a TypeScript project where the source files are compiled.


23-26: Approved: Addition of new peer dependencies.

Adding @cosmjs/cosmwasm-stargate, @cosmjs/amino, and type-fest as peer dependencies is appropriate to ensure compatibility and proper functioning of the package with these libraries.


9-11: Verify: Removal of exports field.

The removal of the exports field may affect how the package is consumed. It's important to verify that this change does not disrupt existing module resolution and imports in dependent projects.

Verification successful

No impact from removal of exports field.

The removal of the exports field from the package.json does not appear to affect the codebase, as no imports of the adocodegen package were found. This suggests that the package is not being used elsewhere in the repository.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the impact of removing the exports field on module resolution.

# Test: Search for imports of the adocodegen package in the repository. Expect: No unresolved imports.
rg --type json -A 5 $'import .*adocodegen'

Length of output: 43


Script:

#!/bin/bash
# Description: Verify the impact of removing the exports field on module resolution.

# Test: Search for imports of the adocodegen package across all file types in the repository.
rg 'import .*adocodegen' -A 5

Length of output: 31

package.json (3)

11-11: Approved: Clarified path in collect script.

The modification to specify the path as ./local_libs in the collect script clarifies the target directory, which is a good practice for maintainability and avoiding potential path resolution issues.


18-18: Approved: Updated version of @changesets/cli.

Updating the @changesets/cli dependency to version ^2.27.8 ensures that the project uses the latest compatible version, potentially incorporating bug fixes and new features.


20-20: Approved: Updated version of rimraf.

Updating the rimraf dependency to version ^4.4.1 ensures that the project uses the latest compatible version, potentially incorporating bug fixes and new features.

packages/adocodegen/src/adodb/1.0.0/AdodbContractTs.client.ts (1)

1-358: File review completed.

The AdodbContractTs.client.ts file is well-structured and aligns with its intended functionality. No specific changes or improvements are necessary at this time.

packages/adocodegen/src/cw20-exchange/1.0.0/Cw20ExchangeContractTs.client.ts (4)

10-43: Interface Definition Review: Cw20ExchangeContractTsReadOnlyInterface

The interface is well-defined with clear method signatures that match the expected functionalities for querying contract states. Each method returns a promise, which is appropriate for asynchronous operations.


44-158: Class Implementation Review: Cw20ExchangeContractTsQueryClient

This class correctly implements the Cw20ExchangeContractTsReadOnlyInterface. The constructor and method bindings are properly set up, ensuring that this references are maintained correctly in asynchronous methods. The use of queryContractSmart within each method is consistent and correctly formatted to match the expected contract queries.


159-200: Interface Definition Review: Cw20ExchangeContractTsInterface

The interface is correctly defined with methods that cover various contract operations such as cancelSale, purchase, and receive. Each method signature is clear and includes optional parameters for transaction customization, which is a good practice for flexibility in contract interactions.


201-304: Class Implementation Review: Cw20ExchangeContractTsClient

This class implements the Cw20ExchangeContractTsInterface effectively. The constructor properly initializes the class properties, and the method bindings ensure that this is correctly referenced in asynchronous operations. The use of execute within each method is appropriate for contract interactions, and the handling of default parameters like fee set to "auto" provides good usability for contract function calls.

packages/adocodegen/src/app-contract/1.0.0/AppContractContractTs.client.ts (2)

44-167: Approved: Implementation of AppContractContractTsQueryClient.

The class AppContractContractTsQueryClient correctly implements the read-only interface and uses proper async/await syntax for making smart contract queries. The methods are bound correctly in the constructor, ensuring this context is maintained.


218-342: Approved: Implementation of AppContractContractTsClient.

The class AppContractContractTsClient implements the interface for contract interactions that require signing. It properly handles the execution of contract functions with appropriate parameters and options. The use of async/await and binding in the constructor is correctly done.

packages/adocodegen/src/app-contract/1.0.1/AppContractContractTs.client.ts (2)

44-167: Approved: Implementation of AppContractContractTsQueryClient.

The class AppContractContractTsQueryClient in this version continues to correctly implement the read-only interface with proper async/await syntax for smart contract queries. The methods are appropriately bound in the constructor.


218-342: Approved: Implementation of AppContractContractTsClient.

The class AppContractContractTsClient in this version maintains the correct implementation for contract interactions requiring signing. The execution of contract functions is handled properly with appropriate parameters and options.

packages/adocodegen/src/cw20-staking/1.0.0/Cw20StakingContractTs.client.ts (2)

51-188: Approved: Implementation of Cw20StakingContractTsQueryClient.

The class Cw20StakingContractTsQueryClient correctly implements the read-only interface and uses proper async/await syntax for making smart contract queries. The methods are bound correctly in the constructor, ensuring this context is maintained.


255-415: Approved: Implementation of Cw20StakingContractTsClient.

The class Cw20StakingContractTsClient implements the interface for contract interactions that require signing. It properly handles the execution of contract functions with appropriate parameters and options. The use of async/await and binding in the constructor is correctly done.

packages/adocodegen/src/crowdfund/1.0.0/CrowdfundContractTs.client.ts (1)

10-50: Interface Definition Approved

The CrowdfundContractTsReadOnlyInterface is well-defined with clear method signatures and appropriate asynchronous patterns. Good use of TypeScript features for type safety and readability.

packages/adocodegen/src/cw721/1.0.0/Cw721ContractTs.client.ts (3)

1-9: File Header and Imports Approved

The file header correctly warns against manual modifications, which is essential for auto-generated files. The imports are appropriate for the operations described within the file.

Tools
Biome

[error] 9-9: Do not shadow the global "Boolean" property.

Consider renaming this variable. It's easy to confuse the origin of variables when they're named after a known global.

(lint/suspicious/noShadowRestrictedNames)


112-381: Class Implementation Approved

The Cw721ContractTsQueryClient class is well-implemented. The methods are correctly bound in the constructor to ensure the proper this context, and the use of queryContractSmart for blockchain interactions is appropriate.


500-765: Transactional Class Implementation Approved

The Cw721ContractTsClient class is correctly implemented for handling transactional interactions with the CW721 contract. The methods are comprehensive and use the execute function appropriately for sending transactions.

packages/adocodegen/src/cross-chain-swap/1.0.0/CrossChainSwapContractTs.types.ts (4)

7-7: Type Definitions Approved

The basic type definitions such as Milliseconds, Decimal, AndrAddr, Binary, Uint128, Addr, and ReplyOn are correctly implemented and serve as simple aliases for more complex types.

Also applies to: 8-8, 9-9, 10-10, 52-52, 59-59, 51-51


11-16: Interface InstantiateMsg Approved

The InstantiateMsg interface is well-defined with appropriate types and optional properties, facilitating clear contract instantiation parameters.


60-89: Interfaces PermissioningMessage and Permission Approved

The PermissioningMessage and Permission interfaces are well-structured and provide a comprehensive framework for managing permissions within the contract.


90-105: Interfaces AMPPkt, AMPCtx, and AMPMsg Approved

These interfaces are correctly implemented, providing clear and structured definitions for handling AMP packets within the contract.

packages/adocodegen/src/cw20/1.0.0/Cw20ContractTs.client.ts (1)

73-96: Ensure proper binding of methods in constructor.

The constructor of Cw20ContractTsQueryClient binds numerous methods to ensure they maintain the correct context when called. This is a good practice, especially in TypeScript, to avoid issues with this keyword losing context in callbacks.

packages/adocodegen/src/auction/1.0.0/AuctionContractTs.client.ts (1)

110-134: Ensure proper binding of methods in constructor.

The constructor of AuctionContractTsQueryClient binds numerous methods to ensure they maintain the correct context when called. This is a good practice, especially in TypeScript, to avoid issues with this keyword losing context in callbacks.

packages/adocodegen/src/address-list/1.0.0/AddressListContractTs.types.ts (1)

1-5: Header Comment: Do not modify by hand.

The header comment clearly instructs not to modify the file by hand and to use the code generation tool instead. This is important for maintainability and ensuring that changes are made in the source JSONSchema and not directly in the TypeScript file.

packages/adocodegen/src/auction/1.0.0/AuctionContractTs.message-builder.ts (1)

1-5: Header Comment: Do not modify by hand.

The header comment clearly instructs not to modify the file by hand and to use the code generation tool instead. This is important for maintainability and ensuring that changes are made in the source JSONSchema and not directly in the TypeScript file.

@SlayerAnsh
Copy link
Contributor Author

@coderabbitai resolve

Copy link

coderabbitai bot commented Sep 7, 2024

Actions performed

Comments resolved.

@SlayerAnsh
Copy link
Contributor Author

@coderabbitai review

Copy link

coderabbitai bot commented Sep 7, 2024

Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@SlayerAnsh
Copy link
Contributor Author

Please ignore change requests for adocodegen packages, they are autogenerated.

Copy link

@coderabbitai coderabbitai bot left a 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.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 602931a and a00d843.

Files ignored due to path filters (2)
  • packages/gql/package.json is excluded by !packages/gql/**
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing (2)
  • .coderabbit.yaml (1 hunks)
  • package.json (1 hunks)
Files skipped from review due to trivial changes (1)
  • .coderabbit.yaml
Additional comments not posted (6)
package.json (6)

11-11: Clarification of path in script command approved.

The addition of ./ before local_libs in the rimraf command clarifies the relative path, which is a good practice to ensure the command behaves as expected in different execution contexts.


18-18: Dependency update approved.

Updating @changesets/cli from ^2.26.2 to ^2.27.8 is likely to include bug fixes and minor features, which can improve stability and functionality.


20-20: Patch update to dependency approved.

The update of rimraf from ^4.4.0 to ^4.4.1 is a patch level change, typically addressing bug fixes, which is beneficial for maintaining the stability of the package.


30-30: Override update for follow-redirects approved.

Specifying "follow-redirects@<=1.15.5": ">=1.15.6" ensures that versions lower than 1.15.6 are not used, likely addressing important bug fixes or security patches.


31-31: Override update for braces approved.

The specification "braces@<3.0.3": ">=3.0.3" ensures that only versions 3.0.3 or newer are used, likely for compatibility or security improvements.


32-33: Override updates for ws and micromatch approved.

The specifications "ws@>=7.0.0 <7.5.10": ">=7.5.10" and "micromatch@<4.0.8": ">=4.0.8" ensure that only newer versions are used, likely addressing compatibility, performance, or security concerns.

@SlayerAnsh SlayerAnsh marked this pull request as ready for review September 8, 2024 19:05
Copy link

@coderabbitai coderabbitai bot left a 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.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between a00d843 and dae3c02.

Files ignored due to path filters (2)
  • packages/gql/CHANGELOG.md is excluded by !packages/gql/**
  • packages/gql/package.json is excluded by !packages/gql/**
Files selected for processing (2)
  • .changeset/pre.json (1 hunks)
  • .changeset/shaggy-carrots-serve.md (1 hunks)
Files skipped from review due to trivial changes (2)
  • .changeset/pre.json
  • .changeset/shaggy-carrots-serve.md

Copy link
Contributor

@leifasorensen leifasorensen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This merge is primarily focused on the updated releases for GraphQL and AndromedaJS and their updates and bug resolutions. These two will be pushed out through the dependency based apps. (CLI release is slated for later, and overlap is discussed in FW section below).

Future Work:
Some additional changes are slated for the CLI (and should be completed in the near future).

@leifasorensen leifasorensen merged commit 2e3c35c into development Oct 2, 2024
1 check passed
@leifasorensen leifasorensen deleted the feat/wallet-and-eth-cosmos-refactor branch October 2, 2024 14:55
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.

2 participants