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

test: remove some deps from testutil/network #20843

Merged
merged 5 commits into from
Jul 3, 2024
Merged

test: remove some deps from testutil/network #20843

merged 5 commits into from
Jul 3, 2024

Conversation

julienrbrt
Copy link
Member

@julienrbrt julienrbrt commented Jul 2, 2024

Description

Closes: #XXXX


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix in the PR title, you can find examples of the prefixes below:
  • confirmed ! in the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • reviewed "Files changed" and left comments if necessary
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • updated the relevant documentation or specification, including comments for documenting Go code
  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

Please see Pull Request Reviewer section in the contributing guide for more information on how to review a pull request.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic, API design and naming, documentation is accurate, tests and test coverage

Summary by CodeRabbit

  • Refactor

    • Improved test functions by refactoring them to standalone functions for better modularity.
    • Updated import statements to reflect new dependencies and removed redundant ones.
    • Adjusted test logic to use require assertions for error handling and validations.
  • Chores

    • Cleaned up go.mod files across various modules by removing unnecessary dependencies and consolidating require statements for better readability and maintenance.

Copy link
Contributor

coderabbitai bot commented Jul 2, 2024

Walkthrough

The changes involve refactoring test configurations and logic in the Cosmos SDK project. This includes modifying test setup configurations, refactoring test functions to standalone functions with updated imports and error handling, and restructuring dependencies to better isolate modules. Additionally, several Go module files were updated to remove or consolidate dependencies, reflecting a broader effort to decouple modules and reduce interdependencies.

Changes

Files/Directories Change Summary
client/grpc/cmtservice/status_test.go Modified config setup by adjusting the function call to DefaultConfigWithAppConfig(depinject.Configs()).
client/rpc/rpc_test.go Refactored test functions, updated imports, and modified test logic to use require instead of suite for assertions.
simapp/app_test.go Removed network related imports and replaced network.MinimumAppConfig() with AppConfig().
tests/integration/server/grpc/server_test.go Added imports for various modules needed for the test configuration setup.
testutil/network/network.go Removed module imports and the MinimumAppConfig function.
go.mod Adjusted module dependencies, adding and removing specific Cosmos SDK packages.
x/auth/go.mod, x/authz/go.mod, x/bank/go.mod, x/feegrant/go.mod, x/gov/go.mod, x/staking/go.mod Removed dependency on cosmossdk.io/x/accounts/defaults/lockup and consolidated require statements in go.mod files.
codec/depinject_test.go Introduced custom address codec logic and added related tests.
simapp/app_test.go Removed several imports and updated function calls in TestAddressCodecFactory.

Possibly Related Issues

  • cosmos/cosmos-sdk#11899: These changes align with the objective of decoupling SDK modules and removing dependencies on simapp, which is a part of this larger effort.

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.

@github-actions github-actions bot added the C:CLI label Jul 2, 2024
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: 3

Review details

Configuration used: .coderabbit.yml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 7b23e52 and 819e55e.

Files selected for processing (5)
  • client/grpc/cmtservice/status_test.go (2 hunks)
  • client/rpc/rpc_test.go (2 hunks)
  • simapp/app_test.go (3 hunks)
  • tests/integration/server/grpc/server_test.go (2 hunks)
  • testutil/network/network.go (3 hunks)
Files skipped from review due to trivial changes (1)
  • testutil/network/network.go
Additional context used
Path-based instructions (4)
client/grpc/cmtservice/status_test.go (2)

Pattern **/*.go: Review the Golang code for conformity with the Uber Golang style guide, highlighting any deviations.


Pattern **/*_test.go: "Assess the unit test code assessing sufficient code coverage for the changes associated in the pull request"

client/rpc/rpc_test.go (2)

Pattern **/*.go: Review the Golang code for conformity with the Uber Golang style guide, highlighting any deviations.


Pattern **/*_test.go: "Assess the unit test code assessing sufficient code coverage for the changes associated in the pull request"

tests/integration/server/grpc/server_test.go (3)

Pattern **/*.go: Review the Golang code for conformity with the Uber Golang style guide, highlighting any deviations.


Pattern tests/**/*: "Assess the integration and e2e test code assessing sufficient code coverage for the changes associated in the pull request"


Pattern **/*_test.go: "Assess the unit test code assessing sufficient code coverage for the changes associated in the pull request"

simapp/app_test.go (2)

Pattern **/*.go: Review the Golang code for conformity with the Uber Golang style guide, highlighting any deviations.


Pattern **/*_test.go: "Assess the unit test code assessing sufficient code coverage for the changes associated in the pull request"

golangci-lint
client/grpc/cmtservice/status_test.go

7-7: File is not gci-ed with --skip-generated -s standard -s default -s prefix(cosmossdk.io) -s prefix(github.com/cosmos/cosmos-sdk) --custom-order

(gci)


9-9: File is not gci-ed with --skip-generated -s standard -s default -s prefix(cosmossdk.io) -s prefix(github.com/cosmos/cosmos-sdk) --custom-order

(gci)

Additional comments not posted (4)
client/grpc/cmtservice/status_test.go (1)

18-18: Verify the usage of depinject.Configs().

Ensure that depinject.Configs() is correctly configured and used in the DefaultConfigWithAppConfig function.

Verification successful

The usage of depinject.Configs() is correctly configured and utilized within the DefaultConfigWithAppConfig function.

  • The appConfig parameter is appropriately passed to depinject.Configs() for dependency injection.
Scripts executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify the usage and configuration of `depinject.Configs()` in the `DefaultConfigWithAppConfig` function.

# Test: Search for the function definition and usage of `depinject.Configs()`. Expect: Correct configuration and usage.
rg --type go 'depinject.Configs'

Length of output: 5742



Script:

#!/bin/bash
# Description: Locate the definition of the `DefaultConfigWithAppConfig` function and inspect its implementation.

# Find the file containing the `DefaultConfigWithAppConfig` function definition.
rg --type go 'func DefaultConfigWithAppConfig' -l | xargs -I {} sh -c 'echo "File: {}"; rg --type go "func DefaultConfigWithAppConfig" {}'

Length of output: 254



Script:

#!/bin/bash
# Description: Extract the implementation of the `DefaultConfigWithAppConfig` function from the `testutil/network/network.go` file.

# Extract the function implementation.
rg --type go -A 30 'func DefaultConfigWithAppConfig' testutil/network/network.go

Length of output: 890

client/rpc/rpc_test.go (1)

20-33: LGTM! Verify the changes in the test functions.

The changes improve the test structure by using standalone functions and require assertions for better error handling and readability.

However, ensure that the refactored test functions are correctly integrated and executed.

tests/integration/server/grpc/server_test.go (1)

51-59: LGTM! Verify the new imports and their usage.

The new imports are added to set up the test configuration using various modules. Ensure that the imports are correctly used in the test setup.

However, verify the usage of the new imports in the test configuration.

Verification successful

Verified: The new imports are correctly used in the test configuration.

The imports for configurator.AccountsModule, configurator.AuthModule, configurator.BankModule, configurator.GenutilModule, configurator.StakingModule, configurator.ConsensusModule, and configurator.TxModule are correctly utilized in the test setup.

Scripts executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify the usage of new imports in the test configuration.

# Test: Search for the usage of new imports. Expect: Correct usage in the test setup.
rg --type go 'configurator.NewAppConfig'

Length of output: 2298



Script:

#!/bin/bash
# Description: Verify the imports of various modules in the tests/integration/server/grpc/server_test.go file.

# Test: Search for the import statements of the modules used in configurator.NewAppConfig.
rg --type go 'configurator\.(AccountsModule|AuthModule|BankModule|GenutilModule|StakingModule|ConsensusModule|TxModule)' tests/integration/server/grpc/server_test.go

Length of output: 383

simapp/app_test.go (1)

321-323: LGTM! Verify the removal of unnecessary dependencies.

The import of github.com/cosmos/cosmos-sdk/testutil/network is removed and calls to network.MinimumAppConfig() are replaced with AppConfig(). Ensure that the removal does not affect the test functionality.

However, verify the replacement of network.MinimumAppConfig() with AppConfig().

Verification successful

Verification successful

The replacement of network.MinimumAppConfig() with AppConfig() has been verified successfully. No occurrences of network.MinimumAppConfig() were found in the codebase.

  • network.MinimumAppConfig() has been fully removed and replaced by AppConfig().
Scripts executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify the replacement of `network.MinimumAppConfig()` with `AppConfig()`.

# Test: Search for the usage of `AppConfig()`. Expect: Correct replacement in the test functions.
rg --type go 'AppConfig'

Length of output: 9170



Script:

#!/bin/bash
# Description: Verify the removal of `network.MinimumAppConfig()` from the codebase.

# Test: Search for the usage of `network.MinimumAppConfig()`. Expect: No occurrences in the codebase.
rg --type go 'network.MinimumAppConfig'

Length of output: 39

@@ -4,6 +4,7 @@ import (
"fmt"
"testing"

"cosmossdk.io/depinject"
Copy link
Contributor

Choose a reason for hiding this comment

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

Sort the import statements.

The import statements should be sorted according to the gci tool with the specified options.

-import (
+import (
+	"fmt"
+	"testing"
+
+	"cosmossdk.io/depinject"
+	"github.com/stretchr/testify/require"
+
+	"github.com/cosmos/cosmos-sdk/server"
+	clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
+	"github.com/cosmos/cosmos-sdk/testutil/network"
+)
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
"cosmossdk.io/depinject"
import (
"fmt"
"testing"
"cosmossdk.io/depinject"
"github.com/stretchr/testify/require"
"github.com/cosmos/cosmos-sdk/server"
clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
"github.com/cosmos/cosmos-sdk/testutil/network"
)
Tools
golangci-lint

7-7: File is not gci-ed with --skip-generated -s standard -s default -s prefix(cosmossdk.io) -s prefix(github.com/cosmos/cosmos-sdk) --custom-order

(gci)

@@ -6,59 +6,34 @@ import (
"testing"

abci "github.com/cometbft/cometbft/api/cometbft/abci/v1"
"github.com/stretchr/testify/suite"
"github.com/stretchr/testify/require"
Copy link
Contributor

Choose a reason for hiding this comment

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

Sort the import statements.

The import statements should be sorted according to the gci tool with the specified options.

-import (
+import (
+	"context"
+	"strconv"
+	"testing"
+
+	abci "github.com/cometbft/cometbft/api/cometbft/abci/v1"
+	"github.com/stretchr/testify/require"
+	"google.golang.org/grpc"
+	"google.golang.org/grpc/metadata"
+
+	"github.com/cosmos/cosmos-sdk/client"
+	clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
+	"github.com/cosmos/cosmos-sdk/testutil/testdata"
+	"github.com/cosmos/cosmos-sdk/types/address"
+	grpctypes "github.com/cosmos/cosmos-sdk/types/grpc"
+)
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
"github.com/stretchr/testify/require"
import (
"context"
"strconv"
"testing"
abci "github.com/cometbft/cometbft/api/cometbft/abci/v1"
"github.com/stretchr/testify/require"
"google.golang.org/grpc"
"google.golang.org/grpc/metadata"
"github.com/cosmos/cosmos-sdk/client"
clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
"github.com/cosmos/cosmos-sdk/testutil/testdata"
"github.com/cosmos/cosmos-sdk/types/address"
grpctypes "github.com/cosmos/cosmos-sdk/types/grpc"
)

Comment on lines +15 to +22
_ "cosmossdk.io/x/accounts"
_ "cosmossdk.io/x/auth"
authclient "cosmossdk.io/x/auth/client"
_ "cosmossdk.io/x/auth/tx/config"
_ "cosmossdk.io/x/bank"
banktypes "cosmossdk.io/x/bank/types"
_ "cosmossdk.io/x/consensus"
_ "cosmossdk.io/x/staking"
Copy link
Contributor

Choose a reason for hiding this comment

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

Sort the import statements.

The import statements should be sorted according to the gci tool with the specified options.

-import (
+import (
+	"context"
+	"fmt"
+	"testing"
+	"time"
+
+	"github.com/jhump/protoreflect/grpcreflect"
+	"github.com/stretchr/testify/require"
+	"github.com/stretchr/testify/suite"
+	"google.golang.org/grpc"
+	"google.golang.org/grpc/metadata"
+
+	_ "cosmossdk.io/x/accounts"
+	_ "cosmossdk.io/x/auth"
+	authclient "cosmossdk.io/x/auth/client"
+	_ "cosmossdk.io/x/auth/tx/config"
+	_ "cosmossdk.io/x/bank"
+	banktypes "cosmossdk.io/x/bank/types"
+	_ "cosmossdk.io/x/consensus"
+	_ "cosmossdk.io/x/staking"
+	stakingtypes "cosmossdk.io/x/staking/types"
+
+	"github.com/cosmos/cosmos-sdk/client"
+	reflectionv1 "github.com/cosmos/cosmos-sdk/client/grpc/reflection"
+	clienttx "github.com/cosmos/cosmos-sdk/client/tx"
+	"github.com/cosmos/cosmos-sdk/codec"
+	reflectionv2 "github.com/cosmos/cosmos-sdk/server/grpc/reflection/v2alpha1"
+	"github.com/cosmos/cosmos-sdk/testutil/configurator"
+	"github.com/cosmos/cosmos-sdk/testutil/network"
+	"github.com/cosmos/cosmos-sdk/testutil/testdata"
+	sdk "github.com/cosmos/cosmos-sdk/types"
+	grpctypes "github.com/cosmos/cosmos-sdk/types/grpc"
+	txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+	"github.com/cosmos/cosmos-sdk/types/tx/signing"
+)
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
_ "cosmossdk.io/x/accounts"
_ "cosmossdk.io/x/auth"
authclient "cosmossdk.io/x/auth/client"
_ "cosmossdk.io/x/auth/tx/config"
_ "cosmossdk.io/x/bank"
banktypes "cosmossdk.io/x/bank/types"
_ "cosmossdk.io/x/consensus"
_ "cosmossdk.io/x/staking"
import (
"context"
"fmt"
"testing"
"time"
"github.com/jhump/protoreflect/grpcreflect"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
"google.golang.org/grpc"
"google.golang.org/grpc/metadata"
_ "cosmossdk.io/x/accounts"
_ "cosmossdk.io/x/auth"
authclient "cosmossdk.io/x/auth/client"
_ "cosmossdk.io/x/auth/tx/config"
_ "cosmossdk.io/x/bank"
banktypes "cosmossdk.io/x/bank/types"
_ "cosmossdk.io/x/consensus"
_ "cosmossdk.io/x/staking"
stakingtypes "cosmossdk.io/x/staking/types"
"github.com/cosmos/cosmos-sdk/client"
reflectionv1 "github.com/cosmos/cosmos-sdk/client/grpc/reflection"
clienttx "github.com/cosmos/cosmos-sdk/client/tx"
"github.com/cosmos/cosmos-sdk/codec"
reflectionv2 "github.com/cosmos/cosmos-sdk/server/grpc/reflection/v2alpha1"
"github.com/cosmos/cosmos-sdk/testutil/configurator"
"github.com/cosmos/cosmos-sdk/testutil/network"
"github.com/cosmos/cosmos-sdk/testutil/testdata"
sdk "github.com/cosmos/cosmos-sdk/types"
grpctypes "github.com/cosmos/cosmos-sdk/types/grpc"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
"github.com/cosmos/cosmos-sdk/types/tx/signing"
)

Copy link
Contributor

@akhilkumarpilli akhilkumarpilli left a comment

Choose a reason for hiding this comment

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

lgtm, please fix failing checks

@julienrbrt julienrbrt enabled auto-merge July 3, 2024 10:46
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.yml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 819e55e and cb0fa95.

Files ignored due to path filters (20)
  • client/v2/go.sum is excluded by !**/*.sum
  • go.sum is excluded by !**/*.sum
  • server/v2/cometbft/go.sum is excluded by !**/*.sum
  • x/auth/go.sum is excluded by !**/*.sum
  • x/authz/go.sum is excluded by !**/*.sum
  • x/bank/go.sum is excluded by !**/*.sum
  • x/circuit/go.sum is excluded by !**/*.sum
  • x/consensus/go.sum is excluded by !**/*.sum
  • x/distribution/go.sum is excluded by !**/*.sum
  • x/epochs/go.sum is excluded by !**/*.sum
  • x/evidence/go.sum is excluded by !**/*.sum
  • x/feegrant/go.sum is excluded by !**/*.sum
  • x/gov/go.sum is excluded by !**/*.sum
  • x/mint/go.sum is excluded by !**/*.sum
  • x/nft/go.sum is excluded by !**/*.sum
  • x/params/go.sum is excluded by !**/*.sum
  • x/protocolpool/go.sum is excluded by !**/*.sum
  • x/slashing/go.sum is excluded by !**/*.sum
  • x/staking/go.sum is excluded by !**/*.sum
  • x/upgrade/go.sum is excluded by !**/*.sum
Files selected for processing (8)
  • client/grpc/cmtservice/status_test.go (2 hunks)
  • go.mod (2 hunks)
  • x/auth/go.mod (1 hunks)
  • x/authz/go.mod (2 hunks)
  • x/bank/go.mod (2 hunks)
  • x/feegrant/go.mod (2 hunks)
  • x/gov/go.mod (2 hunks)
  • x/staking/go.mod (2 hunks)
Files skipped from review due to trivial changes (7)
  • go.mod
  • x/auth/go.mod
  • x/authz/go.mod
  • x/bank/go.mod
  • x/feegrant/go.mod
  • x/gov/go.mod
  • x/staking/go.mod
Files skipped from review as they are similar to previous changes (1)
  • client/grpc/cmtservice/status_test.go

simapp/app_test.go 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: 0

Review details

Configuration used: .coderabbit.yml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between cb0fa95 and 6beea70.

Files selected for processing (2)
  • codec/depinject_test.go (1 hunks)
  • simapp/app_test.go (3 hunks)
Additional context used
Path-based instructions (2)
codec/depinject_test.go (2)

Pattern **/*.go: Review the Golang code for conformity with the Uber Golang style guide, highlighting any deviations.


Pattern **/*_test.go: "Assess the unit test code assessing sufficient code coverage for the changes associated in the pull request"

simapp/app_test.go (2)

Pattern **/*.go: Review the Golang code for conformity with the Uber Golang style guide, highlighting any deviations.


Pattern **/*_test.go: "Assess the unit test code assessing sufficient code coverage for the changes associated in the pull request"

Additional comments not posted (9)
codec/depinject_test.go (3)

20-22: LGTM!

The StringToBytes function correctly converts a string to a byte slice.


24-26: LGTM!

The BytesToString function correctly converts a byte slice to a string.


30-73: LGTM!

The TestProvideAddressCodec function correctly tests the address codec injection using dependency injection.

simapp/app_test.go (6)

Line range hint 1-1: LGTM!

The TestSimAppExportAndBlockedAddrs function correctly tests the export and blocked addresses functionality of the SimApp.


Line range hint 1-1: LGTM!

The TestRunMigrations function correctly tests the migration functionality of the SimApp.


Line range hint 1-1: LGTM!

The TestInitGenesisOnMigration function correctly tests the initialization of genesis on migration for the SimApp.


Line range hint 1-1: LGTM!

The TestUpgradeStateOnGenesis function correctly tests the upgrade state on genesis for the SimApp.


Line range hint 1-1: LGTM!

The TestMergedRegistry function correctly tests the merged registry functionality of the SimApp.


Line range hint 1-1: LGTM!

The TestProtoAnnotations function correctly tests the proto annotations functionality of the SimApp.

@julienrbrt julienrbrt added this pull request to the merge queue Jul 3, 2024
Merged via the queue into main with commit f82bb76 Jul 3, 2024
87 of 88 checks passed
@julienrbrt julienrbrt deleted the julien/tests branch July 3, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants