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

Mattupham/fe 1077 v26 fe tasks #3843

Merged
merged 18 commits into from
Sep 18, 2024
Merged

Conversation

mattupham
Copy link
Contributor

@mattupham mattupham commented Sep 13, 2024

What is the purpose of the change:

  • tasks for the FE for the v26 release

Linear Task

https://linear.app/osmosis/issue/FE-1077/v26-fe-tasks

Brief Changelog

  • update OSMOSIS_COMMIT_HASH
  • enables Ledger signing for 1CT
  • remove "Ledger coming soon" messages
  • set defaultTimeoutHeightOffset to 150s

Testing and Verifying

screenshot of removed Ledger copy
Screenshot 2024-09-13 at 1 38 56 PM

Copy link

vercel bot commented Sep 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
osmosis-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 18, 2024 6:38am
4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
osmosis-frontend-datadog ⬜️ Ignored (Inspect) Visit Preview Sep 18, 2024 6:38am
osmosis-frontend-dev ⬜️ Ignored (Inspect) Visit Preview Sep 18, 2024 6:38am
osmosis-frontend-edgenet ⬜️ Ignored (Inspect) Sep 18, 2024 6:38am
osmosis-testnet ⬜️ Ignored (Inspect) Visit Preview Sep 18, 2024 6:38am

Copy link
Contributor

coderabbitai bot commented Sep 13, 2024

Warning

Rate limit exceeded

@mattupham has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 2 minutes and 59 seconds before requesting another review.

How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

Commits

Files that changed from the base of the PR and between ebb6bc6 and 3c1bd68.

Walkthrough

The pull request introduces multiple changes across various files, focusing on renaming properties related to authenticators for improved clarity, updating the commit hash for the Osmosis protocol, and modifying the signing logic in the AccountStore class. Additionally, adjustments to constants and interface properties enhance flexibility and consistency in handling transaction rows and one-click trading sessions. The overall functionality remains intact throughout these changes.

Changes

File Path Change Summary
packages/proto-codecs/scripts/get-proto.sh Updated OSMOSIS_COMMIT_HASH from "b07e6725f7d97b3321c8165fc1d95a9ab6fa963b" to "dd6442421a5643d8702200d6a46a6178160a8c76"; modified COSMOS_SDK_VERSION retrieval to reference github.com/cosmos/cosmos-sdk.
packages/proto-codecs/src/codegen/osmosis/smartaccount/v1beta1/tx.ts Renamed type to authenticatorType in MsgAddAuthenticator, MsgAddAuthenticatorAmino, and MsgAddAuthenticatorSDKType.
packages/stores/src/account/base.ts Simplified signing logic by removing checks for authenticator messages; now directly checks signer capabilities.
packages/stores/src/account/osmosis/index.ts Renamed type to authenticatorType in addAuthenticators parameter of constructor and sendAddAuthenticatorsMsg.
packages/stores/src/account/utils.ts Modified defaultTimeoutHeightOffset from 30 to 75, maintaining a total timeout duration of 150 seconds.
packages/tx/src/message-composers/osmosis/authenticator.ts Renamed type to authenticatorType in makeAddAuthenticatorMsg function.
packages/web/components/transactions/transaction-row.tsx Changed hash property in TransactionRow interface from required to optional.
packages/web/hooks/mutations/one-click-trading/__tests__/use-create-one-click-trading-session.spec.ts Renamed type to authenticatorType in two test instances for clarity.
packages/web/hooks/mutations/one-click-trading/use-create-one-click-trading-session.tsx Renamed type to authenticatorType in return type of getOneClickTradingSessionAuthenticator.
packages/web/components/one-click-trading/introducing-one-click-trading.tsx Restructured JSX elements by removing a <div> and integrating content directly into the main component structure.
packages/web/components/one-click-trading/one-click-trading-settings.tsx Restructured JSX for improved readability; modified conditional rendering logic.
packages/web/components/one-click-trading/one-click-trading-welcome-back.tsx Removed a paragraph element regarding the ledger being "coming soon".

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 generate interesting stats about this repository and render them as a table.
    -- @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.

Copy link
Contributor

@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: 1

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between ef5f6db and 958ccdd.

Files selected for processing (9)
  • packages/proto-codecs/scripts/get-proto.sh (1 hunks)
  • packages/proto-codecs/src/codegen/osmosis/smartaccount/v1beta1/tx.ts (9 hunks)
  • packages/stores/src/account/base.ts (1 hunks)
  • packages/stores/src/account/osmosis/index.ts (3 hunks)
  • packages/stores/src/account/utils.ts (1 hunks)
  • packages/tx/src/message-composers/osmosis/authenticator.ts (2 hunks)
  • packages/web/components/transactions/transaction-row.tsx (1 hunks)
  • packages/web/hooks/mutations/one-click-trading/tests/use-create-one-click-trading-session.spec.ts (2 hunks)
  • packages/web/hooks/mutations/one-click-trading/use-create-one-click-trading-session.tsx (2 hunks)
Files skipped from review due to trivial changes (5)
  • packages/proto-codecs/src/codegen/osmosis/smartaccount/v1beta1/tx.ts
  • packages/stores/src/account/osmosis/index.ts
  • packages/tx/src/message-composers/osmosis/authenticator.ts
  • packages/web/hooks/mutations/one-click-trading/tests/use-create-one-click-trading-session.spec.ts
  • packages/web/hooks/mutations/one-click-trading/use-create-one-click-trading-session.tsx
Additional comments not posted (3)
packages/proto-codecs/scripts/get-proto.sh (1)

9-9: Verify the impact of updating the Osmosis commit hash.

The change looks good. The OSMOSIS_COMMIT_HASH variable is updated to a new commit hash, suggesting an update to the version of the Osmosis protocol being used.

Please ensure that:

  1. The new commit hash is the intended version to be used.
  2. The update does not introduce any compatibility issues with the dependent code.

You can run the following script to verify the usage of the OSMOSIS_COMMIT_HASH variable and its potential impact:

packages/stores/src/account/utils.ts (1)

144-146: LGTM!

The change to defaultTimeoutHeightOffset maintains the same total timeout duration of 150 seconds while updating the calculation to reflect a 2-second block time. The comment is also updated to match the new calculation.

This change is consistent with the AI-generated summary and improves the code by aligning it with the current assumptions about block time.

packages/web/components/transactions/transaction-row.tsx (1)

40-40: LGTM!

Making the hash property optional in the TransactionRow interface provides flexibility in creating instances without necessarily providing a hash value. This change aligns with the AI-generated summary.

Note that this change may impact the logic where TransactionRow is utilized, as developers will need to account for the possibility that hash may be undefined. Ensure that the codebase is updated to handle this appropriately.

packages/stores/src/account/base.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@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: 4

Outside diff range and nitpick comments (3)
packages/proto-codecs/src/codegen/osmosis/concentratedliquidity/v1beta1/gov.ts (2)

120-122: Consider removing the deprecated exponentAtPriceOne field.

The exponentAtPriceOne field is being added to the PoolRecord interface with a deprecation notice. To avoid confusion and prevent its usage, it's recommended to remove the field entirely instead of just marking it as deprecated.


133-135: Consider removing the deprecated exponent_at_price_one field.

The exponent_at_price_one field is being added to the PoolRecordAmino interface with a deprecation notice. To avoid confusion and prevent its usage, it's recommended to remove the field entirely instead of just marking it as deprecated.

packages/proto-codecs/src/codegen/ibc/core/client/v1/tx.ts (1)

303-303: Consider replacing empty interfaces with type aliases.

The static analysis tool has flagged several empty interfaces that could be replaced with type aliases for a cleaner and more idiomatic TypeScript code. Consider replacing the following interfaces with type aliases:

  • MsgRecoverClientResponse
  • MsgIBCSoftwareUpgradeResponse
  • MsgUpdateParamsResponse

This change does not affect the functionality but improves code quality and readability.

Apply this diff to replace the empty interfaces with type aliases:

-export interface MsgRecoverClientResponse {}
+export type MsgRecoverClientResponse = Record<string, never>;

-export interface MsgIBCSoftwareUpgradeResponse {}
+export type MsgIBCSoftwareUpgradeResponse = Record<string, never>;

-export interface MsgUpdateParamsResponse {}  
+export type MsgUpdateParamsResponse = Record<string, never>;

Also applies to: 309-309, 315-315, 365-365, 371-371, 377-377, 414-414, 420-420

Tools
Biome

[error] 303-303: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between dd5664d and ebb6bc6.

Files ignored due to path filters (1)
  • packages/proto-codecs/scripts/generated/package-types.ts is excluded by !**/generated/**
Files selected for processing (36)
  • packages/proto-codecs/scripts/get-proto.sh (2 hunks)
  • packages/proto-codecs/src/codegen/cosmos/bundle.ts (1 hunks)
  • packages/proto-codecs/src/codegen/cosmwasm/bundle.ts (2 hunks)
  • packages/proto-codecs/src/codegen/cosmwasm/wasm/v1/ibc.ts (2 hunks)
  • packages/proto-codecs/src/codegen/cosmwasm/wasm/v1/tx.ts (3 hunks)
  • packages/proto-codecs/src/codegen/gogoproto/bundle.ts (1 hunks)
  • packages/proto-codecs/src/codegen/google/bundle.ts (1 hunks)
  • packages/proto-codecs/src/codegen/ibc/applications/transfer/v1/authz.ts (9 hunks)
  • packages/proto-codecs/src/codegen/ibc/applications/transfer/v1/tx.amino.ts (1 hunks)
  • packages/proto-codecs/src/codegen/ibc/applications/transfer/v1/tx.registry.ts (4 hunks)
  • packages/proto-codecs/src/codegen/ibc/applications/transfer/v1/tx.ts (6 hunks)
  • packages/proto-codecs/src/codegen/ibc/bundle.ts (3 hunks)
  • packages/proto-codecs/src/codegen/ibc/core/client/v1/client.ts (8 hunks)
  • packages/proto-codecs/src/codegen/ibc/core/client/v1/genesis.ts (3 hunks)
  • packages/proto-codecs/src/codegen/ibc/core/client/v1/tx.amino.ts (2 hunks)
  • packages/proto-codecs/src/codegen/ibc/core/client/v1/tx.registry.ts (4 hunks)
  • packages/proto-codecs/src/codegen/ibc/core/client/v1/tx.ts (6 hunks)
  • packages/proto-codecs/src/codegen/osmosis/bundle.ts (5 hunks)
  • packages/proto-codecs/src/codegen/osmosis/concentratedliquidity/params.ts (3 hunks)
  • packages/proto-codecs/src/codegen/osmosis/concentratedliquidity/poolmodel/concentrated/v1beta1/tx.amino.ts (1 hunks)
  • packages/proto-codecs/src/codegen/osmosis/concentratedliquidity/poolmodel/concentrated/v1beta1/tx.ts (2 hunks)
  • packages/proto-codecs/src/codegen/osmosis/concentratedliquidity/v1beta1/gov.ts (9 hunks)
  • packages/proto-codecs/src/codegen/osmosis/cosmwasmpool/v1beta1/model/tx.ts (2 hunks)
  • packages/proto-codecs/src/codegen/osmosis/gamm/v1beta1/genesis.ts (1 hunks)
  • packages/proto-codecs/src/codegen/osmosis/gamm/v1beta1/params.ts (1 hunks)
  • packages/proto-codecs/src/codegen/osmosis/poolmanager/v1beta1/taker_fee_share.ts (1 hunks)
  • packages/proto-codecs/src/codegen/osmosis/poolmanager/v1beta1/tx.amino.ts (2 hunks)
  • packages/proto-codecs/src/codegen/osmosis/poolmanager/v1beta1/tx.registry.ts (5 hunks)
  • packages/proto-codecs/src/codegen/osmosis/poolmanager/v1beta1/tx.ts (6 hunks)
  • packages/proto-codecs/src/codegen/osmosis/superfluid/tx.amino.ts (1 hunks)
  • packages/proto-codecs/src/codegen/osmosis/superfluid/tx.ts (2 hunks)
  • packages/proto-codecs/src/codegen/osmosis/valsetpref/v1beta1/tx.amino.ts (1 hunks)
  • packages/proto-codecs/src/codegen/osmosis/valsetpref/v1beta1/tx.ts (2 hunks)
  • packages/proto-codecs/src/codegen/tendermint/bundle.ts (1 hunks)
  • packages/web/components/one-click-trading/one-click-trading-settings.tsx (2 hunks)
  • packages/web/components/one-click-trading/one-click-trading-welcome-back.tsx (0 hunks)
Files not reviewed due to no reviewable changes (1)
  • packages/web/components/one-click-trading/one-click-trading-welcome-back.tsx
Files skipped from review due to trivial changes (10)
  • packages/proto-codecs/src/codegen/cosmwasm/bundle.ts
  • packages/proto-codecs/src/codegen/cosmwasm/wasm/v1/tx.ts
  • packages/proto-codecs/src/codegen/ibc/bundle.ts
  • packages/proto-codecs/src/codegen/osmosis/bundle.ts
  • packages/proto-codecs/src/codegen/osmosis/concentratedliquidity/poolmodel/concentrated/v1beta1/tx.amino.ts
  • packages/proto-codecs/src/codegen/osmosis/concentratedliquidity/poolmodel/concentrated/v1beta1/tx.ts
  • packages/proto-codecs/src/codegen/osmosis/cosmwasmpool/v1beta1/model/tx.ts
  • packages/proto-codecs/src/codegen/osmosis/superfluid/tx.amino.ts
  • packages/proto-codecs/src/codegen/osmosis/superfluid/tx.ts
  • packages/proto-codecs/src/codegen/osmosis/valsetpref/v1beta1/tx.ts
Files skipped from review as they are similar to previous changes (1)
  • packages/proto-codecs/scripts/get-proto.sh
Additional context used
Biome
packages/proto-codecs/src/codegen/cosmwasm/wasm/v1/ibc.ts

[error] 82-82: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 88-88: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 94-94: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)

packages/proto-codecs/src/codegen/ibc/applications/transfer/v1/tx.ts

[error] 158-158: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 167-167: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 176-176: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)

packages/proto-codecs/src/codegen/ibc/core/client/v1/tx.ts

[error] 303-303: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 309-309: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 315-315: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 365-365: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 371-371: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 377-377: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 414-414: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 420-420: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)

packages/proto-codecs/src/codegen/osmosis/poolmanager/v1beta1/tx.ts

[error] 307-307: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 312-312: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 317-317: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 351-351: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 356-356: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)


[error] 361-361: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)

Additional comments not posted (72)
packages/proto-codecs/src/codegen/gogoproto/bundle.ts (2)

4-4: LGTM!

The change in the spread operator is consistent with the import statement change.


2-2: Verify the impact of the change in the ./gogo module.

The import alias has been changed from _69 to _71, suggesting that the source module being imported from ./gogo has been updated or replaced. This change alters the reference point for the properties and methods being spread into the gogoproto object.

Please ensure that the changes in the ./gogo module do not introduce any breaking changes or unintended side effects on the gogoproto object and the codebase.

Run the following script to verify the impact:

Verification successful

Verified: Import alias change has no significant impact

The change in the import alias from _69 to _71 in packages/proto-codecs/src/codegen/gogoproto/bundle.ts has been verified and does not have a significant impact on the codebase. The gogo.ts file is essentially empty, containing only export {};, which means the gogoproto object in bundle.ts is not affected by this change.

The usage of gogoproto in other files is not directly related to this import change. This update appears to be a minor change, possibly due to code generation or reorganization, and does not introduce any breaking changes or unintended side effects on the gogoproto object and the codebase.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the impact of the change in the `./gogo` module on the `gogoproto` object and the codebase.

# Test 1: Search for the usage of the `gogoproto` object in the codebase.
rg --type typescript -A 5 $'gogoproto'

# Test 2: Search for the usage of the properties and methods from the `./gogo` module in the codebase.
ast-grep --lang typescript --pattern $'import {
  $$$
} from "./gogo"'

Length of output: 144


Script:

#!/bin/bash
# Description: Verify the impact of the change in the `./gogo` module on the `gogoproto` object and the codebase.

# Test 1: Search for the usage of the `gogoproto` object in TypeScript files
fd -e ts -e tsx | xargs grep -n "gogoproto" -A 5

# Test 2: Search for imports from "./gogo" in TypeScript files
ast-grep --lang typescript --pattern 'import $_ from "./gogo"'

# Test 3: Check the content of the gogo.ts file
cat packages/proto-codecs/src/codegen/gogoproto/gogo.ts

# Test 4: List all files in the gogoproto directory
ls -l packages/proto-codecs/src/codegen/gogoproto/

Length of output: 4742

packages/proto-codecs/src/codegen/ibc/applications/transfer/v1/tx.amino.ts (1)

9-13: LGTM!

The addition of the MsgUpdateParams entry to the AminoConverter object is consistent with the existing structure and follows the expected naming conventions. This change expands the functionality of the AminoConverter to support the conversion of the MsgUpdateParams message type, enabling the updating of module parameters through transactions within the IBC transfer module.

packages/proto-codecs/src/codegen/google/bundle.ts (2)

2-8: LGTM!

The reorganization of import statements and the addition of new imports for empty and timestamp from the protobuf directory improve the modular structure of the code and enhance the functionality of the protobuf namespace.


13-19: LGTM!

The use of the spread operator to include the newly imported modules in the protobuf namespace is a clean and concise way to ensure that the namespace includes all the necessary entities.

packages/proto-codecs/src/codegen/tendermint/bundle.ts (4)

2-3: LGTM!

The import statements for the crypto module have been updated to reference the latest files or modules. The functionality of the module is likely unchanged, as the import names remain the same.


4-8: LGTM!

The import statements for the types module have been updated and expanded to include additional files or modules. The functionality of the existing types modules is likely unchanged, as the import names remain the same. The new imports (_84 and _85) suggest that new types or modules have been added to the types namespace, which may provide additional functionality or improve the organization of the code.


9-9: LGTM!

The import statement for the version module has been updated to reference the latest file or module. The functionality of the module is likely unchanged, as the import name remains the same.


14-23: LGTM!

The structure of the tendermint namespace has been updated to reflect the changes in the import statements. The crypto, types, and version objects now reference the updated import names, ensuring that the correct files or modules are being referenced within the namespace. The functionality of these objects is likely unchanged, as the import names remain the same.

packages/proto-codecs/src/codegen/ibc/core/client/v1/tx.amino.ts (3)

32-36: LGTM!

The addition of the MsgRecoverClient message type to the AminoConverter object is consistent with the existing code structure and conventions. The aminoType and conversion functions are properly defined.


37-41: LGTM!

The addition of the MsgIBCSoftwareUpgrade message type to the AminoConverter object is consistent with the existing code structure and conventions. The aminoType and conversion functions are properly defined.


42-46: LGTM!

The addition of the MsgUpdateParams message type to the AminoConverter object is consistent with the existing code structure and conventions. The aminoType and conversion functions are properly defined.

packages/proto-codecs/src/codegen/ibc/applications/transfer/v1/tx.registry.ts (5)

4-4: LGTM!

The import statement is syntactically correct and necessary for the subsequent usage of MsgUpdateParams in the file.


7-7: LGTM!

The addition of the new entry to the registry array is syntactically correct and follows the existing pattern. The type URL and the corresponding type are correctly specified.


22-27: LGTM!

The addition of the new method updateParams to the encoded property of the MessageComposer object is syntactically correct and follows the existing pattern. The type URL and the encoding logic are correctly specified.


36-41: LGTM!

The addition of the new method updateParams to the withTypeUrl property of the MessageComposer object is syntactically correct and follows the existing pattern. The type URL is correctly specified.


50-55: LGTM!

The addition of the new method updateParams to the fromPartial property of the MessageComposer object is syntactically correct and follows the existing pattern. The type URL and the partial value logic are correctly specified.

packages/proto-codecs/src/codegen/cosmos/bundle.ts (6)

25-26: LGTM!

The changes to the v1beta1 namespace in cosmos.auth look good. The use of the spread operator to include the contents of the newly imported modules is a valid approach to restructure the namespace.


33-36: LGTM!

The changes to the v1beta1 namespace in cosmos.bank look good. The use of the spread operator to include the contents of the newly imported modules is a valid approach to restructure the namespace.


42-42: LGTM!

The changes to the v1beta1 namespace in cosmos.base.query look good. The use of the spread operator to include the contents of the newly imported module is a valid approach to restructure the namespace.


53-56: LGTM!

The changes to the v1beta1 namespace in cosmos.staking look good. The use of the spread operator to include the contents of the newly imported modules is a valid approach to restructure the namespace.


61-64: LGTM!

The changes to the v1beta1 namespace in cosmos.upgrade look good. The use of the spread operator to include the contents of the newly imported modules is a valid approach to restructure the namespace.


2-20: Verify the impact of the import changes on the codebase.

The import statements have been modified to reference different versions of the modules, which could impact the functionality of the code that relies on these imports. Please ensure that the changes are consistent with the intended behavior and do not introduce any breaking changes.

Run the following script to search for potential usage of the modified imports:

Verification successful

The import changes appear to be safe, but manual verification is recommended.

The search results indicate that the modified imports (cosmos.auth.v1beta1, cosmos.bank.v1beta1, etc.) are widely used throughout the codebase. However, there were no direct references found to the specific import aliases (_57, _58, etc.) that were changed in the file under review.

This suggests that the changes are primarily organizational and don't introduce new functionality or breaking changes. The modules and their versions (v1beta1) remain consistent, which further supports this conclusion.

While the automated checks don't reveal any immediate issues, it's always a good practice to manually verify the changes, especially in critical areas of the codebase that interact with these Cosmos SDK modules.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Search for usage of the modified imports in the codebase.

# Test: Search for references to the modified imports.
rg --type typescript -A 5 $'cosmos\.(auth|bank|base|staking|upgrade)\.v1beta1'

Length of output: 114


Script:

#!/bin/bash
# Description: Search for usage of the modified imports in the codebase using a more generic approach.

# Find TypeScript files and search for references to the modified imports
fd -e ts -e tsx | xargs rg -n -A 3 '(auth|bank|base|staking|upgrade)\.v1beta1'

# Additionally, search for any direct references to the imported modules
fd -e ts -e tsx | xargs rg -n -A 3 '(_57|_58|_59|_60|_61|_62|_113|_116|_63|_64|_65|_66|_67|_68|_114|_117|_69|_115|_118)\.'

Length of output: 109061

packages/proto-codecs/src/codegen/osmosis/valsetpref/v1beta1/tx.amino.ts (1)

43-43: Verify the impact of the aminoType change.

The change aligns the aminoType with the naming convention used for other message types in the Osmosis protocol, which is a good practice.

To ensure this change doesn't introduce any compatibility issues, please verify the following:

  1. The new aminoType is consistently used across the codebase.
  2. The change doesn't break any existing functionality or integrations with external systems or libraries that may rely on the previous aminoType.

You can use the following script to search for occurrences of the old and new aminoType in the codebase:

Verification successful

aminoType change is correctly implemented and consistent

The change from "osmosis/valsetpref/delegate-bonded-tokens" to "osmosis/MsgDelegateBondedTokens" has been correctly implemented in the tx.amino.ts file. The new aminoType is consistently used in both tx.amino.ts and tx.ts files for the message type, which is a good practice.

However, please note:

  • The old aminoType string "osmosis/valsetpref/delegate-bonded-tokens-response" is still present in packages/proto-codecs/src/codegen/osmosis/valsetpref/v1beta1/tx.ts, but it's used for a response type, not the message type itself.
  • Consider updating this response type to maintain consistency with the new naming convention if appropriate.

The change appears to be isolated to the MsgDelegateBondedTokens message and doesn't affect other parts of the codebase, reducing the risk of unintended side effects.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash

echo "Searching for old aminoType..."
rg --type typescript --type javascript --type json '"osmosis/valsetpref/delegate-bonded-tokens"'

echo "Searching for new aminoType..."
rg --type typescript --type javascript --type json '"osmosis/MsgDelegateBondedTokens"'

Length of output: 399


Script:

#!/bin/bash

echo "Searching for old aminoType (partial match)..."
rg -i "osmosis/valsetpref/delegate-bonded-tokens"

echo "Searching for new aminoType (partial match)..."
rg -i "osmosis/MsgDelegateBondedTokens"

echo "Listing all files with 'aminoType' (case-insensitive)..."
rg -il "aminotype"

Length of output: 2570

packages/proto-codecs/src/codegen/osmosis/poolmanager/v1beta1/tx.amino.ts (2)

37-41: LGTM!

The new message type MsgSetTakerFeeShareAgreementForDenom is correctly added to the AminoConverter object, following the existing pattern. The amino type string and conversion methods are properly defined.


42-46: LGTM!

The new message type MsgSetRegisteredAlloyedPool is correctly added to the AminoConverter object, following the existing pattern. The amino type string and conversion methods are properly defined.

packages/proto-codecs/src/codegen/osmosis/gamm/v1beta1/params.ts (5)

1-7: LGTM!

The import statements are correctly defined and follow the proper syntax. The imported dependencies are relevant to the functionality of the file.


8-11: LGTM!

The Params interface is correctly defined with the appropriate property poolCreationFee of type Coin[]. The interface is exported, making it accessible from other modules.


12-27: LGTM!

The ParamsProtoMsg, ParamsAmino, ParamsAminoMsg, and ParamsSDKType interfaces are correctly defined with the appropriate properties and types. These interfaces are used for encoding and decoding Params objects in different formats and are exported, making them accessible from other modules.


28-32: LGTM!

The createBaseParams function is correctly defined and returns a Params object with the appropriate initial value for the poolCreationFee property.


33-105: LGTM!

The Params object and its methods for encoding, decoding, and converting Params objects are correctly defined and follow the proper syntax. The methods handle the necessary operations using the appropriate dependencies and types.

packages/proto-codecs/src/codegen/ibc/core/client/v1/tx.registry.ts (4)

6-7: LGTM!

The import statements for the new message types MsgIBCSoftwareUpgrade and MsgRecoverClient are syntactically correct.


10-20: LGTM!

The new message type MsgUpdateParams is imported correctly, and all three new message types are properly registered in the registry array with their respective typeUrls.


53-70: LGTM!

The new methods recoverClient, iBCSoftwareUpgrade, and updateClientParams are implemented correctly in the encoded section of the MessageComposer. They follow the same pattern as the existing methods and facilitate the encoding of messages for the new types.


Line range hint 97-158: LGTM!

The new methods recoverClient, iBCSoftwareUpgrade, and updateClientParams are implemented correctly in both the withTypeUrl and fromPartial sections of the MessageComposer. They follow the same pattern as the existing methods and ensure that the new message types can be utilized in the same manner as existing message types.

packages/proto-codecs/src/codegen/osmosis/poolmanager/v1beta1/tx.registry.ts (4)

6-7: LGTM!

The new message types are correctly imported from the ./tx module.


28-35: LGTM!

The new message types are correctly registered in the registry array with their corresponding type URLs.


74-88: LGTM!

The new methods in the MessageComposer.encoded object correctly encode the new message types using the encode method from the generated protobuf classes. The encoded messages are returned with their corresponding type URLs.


121-129: LGTM!

The new methods in the MessageComposer.withTypeUrl and MessageComposer.fromPartial objects correctly handle the new message types. The withTypeUrl methods return the message types with their corresponding type URLs, and the fromPartial methods create the message types from partial data using the fromPartial method from the generated protobuf classes.

Also applies to: 130-135, 168-176, 177-182

packages/proto-codecs/src/codegen/osmosis/gamm/v1beta1/genesis.ts (1)

23-23: LGTM!

The removal of the import statement for Params, ParamsAmino, and ParamsSDKType is consistent with the removal of the Params interface and associated methods. This change does not introduce any new issues or inconsistencies in the code.

packages/proto-codecs/src/codegen/ibc/applications/transfer/v1/authz.ts (4)

18-22: LGTM!

The addition of the allowedPacketData property to the Allocation interface enhances the functionality and control over packet data in IBC transfers. The comments clearly describe the purpose and behavior of the property.


38-42: Looks good!

The allowedPacketData property is correctly added to the AllocationAmino interface, maintaining consistency with the Allocation interface. The property is appropriately marked as optional in the Amino encoding.


54-54: Looks good!

The allowedPacketData property is correctly added to the AllocationSDKType interface, maintaining consistency with the Allocation interface. The property type is appropriately defined as an array of strings.


95-95: Excellent work!

The allowedPacketData property is consistently integrated throughout the code:

  • Initialized as an empty array in the createBaseAllocation function.
  • Included in the encoding and decoding logic of the Allocation object.
  • Handled correctly in the fromPartial, fromAmino, and toAmino methods.

This ensures proper serialization, deserialization, and compatibility with different representations of the Allocation object.

Also applies to: 116-118, 141-143, 158-158, 172-172, 193-197

packages/proto-codecs/src/codegen/osmosis/concentratedliquidity/params.ts (3)

29-36: Deprecation notice added for authorizedQuoteDenoms.

The changes clearly mark the authorizedQuoteDenoms field as deprecated by:

  • Updating the comment to include a "DEPRECATED" label.
  • Adding a JSDoc-style @deprecated comment above the field declaration.

This provides a clear indication to developers that this field should not be used going forward.

Also applies to: 38-38


81-88: Deprecation notice added for authorized_quote_denoms.

The changes clearly mark the authorized_quote_denoms field as deprecated by:

  • Updating the comment to include a "DEPRECATED" label.
  • Adding a JSDoc-style @deprecated comment above the field declaration.

This is consistent with the deprecation of authorizedQuoteDenoms in the Params interface and provides a clear indication to developers that this field should not be used going forward.

Also applies to: 90-90


118-118: Deprecation notice added for authorized_quote_denoms.

The addition of the JSDoc-style @deprecated comment above the authorized_quote_denoms field declaration clearly marks it as deprecated. This is consistent with the deprecation of the same field in the Params and ParamsAmino interfaces.

packages/proto-codecs/src/codegen/cosmwasm/wasm/v1/ibc.ts (1)

Line range hint 81-394: LGTM!

The rest of the code segment, including the implementation of the associated methods for encoding, decoding, and message format conversions, follows a consistent pattern and appears to be correct.

packages/proto-codecs/src/codegen/ibc/core/client/v1/genesis.ts (3)

24-28: Deprecation notice for createLocalhost property looks good!

The deprecation comment clearly explains the reason for deprecation and provides guidance on the new behavior. Consider adding a note in the release changelog to inform developers about this change.


46-50: LGTM!

The deprecation notice for the create_localhost property in the Amino encoding is consistent with the deprecation in the GenesisState interface.


65-65: Looks good!

The deprecation of the create_localhost property in the SDK type is consistent with the deprecations in the GenesisState and GenesisStateAmino interfaces.

packages/web/components/one-click-trading/one-click-trading-settings.tsx (1)

Line range hint 408-435: LGTM!

The conditional rendering logic for displaying the fee to disable one-click trading is implemented correctly. The <SkeletonLoader> component is used appropriately to handle the loading state, and the fee amount and USD value are displayed based on the available data.

packages/proto-codecs/src/codegen/ibc/applications/transfer/v1/tx.ts (3)

12-14: LGTM!

The addition of the MsgUpdateParams message type and related interfaces looks good. It follows the existing patterns in the file and enables updating the transfer parameters by an authorized signer.

Also applies to: 119-593


318-320: Consider removing the empty Coin fallback.

Including the token field in the Amino encoding even if empty is good for consistency with the updated MsgTransferAmino interface.

However, based on the MsgTransfer interface, the token field seems to be always required. If that's the case, defaulting to an empty Coin as fallback may not be necessary. Please verify if the token field can be undefined here, and if not, consider removing the fallback.


60-60: Verify and update existing code using MsgTransferAmino.

The changes to make the token and timeout_height fields required in the MsgTransferAmino interface are good as they align it with the core MsgTransfer interface.

However, this is a breaking change. Ensure that all existing code that uses MsgTransferAmino is updated to provide these fields.

You can use the following script to find and review the usage of MsgTransferAmino:

Also applies to: 69-69

Verification successful

This script will search for MsgTransferAmino in all TypeScript files. If no results are found, it will perform a broader search for any 'Amino' usage to help us understand the context better.


Changes to MsgTransferAmino are self-contained, no widespread updates needed.

The modifications to the MsgTransferAmino interface are localized to the file packages/proto-codecs/src/codegen/ibc/applications/transfer/v1/tx.ts. Our analysis shows that there are no direct usages of this interface in other parts of the codebase. The changes are handled internally through conversion methods like fromAmino, toAmino, fromAminoMsg, and toAminoMsg within the same file.

However, it's advisable to:

  • Review the conversion methods (lines 281-336) to ensure they correctly handle the now-required token and timeout_height fields.
  • Verify that any external interactions with the IBC transfer module are compatible with these changes, especially if they rely on the Amino encoding.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Find usage of `MsgTransferAmino` and review code to ensure 
# `token` and `timeout_height` fields are provided.

# Find all TypeScript files that use `MsgTransferAmino`
fd --type ts --exec rg MsgTransferAmino

Length of output: 211


Script:

#!/bin/bash
# Description: Find usage of `MsgTransferAmino` in TypeScript files

# Find all TypeScript files and search for MsgTransferAmino
fd -e ts | xargs rg 'MsgTransferAmino' -n

# If no results are found, search for any 'Amino' usage as a fallback
if [ $? -ne 0 ]; then
    echo "No direct usage of MsgTransferAmino found. Searching for any 'Amino' usage:"
    fd -e ts | xargs rg 'Amino' -n
fi

Length of output: 891

packages/proto-codecs/src/codegen/osmosis/poolmanager/v1beta1/taker_fee_share.ts (5)

20-33: LGTM!

The TakerFeeShareAgreement interface is well-defined and follows TypeScript conventions. The comments provide a clear explanation of the purpose and functionality of the interface.


85-90: LGTM!

The TakerFeeSkimAccumulator interface is well-defined and follows TypeScript conventions. The comments provide a clear explanation of the purpose and functionality of the interface.


126-135: LGTM!

The AlloyContractTakerFeeShareState interface is well-defined and follows TypeScript conventions. The comments provide a clear explanation of the purpose and functionality of the interface, including an example scenario that helps in understanding the concept of adjusted taker fee share agreements within an alloyed asset pool.


183-284: LGTM!

The TakerFeeShareAgreement object follows a consistent pattern for encoding, decoding, and conversion methods. The methods handle various formats and edge cases appropriately, and the typeUrl property is correctly defined. There are no apparent issues with the object definition or its methods.


395-506: LGTM!

The AlloyContractTakerFeeShareState object follows a consistent pattern for encoding, decoding, and conversion methods. The methods handle various formats and edge cases appropriately, and the typeUrl property is correctly defined. There are no apparent issues with the object definition or its methods.

packages/proto-codecs/src/codegen/osmosis/concentratedliquidity/v1beta1/gov.ts (1)

146-147: Conditional inclusion of the deprecated exponentAtPriceOne field looks good.

The encoding and decoding logic for the exponentAtPriceOne field has been updated to conditionally include the field based on its value. This change aligns with the deprecation notice and helps in transitioning away from the usage of the deprecated field. The conditional inclusion ensures that the field is only included when it has a non-empty value, which is a good approach.

Also applies to: 519-519, 538-540, 565-567, 589-589, 604-609, 623-626

packages/proto-codecs/src/codegen/ibc/core/client/v1/client.ts (5)

129-134: LGTM!

The Height interface is well-defined with appropriate properties and types to represent the revision number and height of a client.


135-138: LGTM!

The HeightProtoMsg interface correctly represents the protobuf message type for the Height interface with the appropriate typeUrl and value properties.


151-156: LGTM!

The HeightAmino interface correctly represents the Amino encoding type for the Height interface with the appropriate revision_number and revision_height properties.


178-185: LGTM!

The Params interface correctly represents the set of IBC light client parameters with the appropriate allowedClients property of type string[].


Line range hint 208-333: Note the deprecation of ClientUpdateProposal and UpgradeProposal interfaces.

These interfaces are marked as deprecated. Please update any usages of these interfaces to the recommended alternatives:

  • Use MsgRecoverClient instead of ClientUpdateProposal
  • Use MsgIBCSoftwareUpgrade instead of UpgradeProposal
packages/proto-codecs/src/codegen/ibc/core/client/v1/tx.ts (3)

264-275: LGTM!

The MsgRecoverClient interface is well-defined and includes all the necessary fields for recovering a frozen or expired client. The comments provide a clear explanation of its purpose.


316-332: Looks good!

The MsgIBCSoftwareUpgrade interface is well-structured and includes the necessary fields for scheduling an IBC client upgrade via a governance proposal. The comments offer helpful context on the significance of the upgradedClientState field in facilitating a seamless upgrade process.


197-199: Deprecation handled appropriately.

The MsgSubmitMisbehaviour interface has been properly marked as deprecated using the @deprecated JSDoc tag. The comment advising to use MsgUpdateClient instead offers clear guidance for developers.

packages/proto-codecs/src/codegen/osmosis/poolmanager/v1beta1/tx.ts (3)

249-269: LGTM!

The MsgSetTakerFeeShareAgreementForDenom interface provides a clear and well-structured definition for the parameters required to set a taker fee share agreement. The properties cover all the necessary information, including the sender, denom, skim percentage, and skim address.


319-327: LGTM!

The MsgSetRegisteredAlloyedPool interface provides a clear and well-structured definition for the parameters required to register an alloyed pool. The properties cover the necessary information, including the sender's address and the pool ID.


362-406: LGTM!

The updates to the DenomPairTakerFee interface, replacing the deprecated denom0 and denom1 fields with tokenInDenom and tokenOutDenom, align with the shift towards uni-directional trading pairs. The changes are properly documented with @deprecated JSDoc tags for the old fields, and the new fields provide clarity on the token denoms for the trading pair.

* MsgUpdateParamsResponse defines the response structure for executing a
* MsgUpdateParams message.
*/
export interface MsgUpdateParamsResponse {}
Copy link
Contributor

Choose a reason for hiding this comment

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

Replace empty interfaces with type aliases.

The static analysis tool correctly flags the usage of empty interfaces MsgUpdateParamsResponse, MsgUpdateParamsResponseAmino, and MsgUpdateParamsResponseSDKType as an anti-pattern.

To improve the code quality, please replace these empty interfaces with type aliases. For example:

- export interface MsgUpdateParamsResponse {}
+ export type MsgUpdateParamsResponse = {};

This makes the intent clearer without changing the behavior.

Also applies to: 167-167, 176-176

Tools
Biome

[error] 158-158: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)

sender: string;
pool_id: bigint;
}
export interface MsgSetRegisteredAlloyedPoolResponse {}
Copy link
Contributor

Choose a reason for hiding this comment

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

Use a type alias instead of an empty interface.

The MsgSetRegisteredAlloyedPoolResponse interface is empty, which is equivalent to {}. As suggested by the static analysis tool, it's recommended to use a type alias instead of an empty interface for better code clarity and to avoid confusion.

Consider applying this change:

-export interface MsgSetRegisteredAlloyedPoolResponse {}
+export type MsgSetRegisteredAlloyedPoolResponse = Record<string, never>;
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
export interface MsgSetRegisteredAlloyedPoolResponse {}
export type MsgSetRegisteredAlloyedPoolResponse = Record<string, never>;
Tools
Biome

[error] 351-351: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)

skim_percent: string;
skim_address: string;
}
export interface MsgSetTakerFeeShareAgreementForDenomResponse {}
Copy link
Contributor

Choose a reason for hiding this comment

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

Use a type alias instead of an empty interface.

The MsgSetTakerFeeShareAgreementForDenomResponse interface is empty, which is equivalent to {}. As suggested by the static analysis tool, it's recommended to use a type alias instead of an empty interface for better code clarity and to avoid confusion.

Consider applying this change:

-export interface MsgSetTakerFeeShareAgreementForDenomResponse {}
+export type MsgSetTakerFeeShareAgreementForDenomResponse = Record<string, never>;
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
export interface MsgSetTakerFeeShareAgreementForDenomResponse {}
export type MsgSetTakerFeeShareAgreementForDenomResponse = Record<string, never>;
Tools
Biome

[error] 307-307: An empty interface is equivalent to {}.

Safe fix: Use a type alias instead.

(lint/suspicious/noEmptyInterface)

COSMOS_SDK_VERSION=$(awk -F '=>' '/github.com\/osmosis-labs\/cosmos-sdk/ {print $2}' .repos/osmosis/go.mod | awk '{print $NF}' | tr -d '\n')
# COSMOS_SDK_VERSION=$(awk '/github.com\/cosmos\/cosmos-sdk/ {print $2}' .repos/osmosis/go.mod | tr -d '=> ')
# COSMOS_SDK_VERSION=$(awk -F '=>' '/github.com\/osmosis-labs\/cosmos-sdk/ {print $2}' .repos/osmosis/go.mod | awk '{print $NF}' | tr -d '\n')
COSMOS_SDK_VERSION=v0.50.6-v26-osmo-2
Copy link
Contributor Author

Choose a reason for hiding this comment

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

leave this hardcoded for now - there were issues with the script

@@ -52,7 +56,8 @@ git -C .repos/ibc-go checkout $IBC_GO_VERSION
# WASMD PROTOS

# Extract the Wasmd version from the go.mod file
WASMD_VERSION=$(awk '/github.com\/osmosis-labs\/wasmd/ {print $4}' .repos/osmosis/go.mod | awk '{print $NF}' | tr -d '\n')
# WASMD_VERSION=$(awk '/github.com\/osmosis-labs\/wasmd/ {print $4}' .repos/osmosis/go.mod | awk '{print $NF}' | tr -d '\n')
WASMD_VERSION=de7db0dc672e7beb201e06e7eb12b2de356ac7c9
Copy link
Contributor Author

Choose a reason for hiding this comment

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

leave this hardcoded for now - there were issues with the script

// To test chain upgrades easily on Edgenet, uncomment the flags below
// limitOrders: true,
// oneClickTrading: true,
// staking: true,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I left this in here for the future - had to toggle these a handful of times, this makes it easier

@mattupham mattupham merged commit fc714a2 into stage Sep 18, 2024
33 checks passed
@mattupham mattupham deleted the mattupham/fe-1077-v26-fe-tasks branch September 18, 2024 15:32
mattupham added a commit that referenced this pull request Sep 18, 2024
* Mattupham/fe 1067 portfolio v3 update 0 change values to be green and up (#3823)

* add threshold updates

* Clean up logs

* [Limit Orders]: SQS Active Order Query (#3828)

* fix: increased cache time and refetch interval for active orders

* fix: even longer cache

* fix: WIP batch query implementation

* fix: longer delay between batches

* fix: batch size/timing

* fix: vercel max duration

* fix: wired in sqs query for active orders

* fix: build

* fix: filled orders styling

* fix: remove claimable orders test data

* fix: further reduced queries

* feat: moved orders query to passthrough

* fix: moved active orders to local router

* fix: altered orders cache to be more responsive

* chore: post typing fixes for active orders sqs query

* fix: reverted unnecessary changes

* feat: removed pool restriction on orderbooks

* Clean up formatter (#3829)

* Clean up formatter

* Remove log

* update no price data

* add pr notification yaml (#3830)

Co-authored-by: Michael Millington <>

* fix lint issue (#3832)

* Handle PricePretty and Lint issue

* add search from query param for earn (#3836)

* Update search from query param

* Do not log subsequent chart interaction events / Handle last event tracking (#3834)

* Handle last event tracking

* Clean up

* Clean up types

* Update event properties

* Add types for event options

* Fix lint

* Update MATIC -> POL (#3835)

* Update MATIC -> POL

* Update tests

* feat: feature flag for sqs active orders (#3837)

* [Limit Orders]: Fix date display for order history (#3833)

* fix: date display for order history

* fix: undid feature flag changes

* fix: typing issue

* [Limit Orders]: Price to Tick Crash Handler (#3838)

* fix: price to tick error handling

* feat: added swap source to swap amplitude events

---------

Co-authored-by: Matt Upham <[email protected]>

* Update IBC overrides to use POL (#3839)

* fix: date display for active orders from node (#3840)

* Mattupham/fe 1077 v26 fe tasks (#3843)

* feat: adding ledger support to 1CT

* fix: make hash optional for TransactionRow type

* Add timeout

* Update default timeout height offset

* Update OSMOSIS_COMMIT_HASH

* Revert "(1CT) Add Ledger Coming Soon Copy (#3554)"

This reverts commit 94f041a.

* Remove ledger paragraph

* Clean up paragraph spacing

* Update protos

* Temp commit - snapshot of working progress

* Update 1ct session allowed functions

* get feature flags ready for launch

* Clean up for launch

* remove log

* Fix type issues related to telescope

---------

Co-authored-by: ghost <[email protected]>

* Less alerts from claim workflow (#3845)

* Publish Stage (#3831) (#3846)

* Mattupham/fe 1067 portfolio v3 update 0 change values to be green and up (#3823)

* add threshold updates

* Clean up logs

* [Limit Orders]: SQS Active Order Query (#3828)

* fix: increased cache time and refetch interval for active orders

* fix: even longer cache

* fix: WIP batch query implementation

* fix: longer delay between batches

* fix: batch size/timing

* fix: vercel max duration

* fix: wired in sqs query for active orders

* fix: build

* fix: filled orders styling

* fix: remove claimable orders test data

* fix: further reduced queries

* feat: moved orders query to passthrough

* fix: moved active orders to local router

* fix: altered orders cache to be more responsive

* chore: post typing fixes for active orders sqs query

* fix: reverted unnecessary changes

* feat: removed pool restriction on orderbooks

* Clean up formatter (#3829)

* Clean up formatter

* Remove log

* update no price data

* add pr notification yaml (#3830)

Co-authored-by: Michael Millington <>

* fix lint issue (#3832)

* Handle PricePretty and Lint issue

* add search from query param for earn (#3836)

* Update search from query param

* Do not log subsequent chart interaction events / Handle last event tracking (#3834)

* Handle last event tracking

* Clean up

* Clean up types

* Update event properties

* Add types for event options

* Fix lint

* Update MATIC -> POL (#3835)

* Update MATIC -> POL

* Update tests

* feat: feature flag for sqs active orders (#3837)

* [Limit Orders]: Fix date display for order history (#3833)

* fix: date display for order history

* fix: undid feature flag changes

* fix: typing issue

* [Limit Orders]: Price to Tick Crash Handler (#3838)

* fix: price to tick error handling

* feat: added swap source to swap amplitude events

---------



* Update IBC overrides to use POL (#3839)

---------

Co-authored-by: Jon Ator <[email protected]>
Co-authored-by: yakuramori <[email protected]>
Co-authored-by: Connor Barr <[email protected]>
Co-authored-by: Max Millington <[email protected]>

---------

Co-authored-by: Matt Upham <[email protected]>
Co-authored-by: Connor Barr <[email protected]>
Co-authored-by: ghost <[email protected]>
Co-authored-by: yakuramori <[email protected]>
Co-authored-by: Jon Ator <[email protected]>
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.

3 participants