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

fix: remove all stringer for proto types #1874

Merged
merged 10 commits into from
May 20, 2024
Merged

Conversation

matthiasmatt
Copy link
Contributor

As per https://docs.cosmos.network/v0.50/build/migrations/upgrading#stringer, remove the stringer from the gogo proto.

For TD denoms, I had to create a pretty print for the "tf/contract_address/denom" logic.

@matthiasmatt matthiasmatt requested a review from a team as a code owner May 14, 2024 18:07
Copy link
Contributor

coderabbitai bot commented May 14, 2024

Walkthrough

The recent changes involve updating string-related methods and imports across various modules, focusing on removing the gogoproto_stringer option from protobuf message definitions. This adjustment affects how strings are handled in the codebase, impacting both production code and tests.

Changes

Files & Paths Change Summaries
proto/eth/types/v1/account.proto
proto/nibiru/oracle/v1/oracle.proto
proto/nibiru/sudo/v1/state.proto
proto/nibiru/tokenfactory/v1/state.proto
Removed gogoproto_stringer option from specified messages.
x/oracle/types/params.go
x/oracle/types/vote.go
Removed String methods and gopkg.in/yaml.v2 import.
x/sudo/keeper/msg_server.go Modified String() method in Sudoers struct.
x/sudo/types/state.go Removed String() method from Sudoers struct.
x/tokenfactory/cli/cli_test.go
x/tokenfactory/keeper/genesis.go
x/tokenfactory/keeper/genesis_test.go
x/tokenfactory/keeper/grpc_query_test.go
x/tokenfactory/keeper/msg_server.go
Various method call replacements and updates.
x/tokenfactory/keeper/msg_server_test.go
x/tokenfactory/keeper/store.go
x/tokenfactory/keeper/store_test.go
x/tokenfactory/keeper/wasm_test.go
Changes involving String() to Denom() method calls.
x/tokenfactory/types/state.go Renamed String() method to DenomStr() for TFDenom type.
x/tokenfactory/types/state_test.go Replaced String() with PrettyString() in specific functions.
CHANGELOG.md Added chore entry for removing proto stringer in PR #1874.

🐇

A rabbit hopped through fields of code,
Where stringers once had made their abode.
With nimble paws and whiskers keen,
It tidied up the codebase scene.
Now messages are lean and clear,
Thanks to our bunny engineer! 🐰

🌸


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.

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 a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @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.

@matthiasmatt matthiasmatt enabled auto-merge (squash) May 14, 2024 18:11
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 6e38c19 and fdbbfd1.
Files ignored due to path filters (4)
  • eth/account.pb.go is excluded by !**/*.pb.go, !**/*.pb.go
  • x/oracle/types/oracle.pb.go is excluded by !**/*.pb.go, !**/*.pb.go
  • x/sudo/types/state.pb.go is excluded by !**/*.pb.go, !**/*.pb.go
  • x/tokenfactory/types/state.pb.go is excluded by !**/*.pb.go, !**/*.pb.go
Files selected for processing (19)
  • proto/eth/types/v1/account.proto (1 hunks)
  • proto/nibiru/oracle/v1/oracle.proto (4 hunks)
  • proto/nibiru/sudo/v1/state.proto (1 hunks)
  • proto/nibiru/tokenfactory/v1/state.proto (1 hunks)
  • x/oracle/types/params.go (2 hunks)
  • x/oracle/types/vote.go (5 hunks)
  • x/sudo/keeper/msg_server.go (1 hunks)
  • x/sudo/types/state.go (2 hunks)
  • x/tokenfactory/cli/cli_test.go (1 hunks)
  • x/tokenfactory/keeper/genesis.go (1 hunks)
  • x/tokenfactory/keeper/genesis_test.go (1 hunks)
  • x/tokenfactory/keeper/grpc_query_test.go (2 hunks)
  • x/tokenfactory/keeper/msg_server.go (1 hunks)
  • x/tokenfactory/keeper/msg_server_test.go (10 hunks)
  • x/tokenfactory/keeper/store.go (3 hunks)
  • x/tokenfactory/keeper/store_test.go (1 hunks)
  • x/tokenfactory/keeper/wasm_test.go (4 hunks)
  • x/tokenfactory/types/state.go (2 hunks)
  • x/tokenfactory/types/state_test.go (2 hunks)
Files skipped from review due to trivial changes (6)
  • proto/eth/types/v1/account.proto
  • proto/nibiru/oracle/v1/oracle.proto
  • proto/nibiru/sudo/v1/state.proto
  • proto/nibiru/tokenfactory/v1/state.proto
  • x/oracle/types/params.go
  • x/oracle/types/vote.go
Additional comments not posted (26)
x/sudo/types/state.go (1)

Line range hint 1-22: LGTM! The removal of the String() method for Sudoers aligns with the PR objective.

x/tokenfactory/keeper/store_test.go (1)

34-34: LGTM! The change from String() to PrettyString() for TFDenom is consistent with the PR objective.

x/tokenfactory/keeper/genesis_test.go (1)

16-16: LGTM! The change from String() to PrettyString() for TFDenom is consistent with the PR objective.

x/tokenfactory/keeper/genesis.go (2)

39-39: LGTM! The change from String() to PrettyString() for TFDenom is consistent with the PR objective.


45-45: LGTM! The change from String() to PrettyString() for TFDenom is consistent with the PR objective.

x/tokenfactory/keeper/grpc_query_test.go (2)

48-52: Ensure consistency in string representation methods.

The changes from String() to PrettyString() should be consistent across all usages of TFDenom. Verify that no instances of String() remain for TFDenom.

Verification successful

Ensure consistency in string representation methods.

The verification confirms that PrettyString() is consistently used across the codebase for TFDenom. No instances of TFDenom{}.String() were found, and PrettyString() is used in all relevant places.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify all instances of `TFDenom.String()` are replaced with `PrettyString()`.

# Test: Search for the function usage. Expect: No occurrences of `TFDenom.String()`.
rg --type go 'TFDenom{}.String()'

Length of output: 144



Script:

#!/bin/bash
# Description: Verify all instances of `TFDenom.String()` are replaced with `PrettyString()`.

# Test: Search for the function usage. Expect: No occurrences of `TFDenom.String()`.
rg --type go 'TFDenom\{\}\.String\(\)'

Length of output: 40



Script:

#!/bin/bash
# Description: Verify all instances of `TFDenom.PrettyString()` usage.

# Test: Search for the function usage. Expect: Occurrences of `TFDenom.PrettyString()`.
rg --type go 'TFDenom\{\}\.PrettyString\(\)'

Length of output: 46



Script:

#!/bin/bash
# Description: Verify the definition of `PrettyString()` in the codebase.

# Test: Search for the definition of `PrettyString()` in Go files.
rg --type go 'func (t TFDenom) PrettyString\(\)'

Length of output: 50



Script:

#!/bin/bash
# Description: Verify the definition of any method named `PrettyString` in the codebase.

# Test: Search for the definition of any method named `PrettyString` in Go files.
rg --type go 'func \(\w+ \w+\) PrettyString\(\)'

Length of output: 123



Script:

#!/bin/bash
# Description: Verify all instances of `PrettyString()` usage in the codebase.

# Test: Search for the usage of `PrettyString()` in Go files.
rg --type go '\.PrettyString\(\)'

Length of output: 3180


94-94: Ensure consistency in string representation methods.

The changes from String() to PrettyString() should be consistent across all usages of TFDenom. Verify that no instances of String() remain for TFDenom.

Verification successful

All instances of TFDenom.String() have been replaced with PrettyString().

  • No occurrences of TFDenom.String() were found in the codebase.
Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify all instances of `TFDenom.String()` are replaced with `PrettyString()`.

# Test: Search for the function usage. Expect: No occurrences of `TFDenom.String()`.
rg --type go 'TFDenom{}.String()'

Length of output: 144



Script:

#!/bin/bash
# Description: Verify all instances of `TFDenom.String()` are replaced with `PrettyString()`.

# Test: Search for the function usage. Expect: No occurrences of `TFDenom.String()`.
rg --type go 'TFDenom.String()'

Length of output: 33

x/tokenfactory/types/state.go (3)

32-32: Ensure consistency in string representation methods.

The changes from String() to PrettyString() should be consistent across all usages of TFDenom. Verify that no instances of String() remain for TFDenom.

Verification successful

All instances of TFDenom.String() have been successfully replaced with PrettyString().

  • No occurrences of TFDenom.String() were found in the codebase.
Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify all instances of `TFDenom.String()` are replaced with `PrettyString()`.

# Test: Search for the function usage. Expect: No occurrences of `TFDenom.String()`.
rg --type go 'TFDenom{}.String()'

Length of output: 144



Script:

#!/bin/bash
# Description: Verify all instances of `TFDenom.String()` are replaced with `PrettyString()`.

# Test: Search for the function usage. Expect: No occurrences of `TFDenom.String()`.
rg --type go 'TFDenom\.String()'

Length of output: 34


36-36: Ensure consistency in string representation methods.

The changes from String() to PrettyString() should be consistent across all usages of TFDenom. Verify that no instances of String() remain for TFDenom.

Verification successful

Consistency in String Representation Methods Verified

The search results confirm that the PrettyString() method is being used consistently across the codebase, replacing the previous String() method for TFDenom.

  • Instances of PrettyString() were found in multiple files, including:
    • x/tokenfactory/types/state_test.go
    • x/tokenfactory/types/state.go
    • x/tokenfactory/keeper/wasm_test.go
    • x/tokenfactory/keeper/store_test.go
    • x/tokenfactory/keeper/msg_server.go
    • x/tokenfactory/keeper/grpc_query_test.go
    • x/tokenfactory/keeper/genesis_test.go
    • x/tokenfactory/cli/cli_test.go
    • x/tokenfactory/keeper/store.go
    • x/tokenfactory/keeper/msg_server_test.go

This confirms that the transition from String() to PrettyString() has been implemented correctly.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify all instances of `TFDenom.String()` are replaced with `PrettyString()`.

# Test: Search for the function usage. Expect: No occurrences of `TFDenom.String()`.
rg --type go 'TFDenom{}.String()'

Length of output: 144



Script:

#!/bin/bash
# Description: Verify all instances of `TFDenom.String()` are replaced with `PrettyString()`.

# Test: Search for the function usage. Expect: No occurrences of `TFDenom.String()`.
rg --type go 'TFDenom\{\}\.String\(\)'

Length of output: 40



Script:

#!/bin/bash
# Description: Verify the presence of `TFDenom.PrettyString()` to ensure it has replaced `String()`.

# Test: Search for the function usage. Expect: Occurrences of `TFDenom.PrettyString()`.
rg --type go 'TFDenom\{\}\.PrettyString\(\)'

Length of output: 46



Script:

#!/bin/bash
# Description: Verify the presence of `PrettyString()` to ensure it is being used in the codebase.

# Test: Search for the function usage. Expect: Occurrences of `PrettyString()`.
rg --type go 'PrettyString\(\)'

Length of output: 3251


45-45: Ensure consistency in string representation methods.

The changes from String() to PrettyString() should be consistent across all usages of TFDenom. Verify that no instances of String() remain for TFDenom.

Verification successful

Consistent Usage of PrettyString() Verified

The search results confirm that PrettyString() is consistently used across the codebase, replacing the previous String() method for TFDenom.

  • Instances of PrettyString() were found in multiple files, including:
    • x/tokenfactory/types/state.go
    • x/tokenfactory/keeper/wasm_test.go
    • x/tokenfactory/keeper/store.go
    • x/tokenfactory/keeper/msg_server.go
    • x/tokenfactory/cli/cli_test.go

No occurrences of TFDenom.String() were found, indicating that the transition to PrettyString() is complete.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify all instances of `TFDenom.String()` are replaced with `PrettyString()`.

# Test: Search for the function usage. Expect: No occurrences of `TFDenom.String()`.
rg --type go 'TFDenom{}.String()'

Length of output: 144



Script:

#!/bin/bash
# Description: Verify all instances of `TFDenom.String()` are replaced with `PrettyString()`.

# Test: Search for the function usage. Expect: No occurrences of `TFDenom.String()`.
rg --type go 'TFDenom.String()'

Length of output: 33



Script:

#!/bin/bash
# Description: Verify that `TFDenom.PrettyString()` is used consistently across the codebase.

# Test: Search for the function usage. Expect: Occurrences of `TFDenom.PrettyString()`.
rg --type go 'TFDenom.PrettyString()'

Length of output: 39



Script:

#!/bin/bash
# Description: Verify that `PrettyString()` is used in the codebase.

# Test: Search for any usage of `PrettyString()`. Expect: Occurrences of `PrettyString()`.
rg --type go 'PrettyString()'

Length of output: 3249

x/sudo/keeper/msg_server.go (1)

92-93: Ensure proper conversion and string representation.

The change from String() to ToPb().String() should be verified to ensure it correctly represents the Sudoers struct. Verify that ToPb() returns a valid protobuf message with a proper String() method.

x/tokenfactory/types/state_test.go (2)

38-38: Ensure consistency in string representation methods.

The changes from String() to PrettyString() should be consistent across all usages of TFDenom. Verify that no instances of String() remain for TFDenom.

Verification successful

All instances of TFDenom.String() have been successfully replaced with PrettyString().

  • No occurrences of TFDenom{}.String() were found in the codebase.
Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify all instances of `TFDenom.String()` are replaced with `PrettyString()`.

# Test: Search for the function usage. Expect: No occurrences of `TFDenom.String()`.
rg --type go 'TFDenom{}.String()'

Length of output: 144



Script:

#!/bin/bash
# Description: Verify all instances of `TFDenom.String()` are replaced with `PrettyString()`.

# Test: Search for the function usage. Expect: No occurrences of `TFDenom.String()`.
rg --type go 'TFDenom\{\}\.String\(\)'

Length of output: 40


71-71: Ensure consistency in string representation methods.

The changes from String() to PrettyString() should be consistent across all usages of TFDenom. Verify that no instances of String() remain for TFDenom.

Verification successful

Ensure consistency in string representation methods.

  • No instances of TFDenom{}.String() were found, indicating that all usages have been replaced with PrettyString().
Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify all instances of `TFDenom.String()` are replaced with `PrettyString()`.

# Test: Search for the function usage. Expect: No occurrences of `TFDenom.String()`.
rg --type go 'TFDenom{}.String()'

Length of output: 144



Script:

#!/bin/bash
# Description: Verify all instances of `TFDenom.String()` are replaced with `PrettyString()`.

# Test: Search for the function usage. Expect: No occurrences of `TFDenom.String()`.
rg --type go 'TFDenom\{\}\.String\(\)'

Length of output: 40

x/tokenfactory/cli/cli_test.go (1)

84-86: Replace String() with PrettyString() for TFDenom instances.

The changes correctly replace String() with PrettyString() for better readability of TFDenom instances.

x/tokenfactory/keeper/store.go (3)

37-37: Replace String() with PrettyString() for TFDenom instances.

The change correctly replaces String() with PrettyString() for better readability of TFDenom instances.


58-58: Replace String() with PrettyString() for TFDenom instances.

The change correctly replaces String() with PrettyString() for better readability of TFDenom instances.


87-87: Replace String() with PrettyString() for TFDenom instances.

The change correctly replaces String() with PrettyString() for better readability of TFDenom instances.

x/tokenfactory/keeper/msg_server.go (1)

39-39: Replace String() with PrettyString() for TFDenom instances.

The change correctly replaces String() with PrettyString() for better readability of TFDenom instances.

x/tokenfactory/keeper/wasm_test.go (4)

164-164: Replace String() with PrettyString() for TFDenom instances.

The change correctly replaces String() with PrettyString() for better readability of TFDenom instances.


176-176: Replace String() with PrettyString() for TFDenom instances.

The change correctly replaces String() with PrettyString() for better readability of TFDenom instances.


180-180: Replace String() with PrettyString() for TFDenom instances.

The change correctly replaces String() with PrettyString() for better readability of TFDenom instances.


192-192: Replace String() with PrettyString() for TFDenom instances.

The change correctly replaces String() with PrettyString() for better readability of TFDenom instances.

x/tokenfactory/keeper/msg_server_test.go (4)

102-102: Replace String() with PrettyString() in the expected result.

The change from String() to PrettyString() in the expected result aligns with the new method usage and improves readability.


140-140: Replace String() with PrettyString() in the denomination creation and expected results.

The changes from String() to PrettyString() in the denomination creation and expected results align with the new method usage and improve readability.

Also applies to: 159-159, 178-178


333-333: Replace String() with PrettyString() in the denomination creation and expected results.

The changes from String() to PrettyString() in the denomination creation and expected results align with the new method usage and improve readability.

Also applies to: 352-352, 366-366, 386-386, 391-391


536-536: Replace String() with PrettyString() in the metadata setting.

The changes from String() to PrettyString() in the metadata setting align with the new method usage and improve readability.

Also applies to: 542-542

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 fdbbfd1 and 7d4a29e.
Files selected for processing (1)
  • CHANGELOG.md (1 hunks)

CHANGELOG.md Outdated
@@ -49,6 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#1820](https://github.com/NibiruChain/nibiru/pull/1820) - feat(ica): add interchain accounts
- [#1864](https://github.com/NibiruChain/nibiru/pull/1864) - fix(ica): add ICA controller stack
- [#1872](https://github.com/NibiruChain/nibiru/pull/1872) - chore(math): use cosmossdk.io/math to replace sdk types
- [#1874](https://github.com/NibiruChain/nibiru/pull/1874) - chore(proto): remove the proto stringer
Copy link
Contributor

Choose a reason for hiding this comment

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

Ensure consistency in changelog entry format.

The entry for PR #1874 should follow the same format as other entries. Consider adding a description for clarity.

- [#1874](https://github.com/NibiruChain/nibiru/pull/1874) - chore(proto): remove the proto stringer
+ [#1874](https://github.com/NibiruChain/nibiru/pull/1874) - chore(proto): remove the proto stringer as per Cosmos SDK migration guidelines

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.

Suggested change
- [#1874](https://github.com/NibiruChain/nibiru/pull/1874) - chore(proto): remove the proto stringer
[#1874](https://github.com/NibiruChain/nibiru/pull/1874) - chore(proto): remove the proto stringer as per Cosmos SDK migration guidelines

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 7d4a29e and d0dd56b.
Files selected for processing (1)
  • CHANGELOG.md (1 hunks)

CHANGELOG.md Outdated Show resolved Hide resolved
matthiasmatt and others added 2 commits May 15, 2024 03:29
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
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 d0dd56b and f770f49.
Files selected for processing (1)
  • x/tokenfactory/cli/cli_test.go (4 hunks)
Files skipped from review as they are similar to previous changes (1)
  • x/tokenfactory/cli/cli_test.go

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 f770f49 and 3b051a4.
Files selected for processing (1)
  • CHANGELOG.md (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • CHANGELOG.md

Copy link

codecov bot commented May 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.17%. Comparing base (aeff126) to head (19bac32).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1874      +/-   ##
==========================================
+ Coverage   67.12%   67.17%   +0.05%     
==========================================
  Files         212      212              
  Lines       13463    13447      -16     
==========================================
- Hits         9037     9033       -4     
+ Misses       3780     3768      -12     
  Partials      646      646              
Files Coverage Δ
x/oracle/types/params.go 94.11% <ø> (-0.48%) ⬇️
x/oracle/types/vote.go 60.52% <ø> (+8.25%) ⬆️
x/sudo/keeper/msg_server.go 88.88% <100.00%> (+0.20%) ⬆️
x/tokenfactory/keeper/genesis.go 80.00% <100.00%> (ø)
x/tokenfactory/keeper/msg_server.go 84.61% <100.00%> (ø)
x/tokenfactory/keeper/store.go 100.00% <100.00%> (ø)
x/tokenfactory/types/state.go 96.29% <100.00%> (-0.14%) ⬇️

x/tokenfactory/types/state.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 UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between 3b051a4 and a98447f.
Files selected for processing (11)
  • x/tokenfactory/cli/cli_test.go (4 hunks)
  • x/tokenfactory/keeper/genesis.go (1 hunks)
  • x/tokenfactory/keeper/genesis_test.go (1 hunks)
  • x/tokenfactory/keeper/grpc_query_test.go (2 hunks)
  • x/tokenfactory/keeper/msg_server.go (1 hunks)
  • x/tokenfactory/keeper/msg_server_test.go (10 hunks)
  • x/tokenfactory/keeper/store.go (3 hunks)
  • x/tokenfactory/keeper/store_test.go (1 hunks)
  • x/tokenfactory/keeper/wasm_test.go (4 hunks)
  • x/tokenfactory/types/state.go (2 hunks)
  • x/tokenfactory/types/state_test.go (2 hunks)
Files skipped from review as they are similar to previous changes (11)
  • x/tokenfactory/cli/cli_test.go
  • x/tokenfactory/keeper/genesis.go
  • x/tokenfactory/keeper/genesis_test.go
  • x/tokenfactory/keeper/grpc_query_test.go
  • x/tokenfactory/keeper/msg_server.go
  • x/tokenfactory/keeper/msg_server_test.go
  • x/tokenfactory/keeper/store.go
  • x/tokenfactory/keeper/store_test.go
  • x/tokenfactory/keeper/wasm_test.go
  • x/tokenfactory/types/state.go
  • x/tokenfactory/types/state_test.go

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

Out of diff range and nitpick comments (1)
CHANGELOG.md (1)

Line range hint 63-63: Remove trailing space.

- 
+
Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between a98447f and 2568e04.
Files selected for processing (3)
  • CHANGELOG.md (1 hunks)
  • x/tokenfactory/keeper/msg_server.go (1 hunks)
  • x/tokenfactory/keeper/wasm_test.go (4 hunks)
Files skipped from review as they are similar to previous changes (2)
  • x/tokenfactory/keeper/msg_server.go
  • x/tokenfactory/keeper/wasm_test.go
Additional comments not posted (1)
CHANGELOG.md (1)

53-54: Changelog entry for PR #1874 looks good.

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 2568e04 and 19bac32.
Files selected for processing (3)
  • x/tokenfactory/keeper/msg_server_test.go (10 hunks)
  • x/tokenfactory/types/state.go (1 hunks)
  • x/tokenfactory/types/state_test.go (2 hunks)
Files skipped from review as they are similar to previous changes (3)
  • x/tokenfactory/keeper/msg_server_test.go
  • x/tokenfactory/types/state.go
  • x/tokenfactory/types/state_test.go

@matthiasmatt matthiasmatt merged commit 10cff9e into main May 20, 2024
15 checks passed
@matthiasmatt matthiasmatt deleted the mat/stringer-protobuf branch May 20, 2024 11: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.

None yet

2 participants