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

feat(log): remove core dependency and update core interface to be dependency free #21045

Merged
merged 15 commits into from
Jul 26, 2024

Conversation

aaronc
Copy link
Member

@aaronc aaronc commented Jul 23, 2024

Description

In cosmossdk.io/schema a logger interface is defined without the With function because this function depends on the concrete Logger type in core. There is no way to define an expected Logger interface with the With method using the current design.

This PR proposes a new LoggerV2 interface with a WithV2 method that returns an any that can be cast to LoggerV2. With this interface, schema or other libraries could use the full logging functionality without a direct dependency on core or log (which schema seeks to avoid).


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

  • New Features

    • Introduced a new logging interface, LoggerV2, enhancing flexibility and extensibility in logging functionalities.
    • Added the WithContext method to improve context handling in logging.
  • Bug Fixes

    • Improved consistency in logging return types across various functions, ensuring better integration and usability during testing.
  • Refactor

    • Restructured existing logging interfaces to promote clearer hierarchy and modularity within the logging framework.
    • Streamlined module dependencies to enhance build efficiency and reduce complexity.
    • Updated import paths for the logging module to reflect a more standardized approach.

Copy link
Contributor

coderabbitai bot commented Jul 23, 2024

Important

Review skipped

More than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review.

20 files out of 77 files are above the max files limit of 50. Please upgrade to Pro plan to get higher limits.

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

Walkthrough

Walkthrough

The changes enhance the logging system in the Cosmos SDK by restructuring the logging interfaces, introducing LoggerBase and LoggerV2. This new architecture improves modularity, extensibility, and usability, especially for context management in logging. Functions have been updated to return LoggerImpl instead of Logger, ensuring both legacy and new logging functionalities coexist seamlessly, facilitating a smoother transition for developers.

Changes

Files Change Summary
core/log/logger.go, core/testing/noop.go, log/CHANGELOG.md, log/testing.go Introduced LoggerBase and LoggerV2 interfaces, enhancing logging capabilities. Updated functions to return LoggerImpl instead of Logger, improving context handling and usability. Adjusted method signatures accordingly.
log/go.mod Removed unnecessary dependencies to streamline module management and reduce complexity.
baseapp/baseapp.go, baseapp/oe/optimistic_execution.go, runtime/app.go, runtime/module.go, server/util.go, server/v2/cometbft/*.go, simapp/*.go, store/*/*.go Updated import paths from "cosmossdk.io/core/log" to "cosmossdk.io/log", reflecting a restructuring of the logging module within the SDK.
x/feegrant/keeper/keeper.go, x/mint/keeper/keeper.go Removed or refactored logging methods and fields within the Keeper structs, centralizing logging management.

Sequence Diagram(s)

sequenceDiagram
    participant Client
    participant LoggerV2
    participant LoggerBase

    Client->>LoggerV2: Create Logger
    LoggerV2->>LoggerBase: Initialize with base methods
    LoggerV2->>LoggerV2: Add context with WithContext()
    LoggerV2->>LoggerBase: Log Info/Debug messages
Loading

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 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.

@github-actions github-actions bot added the C:log label Jul 23, 2024
Comment on lines 42 to 48
type LoggerV2 interface {
LoggerBase

// WithV2 returns a type which can be cast to LoggerV2 with additional context provided by a set.
// any is returned instead of LoggerV2 to avoid the need for log users to import the log package directly.
WithV2(keyVals ...any) any
}
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not attached to this naming if someone can think of something better.

Copy link
Member

@julienrbrt julienrbrt Jul 24, 2024

Choose a reason for hiding this comment

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

AH! I was scratching my head yesterday about how to achieve the same thing main...julien/log-dep :D

We quite need log to have no core dep as well actually.

Copy link
Member Author

Choose a reason for hiding this comment

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

I actually don't like WithV2 in a function name if this is going to be long lived. How about WithContext?

@aaronc aaronc marked this pull request as ready for review July 23, 2024 22:03
@aaronc aaronc requested a review from a team as a code owner July 23, 2024 22:03

This comment has been minimized.

@aaronc aaronc marked this pull request as draft July 23, 2024 22:12
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 (3)
log/testing.go (2)

28-30: Update the type of runLogger to LoggerV2

The variable runLogger in testutils/sims/runner.go is currently declared as log.Logger. Since NewTestLoggerInfo now returns LoggerV2, you should update the type of runLogger to LoggerV2 to ensure type consistency.

  • testutils/sims/runner.go: Update the declaration of runLogger to LoggerV2.
Analysis chain

LGTM! But verify the function usage in the codebase.

The change to return LoggerV2 instead of Logger is approved.

However, ensure that all function calls to NewTestLoggerInfo are correctly handled with the new return type.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all function calls to `NewTestLoggerInfo` match the new return type.

# Test: Search for the function usage. Expect: Only occurrences of the new return type.
rg --type go -A 5 $'NewTestLoggerInfo'

Length of output: 1240


Script:

#!/bin/bash
# Description: Verify all usages of `runLogger` in `testutils/sims/runner.go` to ensure it is handled as `LoggerV2`.

# Test: Search for all occurrences of `runLogger` in the file.
rg --type go 'runLogger' testutils/sims/runner.go

Length of output: 253


37-39: Type mismatch detected for logger in testutils/sims/runner.go.

The variable logger is currently of type log.Logger, but NewTestLoggerError now returns LoggerV2. This needs to be corrected to avoid type incompatibility issues.

  • Update the type of logger in testutils/sims/runner.go to LoggerV2.
Analysis chain

LGTM! But verify the function usage in the codebase.

The change to return LoggerV2 instead of Logger is approved.

However, ensure that all function calls to NewTestLoggerError are correctly handled with the new return type.


Ensure logger in testutils/sims/runner.go is of type LoggerV2.

The function NewTestLoggerError is used in testutils/sims/runner.go. We need to confirm that the variable logger is of the correct type (LoggerV2).

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all function calls to `NewTestLoggerError` match the new return type.

# Test: Search for the function usage. Expect: Only occurrences of the new return type.
rg --type go -A 5 $'NewTestLoggerError'

Length of output: 1266


Script:

#!/bin/bash
# Description: Verify the type of the variable `logger` in `testutils/sims/runner.go`.

# Test: Search for the variable declaration and type. Expect: The type should be `LoggerV2`.
rg --type go 'var logger' -A 5 testutils/sims/runner.go

Length of output: 191

log/logger.go (1)

Update variable types to match the new return type LoggerV2

The function NewLogger now returns LoggerV2 instead of Logger. However, there are multiple instances in the codebase where the returned value is assigned to a variable of type log.Logger. This discrepancy needs to be addressed to ensure type compatibility.

Please update the variable types to match the new return type LoggerV2 in the following files:

  • testutil/sims/simulation_helpers.go
  • testutil/network/network.go
  • tools/cosmovisor/args.go
  • tools/cosmovisor/upgrade_test.go
  • tools/cosmovisor/process_test.go
  • tools/cosmovisor/cmd/cosmovisor/init_test.go
  • tests/integration/example/example_test.go
  • server/cmt_cmds.go
  • server/v2/server_test.go
  • server/v2/store/commands.go
  • server/v2/logger.go
  • server/v2/commands.go
  • server/util.go
  • simapp/v2/simdv2/cmd/commands.go
  • log/logger.go
  • log/writer_test.go
  • log/logger_test.go
  • client/snapshot/restore.go
  • client/snapshot/export.go
  • client/pruning/main.go
  • client/cmd.go
  • baseapp/baseapp_test.go
Analysis chain

Line range hint 77-103:
LGTM! But verify the function usage in the codebase.

The change to return LoggerV2 instead of Logger is approved.

However, ensure that all function calls to NewLogger are correctly handled with the new return type.


Let's verify if the instances of NewLogger are correctly handling the new return type LoggerV2.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all function calls to `NewLogger` match the new return type.

# Test: Search for the function usage. Expect: Only occurrences of the new return type.
rg --type go -A 5 $'NewLogger'

Length of output: 10612


Script:

#!/bin/bash
# Description: Verify if the returned value from `NewLogger` is used correctly as `LoggerV2`.

# Test: Check the type usage of the returned value from `NewLogger` in the identified files.

# List of files to check
files=(
  "testutil/sims/simulation_helpers.go"
  "testutil/network/network.go"
  "tools/cosmovisor/args.go"
  "tools/cosmovisor/upgrade_test.go"
  "tools/cosmovisor/process_test.go"
  "tools/cosmovisor/cmd/cosmovisor/init_test.go"
  "tests/integration/example/example_test.go"
  "server/cmt_cmds.go"
  "server/v2/server_test.go"
  "server/v2/store/commands.go"
  "server/v2/logger.go"
  "server/v2/commands.go"
  "server/util.go"
  "simapp/v2/simdv2/cmd/commands.go"
  "log/logger.go"
  "log/writer_test.go"
  "log/logger_test.go"
  "client/snapshot/restore.go"
  "client/snapshot/export.go"
  "client/pruning/main.go"
  "client/cmd.go"
  "baseapp/baseapp_test.go"
)

# Search for the usage of the returned value from `NewLogger` in each file
for file in "${files[@]}"; do
  echo "Checking file: $file"
  rg --type go --context 5 'log.NewLogger' "$file"
done

Length of output: 13580

Review details

Configuration used: .coderabbit.yml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 7d892e5 and 006d600.

Files selected for processing (3)
  • core/log/logger.go (2 hunks)
  • log/logger.go (5 hunks)
  • log/testing.go (3 hunks)
Additional context used
Path-based instructions (3)
log/testing.go (1)

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

core/log/logger.go (1)

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

log/logger.go (1)

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

Additional comments not posted (10)
log/testing.go (2)

19-21: LGTM! But verify the function usage in the codebase.

The change to return LoggerV2 instead of Logger is approved.

However, ensure that all function calls to NewTestLogger are correctly handled with the new return type.


Line range hint 41-51:
LGTM! But verify the function usage in the codebase.

The change to return LoggerV2 instead of Logger is approved.

However, ensure that all function calls to newTestLogger are correctly handled with the new return type.

Verification successful

The change to return LoggerV2 instead of Logger is correctly handled.

The functions NewTestLoggerInfo and NewTestLoggerError are used appropriately in testutils/sims/runner.go, and the LoggerV2 type is correctly managed in these instances.

  • NewTestLoggerInfo is assigned to runLogger and used with the With method.
  • NewTestLoggerError is assigned to logger and used with the With method.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all function calls to `newTestLogger` match the new return type.

# Test: Search for the function usage. Expect: Only occurrences of the new return type.
rg --type go -A 5 $'newTestLogger'

Length of output: 916


Script:

#!/bin/bash
# Description: Verify the usage of functions that call `newTestLogger` to ensure the return type `LoggerV2` is correctly handled.

# Test: Search for the usage of functions that call `newTestLogger`.
rg --type go -A 5 'NewTestLoggerDebug\(\)' 
rg --type go -A 5 'NewTestLoggerInfo\(\)'
rg --type go -A 5 'NewTestLoggerError\(\)'

Length of output: 133


Script:

#!/bin/bash
# Description: Verify the usage of functions that call `newTestLogger` to ensure the return type `LoggerV2` is correctly handled.

# Test: Search for the usage of functions that call `newTestLogger` with a more general pattern.
rg --type go 'NewTestLogger(Debug|Info|Error)'

Length of output: 547


Script:

#!/bin/bash
# Description: Verify the usage of `NewTestLoggerInfo` and `NewTestLoggerError` in `testutils/sims/runner.go` to ensure the return type `LoggerV2` is correctly handled.

# Test: Search for the usage of `NewTestLoggerInfo` and `NewTestLoggerError` in `testutils/sims/runner.go`.
rg --type go -A 5 'NewTestLoggerInfo\(' testutils/sims/runner.go
rg --type go -A 5 'NewTestLoggerError\(' testutils/sims/runner.go

Length of output: 484

core/log/logger.go (3)

10-14: LGTM!

The change to embed LoggerBase and include the With method in the Logger interface is approved.


Line range hint 16-38:
LGTM!

The LoggerBase interface defines basic logging functionalities and the change is approved.


40-48: LGTM!

The change to embed LoggerBase and include the WithV2 method in the LoggerV2 interface is approved.

log/logger.go (5)

43-47: LGTM!

The change to combine the existing Logger and the new corelog.LoggerV2 interfaces in the LoggerV2 type is approved.


148-151: LGTM! But verify the function usage in the codebase.

The change to return corelog.Logger instead of Logger is approved.

However, ensure that all function calls to With are correctly handled with the new return type.


153-155: LGTM! But verify the function usage in the codebase.

The addition of the WithV2 function is approved.

However, ensure that all function calls to WithV2 are correctly handled.

Verification successful

LGTM! But verify the function usage in the codebase.

The addition of the WithV2 function is approved. Both definitions in log/logger.go look correct, and the comment in core/log/logger.go is consistent with the function's purpose.

However, ensure that all function calls to WithV2 are correctly handled.

  • log/logger.go:
    • func (l zeroLogWrapper) WithV2(keyVals ...interface{}) any
    • func (l LogWrapper) WithV2(keyVals ...interface{}) any
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all function calls to `WithV2` match the new function.

# Test: Search for the function usage. Expect: Only occurrences of the new function.
rg --type go -A 5 $'WithV2'

Length of output: 912


173-175: LGTM! But verify the function usage in the codebase.

The change to return LoggerV2 instead of Logger is approved.

However, ensure that all function calls to NewLogWrapper are correctly handled with the new return type.

Verification successful

Verified: All instances of NewLogWrapper correctly handle the new return type LoggerV2.

The change to return LoggerV2 instead of Logger is correctly implemented and consistent across the codebase.

  • log/logger.go: All usages of NewLogWrapper are correctly updated.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all function calls to `NewLogWrapper` match the new return type.

# Test: Search for the function usage. Expect: Only occurrences of the new return type.
rg --type go -A 5 $'NewLogWrapper'

Length of output: 659


Script:

#!/bin/bash
# Description: Verify all function calls to `NewLogWrapper` match the new return type across the entire codebase.

# Test: Search for the function usage in the entire codebase. Expect: Only occurrences of the new return type.
rg --type go -A 5 'NewLogWrapper'

Length of output: 659


119-121: LGTM! But verify the function usage in the codebase.

The change to return LoggerV2 instead of Logger is approved.

However, ensure that all function calls to NewCustomLogger are correctly handled with the new return type.

Copy link
Member

@tac0turtle tac0turtle left a comment

Choose a reason for hiding this comment

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

since logger is not v1 should we break the api of v1 then move to tag v1?

@aaronc
Copy link
Member Author

aaronc commented Jul 24, 2024

since logger is not v1 should we break the api of v1 then move to tag v1?

cosmossdk.io/log is published as 1.x: https://pkg.go.dev/cosmossdk.io/log

@tac0turtle
Copy link
Member

Ah whoops. Then this makes sense. Alternatively we can do a v2 pkg

@aaronc
Copy link
Member Author

aaronc commented Jul 24, 2024

Ah whoops. Then this makes sense. Alternatively we can do a v2 pkg

I think it would be nice to support this somehow with v1.

So the most minimal version of this PR involves adding a WithV2 or WithAsAny method to zeroLogWrapper and LogWrapper. How we communicate about that interface in log or core is sort of a separate matter.

@aaronc aaronc marked this pull request as ready for review July 24, 2024 09:46
Copy link
Member

@tac0turtle tac0turtle left a comment

Choose a reason for hiding this comment

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

Ack. we should remove the dep from log if possible then

@aaronc
Copy link
Member Author

aaronc commented Jul 24, 2024

Ack. we should remove the dep from log if possible then

Remove the dependency on core?

Copy link
Member

@julienrbrt julienrbrt left a comment

Choose a reason for hiding this comment

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

ACK. I'd argue then that the actual corelog.Logger (with With(...) Logger) can be moved back to log.
We can make the SDK use LoggerV2 thorough and kill all deps on core in log (started yesterday here and this is the perfect addition: main...julien/log-dep)

@aaronc
Copy link
Member Author

aaronc commented Jul 24, 2024

We can't actually remove the dependency on core in log without a breaking change because the nominal typing of Logger requires us to have exactly the interface named cosmossdk.io/core/log.Logger. We could have a cosmossdk.io/log/v2 that doesn't depend on core and only implements LoggerV2

@aaronc
Copy link
Member Author

aaronc commented Jul 24, 2024

Also, change the signature of all the constructors to return LoggerV2 instead of Logger is technically slightly breaking - if a user were using one of those functions as a "logger factory". If we're going to release log/v2 anyway, I'd say let's remove the possible breakage and state that everything can be cast to LoggerV2. Then in log/v2 we only return the new interface and don't support v1 at all. How does that sound?

@julienrbrt
Copy link
Member

julienrbrt commented Jul 24, 2024

We can't actually remove the dependency on core in log without a breaking change because the nominal typing of Logger requires us to have exactly the interface named cosmossdk.io/core/log.Logger. We could have a cosmossdk.io/log/v2 that doesn't depend on core and only implements LoggerV2

What would be the breaking change? The log.Logger interface (currently aliased to core), is present in logger v1. Core hasn't released the Logger interface just yet. So that'd be using LoggerBase / LoggerV2 for everything in the SDK and we should still be able to pass a cosmossdk.io/log/Logger in there I think.

We've added a dependency of core in logger to not directly import log.Logger in modules, however we can get away by using LoggerV2, that log is anyway implementing (implicit implementation, no need to import core there).

If we were to release log with cosmossdk.io/core as dependency, it won't work with v0.47 and v0.50 anymore.

@aaronc
Copy link
Member Author

aaronc commented Jul 24, 2024

Wait a second if the Logger = corelog.Logger isn't in log/v1.3.1 then log on main is actually breaking.. Okay, I think I'll diff against v1.3.1 and fix the breakage and remove core then

@aaronc
Copy link
Member Author

aaronc commented Jul 24, 2024

Okay, I've updated this PR to remove the core dependency and the breakage that was present on main.

Constructor functions in log still return Logger and not LoggerV2 to avoid breakage even though they implement LoggerV2. The safest approach would be to change this in log/v2 although it's probably not breaking for 99% of users.

log/logger.go Outdated
Comment on lines 49 to 56
type LoggerV2 interface {
LoggerBase

// WithContext returns a new wrapped logger with additional context provided by the key value pairs.
// The returned value can be safely cast to LoggerV2. An any is returned instead of LoggerV2
// to avoid the need for log users to import the log package directly.
WithContext(keyVals ...any) any
}
Copy link
Member

Choose a reason for hiding this comment

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

can we make these internal? it will be confusing to see which one to use

Copy link
Member Author

Choose a reason for hiding this comment

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

Meaning put them in an internal package? We can just avoid declaring the interface at all and then do it in log/v2 if we want

@julienrbrt julienrbrt added this pull request to the merge queue Jul 26, 2024
Merged via the queue into main with commit 5c90246 Jul 26, 2024
96 checks passed
@julienrbrt julienrbrt deleted the aaronc/logger-iface-update branch July 26, 2024 11:07
mergify bot pushed a commit that referenced this pull request Jul 26, 2024
…endency free (#21045)

Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
(cherry picked from commit 5c90246)

# Conflicts:
#	runtime/v2/go.mod
#	schema/module_schema_test.go
#	server/v2/go.mod
#	server/v2/go.sum
#	server/v2/store/server.go
#	simapp/v2/simdv2/cmd/testnet.go
julienrbrt added a commit that referenced this pull request Jul 26, 2024
…endency free (backport #21045) (#21089)

Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
alpe added a commit that referenced this pull request Jul 26, 2024
* main:
  feat(log): remove core dependency and update core interface to be dependency free (#21045)
  chore: fix some comments (#21085)
  feat: simulate nested messages (#20291)
  chore(network): remove `DefaultConfigWithAppConfigWithQueryGasLimit` (#21055)
  fix(runtime): remove `appv1alpha1.Config` from runtime (#21042)
  feat(simapp/v2): Add store server to testnet init cmd (#21076)
  chore(indexer/postgres): update to changes on main (#21077)
  feat(schema/appdata): async listener mux'ing (#20879)
  ci: Use large box for 052 branch sims on CI (#21067)
  chore(all): replace all `fmt.Errorf` without paramters with `errors.New` (#21068)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment