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

Problem: sig verification result is not cached between incarnations #1515

Merged
merged 7 commits into from
Jul 16, 2024

Conversation

yihuang
Copy link
Collaborator

@yihuang yihuang commented Jul 12, 2024

Benchmark Results

100 accounts on x86 mac (run by @mmsqe)

ERC20Transfer/memiavl-stm-8-12    1131.9m ± 1%   965.4m ± 1%  -14.72% (p=0.000 n=8)
ERC20Transfer/memiavl-stm-16-12     3.298 ± 5%    3.196 ± 5%   -3.07% (p=0.028 n=8)
ERC20Transfer/memiavl-stm-32-12     6.705 ± 6%    7.118 ± 9%        ~ (p=0.328 n=8)
geomean                             1.331         1.323        -0.63%

1 unique account (Worst Case)

goos: darwin
goarch: arm64
pkg: github.com/crypto-org-chain/cronos/v2/app
                                │ /tmp/before  │             /tmp/after             │
                                │    sec/op    │   sec/op     vs base               │
ERC20Transfer/memdb-16            626.5m ±  2%   609.6m ± 2%   -2.70% (p=0.002 n=6)
ERC20Transfer/leveldb-16          628.2m ±  2%   618.0m ± 2%   -1.63% (p=0.041 n=6)
ERC20Transfer/memiavl-16          635.6m ±  2%   625.1m ± 4%        ~ (p=0.065 n=6)
ERC20Transfer/memiavl-stm-1-16    781.4m ±  1%   777.7m ± 2%        ~ (p=0.485 n=6)
ERC20Transfer/memiavl-stm-8-16    884.2m ±  1%   730.2m ± 1%  -17.41% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-16-16    1.584 ±  9%    1.553 ± 6%        ~ (p=0.394 n=6)
ERC20Transfer/memiavl-stm-32-16    4.729 ± 11%    4.731 ± 4%        ~ (p=0.937 n=6)
geomean                            1.038         997.5m        -3.87%

                                │  /tmp/before  │             /tmp/after              │
                                │     B/op      │     B/op      vs base               │
ERC20Transfer/memdb-16            366.1Mi ±  0%   366.7Mi ± 0%   +0.16% (p=0.002 n=6)
ERC20Transfer/leveldb-16          368.5Mi ±  0%   369.1Mi ± 0%   +0.17% (p=0.002 n=6)
ERC20Transfer/memiavl-16          364.3Mi ±  0%   364.9Mi ± 0%   +0.17% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-1-16    500.4Mi ±  0%   502.7Mi ± 0%   +0.46% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-8-16    1.911Gi ±  0%   2.723Gi ± 1%  +42.49% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-16-16   4.224Gi ± 11%   6.844Gi ± 3%  +62.01% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-32-16   12.45Gi ± 10%   20.14Gi ± 4%  +61.75% (p=0.002 n=6)
geomean                           1.123Gi         1.357Gi       +20.87%

                                │ /tmp/before  │             /tmp/after              │
                                │  allocs/op   │  allocs/op    vs base               │
ERC20Transfer/memdb-16            4.745M ±  0%    4.745M ± 0%        ~ (p=0.310 n=6)
ERC20Transfer/leveldb-16          4.745M ±  0%    4.745M ± 0%        ~ (p=0.240 n=6)
ERC20Transfer/memiavl-16          4.707M ±  0%    4.707M ± 0%        ~ (p=0.240 n=6)
ERC20Transfer/memiavl-stm-1-16    6.226M ±  0%    6.241M ± 0%   +0.24% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-8-16    32.38M ±  0%    47.07M ± 1%  +45.40% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-16-16   74.71M ± 11%   122.43M ± 3%  +63.87% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-32-16   226.2M ± 10%    365.6M ± 4%  +61.67% (p=0.002 n=6)
geomean                           16.69M          20.24M       +21.29%

100 unique accounts

goos: darwin
goarch: arm64
pkg: github.com/crypto-org-chain/cronos/v2/app
                                │ /tmp/before │             /tmp/after             │
                                │   sec/op    │    sec/op     vs base              │
ERC20Transfer/memdb-16            640.0m ± 3%   624.7m ±  1%       ~ (p=0.093 n=6)
ERC20Transfer/leveldb-16          645.4m ± 2%   622.4m ±  1%  -3.57% (p=0.002 n=6)
ERC20Transfer/memiavl-16          650.5m ± 2%   629.4m ±  2%  -3.25% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-1-16    774.0m ± 1%   751.1m ±  1%  -2.95% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-8-16    137.7m ± 1%   136.7m ±  5%       ~ (p=0.485 n=6)
ERC20Transfer/memiavl-stm-16-16   126.4m ± 2%   122.8m ± 10%       ~ (p=0.093 n=6)
ERC20Transfer/memiavl-stm-32-16   167.1m ± 6%   160.8m ±  3%  -3.82% (p=0.041 n=6)
geomean                           346.9m        337.2m        -2.80%

                                │ /tmp/before  │             /tmp/after             │
                                │     B/op     │     B/op      vs base              │
ERC20Transfer/memdb-16            368.5Mi ± 0%   369.1Mi ± 0%  +0.17% (p=0.002 n=6)
ERC20Transfer/leveldb-16          371.0Mi ± 0%   371.7Mi ± 0%  +0.17% (p=0.002 n=6)
ERC20Transfer/memiavl-16          364.8Mi ± 0%   365.4Mi ± 0%  +0.17% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-1-16    457.9Mi ± 0%   460.2Mi ± 0%  +0.50% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-8-16    469.3Mi ± 0%   471.1Mi ± 0%  +0.38% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-16-16   486.3Mi ± 0%   486.4Mi ± 0%       ~ (p=0.699 n=6)
ERC20Transfer/memiavl-stm-32-16   512.4Mi ± 1%   514.7Mi ± 0%  +0.44% (p=0.009 n=6)
geomean                           428.9Mi        430.1Mi       +0.26%

                                │ /tmp/before │            /tmp/after             │
                                │  allocs/op  │  allocs/op   vs base              │
ERC20Transfer/memdb-16            4.773M ± 0%   4.773M ± 0%       ~ (p=1.000 n=6)
ERC20Transfer/leveldb-16          4.771M ± 0%   4.771M ± 0%       ~ (p=0.937 n=6)
ERC20Transfer/memiavl-16          4.709M ± 0%   4.709M ± 0%       ~ (p=0.485 n=6)
ERC20Transfer/memiavl-stm-1-16    5.848M ± 0%   5.863M ± 0%  +0.26% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-8-16    6.007M ± 0%   6.015M ± 0%  +0.13% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-16-16   6.252M ± 0%   6.235M ± 0%       ~ (p=0.093 n=6)
ERC20Transfer/memiavl-stm-32-16   6.727M ± 1%   6.741M ± 0%       ~ (p=0.132 n=6)
geomean                           5.531M        5.534M       +0.05%

10 unique accounts

benchstat /tmp/before /tmp/after                                                                                                                                                                     ~/src/cronos
goos: darwin
goarch: arm64
pkg: github.com/crypto-org-chain/cronos/v2/app
                                │ /tmp/before  │             /tmp/after              │
                                │    sec/op    │    sec/op     vs base               │
ERC20Transfer/memdb-16            635.6m ±  3%   643.2m ±  1%        ~ (p=0.132 n=6)
ERC20Transfer/leveldb-16          634.1m ±  1%   639.0m ±  1%   +0.77% (p=0.015 n=6)
ERC20Transfer/memiavl-16          637.5m ±  1%   641.8m ±  1%   +0.67% (p=0.041 n=6)
ERC20Transfer/memiavl-stm-1-16    772.6m ±  1%   775.4m ±  1%        ~ (p=0.240 n=6)
ERC20Transfer/memiavl-stm-8-16    176.2m ±  0%   160.3m ±  1%   -9.04% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-16-16   201.4m ± 16%   173.7m ± 16%  -13.79% (p=0.009 n=6)
ERC20Transfer/memiavl-stm-32-16   382.3m ± 11%   375.5m ±  9%        ~ (p=0.589 n=6)
geomean                           429.4m         415.5m         -3.25%

                                │ /tmp/before  │             /tmp/after              │
                                │     B/op     │     B/op      vs base               │
ERC20Transfer/memdb-16            366.3Mi ± 0%   366.9Mi ± 0%   +0.17% (p=0.002 n=6)
ERC20Transfer/leveldb-16          368.7Mi ± 0%   369.3Mi ± 0%   +0.16% (p=0.002 n=6)
ERC20Transfer/memiavl-16          364.3Mi ± 0%   364.9Mi ± 0%   +0.17% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-1-16    478.2Mi ± 0%   480.5Mi ± 0%   +0.48% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-8-16    554.5Mi ± 0%   553.6Mi ± 0%   -0.16% (p=0.041 n=6)
ERC20Transfer/memiavl-stm-16-16   697.4Mi ± 1%   711.8Mi ± 3%   +2.07% (p=0.004 n=6)
ERC20Transfer/memiavl-stm-32-16   1.063Gi ± 3%   1.333Gi ± 8%  +25.37% (p=0.002 n=6)
geomean                           517.2Mi        536.4Mi        +3.71%

                                │ /tmp/before │             /tmp/after              │
                                │  allocs/op  │  allocs/op    vs base               │
ERC20Transfer/memdb-16            4.747M ± 0%    4.747M ± 0%        ~ (p=0.937 n=6)
ERC20Transfer/leveldb-16          4.747M ± 0%    4.747M ± 0%        ~ (p=0.589 n=6)
ERC20Transfer/memiavl-16          4.706M ± 0%    4.706M ± 0%        ~ (p=0.818 n=6)
ERC20Transfer/memiavl-stm-1-16    6.016M ± 0%    6.031M ± 0%   +0.25% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-8-16    7.288M ± 0%    7.211M ± 1%   -1.06% (p=0.002 n=6)
ERC20Transfer/memiavl-stm-16-16   9.827M ± 2%   10.037M ± 4%   +2.14% (p=0.009 n=6)
ERC20Transfer/memiavl-stm-32-16   16.84M ± 4%    21.74M ± 9%  +29.10% (p=0.002 n=6)
geomean                           6.932M         7.203M        +3.91%

👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻

PR Checklist:

  • Have you read the CONTRIBUTING.md?
  • Does your PR follow the C4 patch requirements?
  • Have you rebased your work on top of the latest master?
  • Have you checked your code compiles? (make)
  • Have you included tests for any non-trivial functionality?
  • Have you checked your code passes the unit tests? (make test)
  • Have you checked your code formatting is correct? (go fmt)
  • Have you checked your basic code style is fine? (golangci-lint run)
  • If you added any dependencies, have you checked they do not contain any known vulnerabilities? (go list -json -m all | nancy sleuth)
  • If your changes affect the client infrastructure, have you run the integration test?
  • If your changes affect public APIs, does your PR follow the C4 evolution of public contracts?
  • If your code changes public APIs, have you incremented the crate version numbers and documented your changes in the CHANGELOG.md?
  • If you are contributing for the first time, please read the agreement in CONTRIBUTING.md now and add a comment to this pull request stating that your PR is in accordance with the Developer's Certificate of Origin.

Thank you for your code, it's appreciated! :)

Summary by CodeRabbit

  • Performance Improvements

    • Enhanced performance by caching signature verification results for recurring transactions.
  • Dependency Updates

    • Updated cosmos-sdk to version v0.50.6.
    • Updated ethermint to version v0.6.1.

Copy link
Contributor

coderabbitai bot commented Jul 12, 2024

Walkthrough

The recent changes focus on enhancing the performance of the application by caching signature verification results between transaction incarnations. Additionally, several dependencies in the project have been updated to their latest versions, reflecting improvements and fixes from their respective upstream projects. These updates involve changes to go.mod and gomod2nix.toml files, which now reference the new versions of github.com/cosmos/cosmos-sdk and github.com/evmos/ethermint.

Changes

File Change Summary
CHANGELOG.md Improved performance by caching signature verification results between transaction incarnations.
go.mod Removed github.com/libp2p/go-buffer-pool and updated github.com/cosmos/cosmos-sdk and github.com/evmos/ethermint versions.
gomod2nix.toml Updated versions and hashes for dependencies including github.com/cosmos/cosmos-sdk and github.com/evmos/ethermint.

Poem

In code we weave a tale so grand,
Caching signatures across the land.
Dependencies rise to a newer crest,
Our project now performs the best.
Let’s celebrate with hops and cheer,
For better code is finally here!
🐇✨


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>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @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 as 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.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation 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

codecov bot commented Jul 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 35.87%. Comparing base (1e6484a) to head (6255b87).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #1515       +/-   ##
===========================================
+ Coverage   17.54%   35.87%   +18.33%     
===========================================
  Files          87      136       +49     
  Lines        5273     9809     +4536     
===========================================
+ Hits          925     3519     +2594     
- Misses       4238     5894     +1656     
- Partials      110      396      +286     

see 72 files with indirect coverage changes

CHANGELOG.md Outdated Show resolved Hide resolved
yihuang and others added 4 commits July 12, 2024 15:55
@yihuang yihuang marked this pull request as ready for review July 16, 2024 03:31
@yihuang yihuang requested a review from a team as a code owner July 16, 2024 03:31
@yihuang yihuang requested review from calvinaco and devashishdxt and removed request for a team July 16, 2024 03:31
@yihuang yihuang marked this pull request as draft July 16, 2024 03:33
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: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 4556276 and 7900f1b.

Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
Files selected for processing (3)
  • CHANGELOG.md (1 hunks)
  • go.mod (2 hunks)
  • gomod2nix.toml (2 hunks)
Additional comments not posted (5)
go.mod (2)

260-260: Verify dependency change for cosmos-sdk.

The dependency github.com/cosmos/cosmos-sdk has been changed to a fork github.com/mmsqe/cosmos-sdk. This is a significant change as it switches the source of the SDK.

Verification successful

Verify dependency change for cosmos-sdk.

The dependency github.com/cosmos/cosmos-sdk has been changed to a fork github.com/mmsqe/cosmos-sdk. This is a significant change as it switches the source of the SDK.

Let's correct the script to fetch recent commits and check the repository's state.


Verify dependency change for cosmos-sdk.

The dependency github.com/cosmos/cosmos-sdk has been changed to a fork github.com/mmsqe/cosmos-sdk. This is a significant change as it switches the source of the SDK.

Let's adjust our approach to fetch the commit history correctly.


Verified dependency change for cosmos-sdk.

The dependency github.com/cosmos/cosmos-sdk has been changed to a fork github.com/mmsqe/cosmos-sdk. The recent commits indicate active development and maintenance, suggesting that the fork is being actively managed and is likely stable.

  • Recent commits include various improvements and refactoring, which indicate ongoing maintenance.
  • The repository details show it is public and licensed under Apache License 2.0, which is consistent with open-source standards.

Commit Details:

  • 3781c462a9442a4142d8a38b77e587984d9a4c08: chore: minor bech32 global removal
  • 27210f0e62ae60b346c5d65e2ce051b7daf62ac4: docs: Improve docs for vote query
  • 222d28e1798b845afed622669be572a49b626444: refactor(x/staking): migrate RedelegationByValSrcIndexKey key to collections
  • 393dcc1f2a60d13488e9d3ea8ff34bd12d5b9026: refactor: remove header type from NewContext
  • dc62bd7ade471f462f4799a535fb88be768556c9: build(deps): Bump cosmossdk.io/math from 1.0.1 to 1.1.2
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the new fork's compatibility and check for any open issues or recent commits that might affect stability.

# Check recent commits
gh repo view mmsqe/cosmos-sdk --json commits --jq '.[0:5]'

# Check open issues
gh issue list -R mmsqe/cosmos-sdk

Length of output: 1275


Script:

#!/bin/bash
# Description: Verify the new fork's compatibility and check for any recent commits that might affect stability.

# Check recent commits
gh repo view mmsqe/cosmos-sdk --json defaultBranchRef --jq '.defaultBranchRef.target.history.nodes[0:5] | {commits: .}'

# Check repository details
gh repo view mmsqe/cosmos-sdk --json name,description,createdAt,updatedAt,pushedAt,defaultBranchRef,licenseInfo,visibility,stargazerCount,forkCount

Length of output: 672


Script:

#!/bin/bash
# Description: Verify the new fork's compatibility and check for any recent commits that might affect stability.

# Check recent commits using the correct GraphQL query
gh api graphql -f query='
{
  repository(owner: "mmsqe", name: "cosmos-sdk") {
    defaultBranchRef {
      target {
        ... on Commit {
          history(first: 5) {
            edges {
              node {
                message
                committedDate
                oid
              }
            }
          }
        }
      }
    }
  }
}'

Length of output: 1625


280-280: Updated dependency for github.com/evmos/ethermint.

The version of github.com/evmos/ethermint has been updated to a newer commit. Ensure this update is compatible with other dependencies and does not introduce any breaking changes.

gomod2nix.toml (2)

173-175: Updated dependency for github.com/cosmos/cosmos-sdk.

The version has been updated to v0.46.0-beta2.0.20240715072401-d2de62e1575e and the source has been changed from github.com/crypto-org-chain/cosmos-sdk to github.com/mmsqe/cosmos-sdk. This change should be verified for compatibility and integration with other system components.

Ensure that the new version integrates well with existing system components and does not introduce breaking changes.


265-266: Updated dependency for github.com/evmos/ethermint.

The version has been updated to v0.6.1-0.20240715061533-9c959a26e04f and the source has been changed from github.com/crypto-org-chain/ethermint to github.com/evmos/ethermint. It is important to verify that this new version does not introduce any incompatibilities or regressions.

Assess the impact of this version change on the overall system performance and stability.

CHANGELOG.md (1)

26-26: Changelog Entry Review

The changelog entry correctly summarizes the improvements made by PR #1515, which involves caching the signature verification results to enhance performance. This aligns well with the PR's objectives and the description provided.

@yihuang yihuang marked this pull request as ready for review July 16, 2024 07:15
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: 0

Outside diff range, codebase verification and nitpick comments (1)
go.mod (1)

259-259: Issue Found: Invalid or Missing Version for github.com/cosmos/cosmos-sdk

The specified version v0.50.6-0.20240716063309-c47504d189d4 for the github.com/cosmos/cosmos-sdk dependency does not exist in the repository. Please verify the version and ensure it is correctly specified or pushed to the remote repository.

  • File: go.mod
  • Line: 259
Analysis chain

Updated dependency: github.com/cosmos/cosmos-sdk.

The dependency has been updated to a specific commit. Verify the stability and appropriateness of this version for the project's requirements.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check the commit log for the specific version of `cosmos-sdk` to ensure it includes necessary fixes or features.

# Test: Fetch the commit log for the specified version. Expect: Relevant fixes or features.
git log --oneline github.com/crypto-org-chain/cosmos-sdk@v0.50.6-0.20240716063309-c47504d189d4

Length of output: 353


Script:

#!/bin/bash
# Description: List the tags and recent commits of the `github.com/crypto-org-chain/cosmos-sdk` repository to verify the specified version.

# Test: List tags in the repository.
git ls-remote --tags https://github.com/crypto-org-chain/cosmos-sdk.git

# Test: List recent commits in the repository.
git ls-remote --heads https://github.com/crypto-org-chain/cosmos-sdk.git

Length of output: 96470

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 7900f1b and 6255b87.

Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
Files selected for processing (2)
  • go.mod (3 hunks)
  • gomod2nix.toml (3 hunks)
Additional comments not posted (3)
go.mod (1)

279-279: Updated dependency: github.com/evmos/ethermint.

The dependency has been updated to a specific commit. Verify the stability and appropriateness of this version for the project's requirements.

gomod2nix.toml (2)

173-174: Updated dependency: github.com/cosmos/cosmos-sdk

The version and hash of github.com/cosmos/cosmos-sdk have been updated. Ensure that this new version is compatible with other project dependencies and that it includes all necessary security patches.

Verification successful

Updated dependency: github.com/cosmos/cosmos-sdk

The version and hash of github.com/cosmos/cosmos-sdk have been updated to a forked version hosted at github.com/crypto-org-chain/cosmos-sdk. Ensure that this new version is compatible with other project dependencies and that it includes all necessary security patches.

  • go.mod confirms the presence and replacement of github.com/cosmos/cosmos-sdk with github.com/crypto-org-chain/cosmos-sdk version v0.50.6-0.20240716063309-c47504d189d4.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Verify that the new version of cosmos-sdk does not introduce breaking changes or dependency conflicts
ast-grep --lang go --pattern $'import("github.com/cosmos/cosmos-sdk")'

Length of output: 1278


Script:

#!/bin/bash
# Search for `github.com/cosmos/cosmos-sdk` in the `go.mod` file to verify its presence and version
rg 'github.com/cosmos/cosmos-sdk' go.mod

Length of output: 329


265-266: Updated dependency: github.com/evmos/ethermint

The version and hash of github.com/evmos/ethermint have been updated. It's important to verify that this update does not conflict with other dependencies, especially given the significant role of ethermint in the project.

@yihuang yihuang requested a review from mmsqe July 16, 2024 07:52
@mmsqe mmsqe added this pull request to the merge queue Jul 16, 2024
Merged via the queue into crypto-org-chain:main with commit 7f581a6 Jul 16, 2024
35 checks passed
@yihuang yihuang deleted the incarnation-cache branch July 16, 2024 09:29
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