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

cleanup: remove GetPrefixedDenom #6440

Merged
merged 6 commits into from
Jun 3, 2024

Conversation

crodriguezvega
Copy link
Contributor

@crodriguezvega crodriguezvega commented May 31, 2024

Description

closes: #6429


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against the correct branch (see CONTRIBUTING.md).
  • Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
  • Code follows the module structure standards and Go style guide.
  • Wrote unit and integration tests.
  • Updated relevant documentation (docs/).
  • Added relevant godoc comments.
  • Provide a conventional commit message to follow the repository standards.
  • Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
  • Re-reviewed Files changed in the GitHub PR explorer.
  • Review SonarCloud Report in the comment section below once CI passes.

Summary by CodeRabbit

  • Refactor

    • Updated packet data unmarshaling to include portID and channelID.
    • Removed GetPrefixedDenom function in the transfer application.
    • Refactored denomination handling in various test suites to use NewDenom and NewTrace.
  • Tests

    • Adjusted balance verification logic in GrandpaTestSuite.
    • Updated voucher denomination handling in replay_test.go and transfer_test.go.
    • Refactored token transfer and metadata handling in migrations_test.go and relay_test.go.

@crodriguezvega crodriguezvega linked an issue May 31, 2024 that may be closed by this pull request
3 tasks
Copy link
Contributor

coderabbitai bot commented May 31, 2024

Walkthrough

Walkthrough

The changes primarily focus on refactoring the handling of packet data unmarshaling and denomination traces within the Cosmos IBC Go project. Key modifications include updating the UnmarshalPacketData interface to accept additional parameters, removing the GetPrefixedDenom function, and replacing ParseDenomTrace with NewDenom in various test files. These updates streamline the code and enhance the consistency of denomination handling across the project.

Changes

File(s) Change Summary
CHANGELOG.md Documented the changes to UnmarshalPacketData and the removal of GetPrefixedDenom.
e2e/tests/wasm/grandpa_test.go Updated denomination construction using transfertypes.NewDenom instead of ParseDenomTrace.
modules/apps/callbacks/replay_test.go, modules/apps/callbacks/transfer_test.go Refactored voucher denomination handling using transfertypes.NewDenom.
modules/apps/transfer/keeper/migrations_test.go, modules/apps/transfer/keeper/relay_test.go Refactored denomination and trace handling, updating metadata and denomination paths.

Sequence Diagram(s) (Beta)

Silently ignored as the changes are primarily refactoring and do not introduce new features or modify control flow significantly.

Assessment against linked issues

Objective (Issue #) Addressed Explanation
Remove GetPrefixedDenom (#6429)

Possibly related issues


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.

@@ -11,6 +11,14 @@ import (
cmtbytes "github.com/cometbft/cometbft/libs/bytes"
)

// NewDenom creates a new Denom instance given the base denomination and trace.
func NewDenom(base string, trace ...Trace) Denom {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought it would be nice to have a constructor function. I can use it other places of the codebase, once the PR is merged.

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

Outside diff range and nitpick comments (3)
CHANGELOG.md (3)

Line range hint 218-218: Remove trailing spaces to maintain clean and consistent formatting in the markdown file.

- * (core/05-port) [\#6341](https://github.com/cosmos/ibc-go/pull/6341) Modify `UnmarshalPacketData` interface to take in the context, portID, and channelID. This allows for packet data's to be unmarshaled based on the channel version. 
+ * (core/05-port) [\#6341](https://github.com/cosmos/ibc-go/pull/6341) Modify `UnmarshalPacketData` interface to take in the context, portID, and channelID. This allows for packet data's to be unmarshaled based on the channel version.

Line range hint 268-268: Remove trailing spaces to maintain clean and consistent formatting in the markdown file.

- * (apps/transfer) [\#6440](https://github.com/cosmos/ibc-go/pull/6440) Remove `GetPrefixedDenom`. 
+ * (apps/transfer) [\#6440](https://github.com/cosmos/ibc-go/pull/6440) Remove `GetPrefixedDenom`.

Line range hint 203-203: Replace bare URL with a markdown link to enhance the readability and formatting of the document.

- * [\#3133](https://github.com/cosmos/ibc-go/pull/3133) Add linter for markdown documents.
+ * [[\#3133](https://github.com/cosmos/ibc-go/pull/3133)](https://github.com/cosmos/ibc-go/pull/3133) Add linter for markdown documents.
Review details

Configuration used: .coderabbit.yml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 7068760 and 342b42a.

Files selected for processing (7)
  • CHANGELOG.md (1 hunks)
  • e2e/tests/wasm/grandpa_test.go (1 hunks)
  • modules/apps/callbacks/replay_test.go (4 hunks)
  • modules/apps/callbacks/transfer_test.go (2 hunks)
  • modules/apps/transfer/keeper/migrations_test.go (1 hunks)
  • modules/apps/transfer/keeper/relay_test.go (19 hunks)
  • modules/apps/transfer/types/denom.go (1 hunks)
Additional context used
Path-based instructions (7)
modules/apps/transfer/types/denom.go (1)

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

modules/apps/callbacks/transfer_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"

modules/apps/transfer/keeper/migrations_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"

modules/apps/callbacks/replay_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"

e2e/tests/wasm/grandpa_test.go (3)

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


Pattern e2e/**/*: "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"

modules/apps/transfer/keeper/relay_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"

CHANGELOG.md (1)

Pattern **/*.md: "Assess the documentation for misspellings, grammatical errors, missing documentation and correctness"

Markdownlint
CHANGELOG.md

218-218: Expected: 0 or 2; Actual: 1
Trailing spaces


268-268: Expected: 0 or 2; Actual: 1
Trailing spaces


203-203: null
Bare URL used

Additional comments not posted (13)
modules/apps/transfer/types/denom.go (1)

14-20: The implementation of NewDenom is clear and concise. It effectively replaces the removed GetPrefixedDenom function.

modules/apps/callbacks/transfer_test.go (2)

185-186: The refactoring to use NewDenom in ExecuteTransfer aligns with the removal of GetPrefixedDenom and is implemented correctly.

Also applies to: 213-213


210-211: The use of NewDenom in ExecuteTransferTimeout is consistent with the changes in ExecuteTransfer and correctly implements the new approach.

modules/apps/transfer/keeper/migrations_test.go (1)

210-211: The use of NewDenom in TestMigrateTotalEscrowForDenom correctly reflects the intended removal of GetPrefixedDenom and its replacement with NewDenom.

modules/apps/callbacks/replay_test.go (2)

289-290: The refactoring to use NewDenom in TestTransferRecvPacketReplayProtection is correctly implemented and aligns with the PR's objectives.

Also applies to: 299-301


322-323: The use of NewDenom in ExecuteFailedTransfer is consistent with the changes in other test methods and correctly implements the new approach.

Also applies to: 350-350

e2e/tests/wasm/grandpa_test.go (1)

209-210: The usage of transfertypes.NewDenom and transfertypes.NewTrace here is consistent with the PR's objective to replace GetPrefixedDenom with these new functions. This change simplifies the creation of IBC denominations by directly constructing them with base and trace information.

modules/apps/transfer/keeper/relay_test.go (5)

667-667: Ensure correct usage of the new Denom structure in packet acknowledgements.

Check that the Denom structure is correctly used in the context of packet acknowledgements, particularly ensuring that the IBCDenom() method is utilized.

Also applies to: 683-683, 692-692, 707-707, 718-718

Verification successful

The OnAcknowledgementPacket function in modules/apps/transfer/keeper/relay.go does not explicitly show the usage of the Denom structure. To ensure the correct usage of the Denom structure, particularly the IBCDenom() method, we need to check the refundPacketToken function, as it is called within OnAcknowledgementPacket.

Let's extract the implementation of the refundPacketToken function to verify the usage of the Denom structure.


The refundPacketToken function in modules/apps/transfer/keeper/relay.go correctly uses the Denom structure, specifically the IBCDenom() method, to handle token refunds. This confirms that the Denom structure is being used appropriately in the context of packet acknowledgements.

  • modules/apps/transfer/keeper/relay.go:336: The IBCDenom() method is used to create a new coin.
  • modules/apps/transfer/keeper/relay.go:343: The SenderChainIsSource method of the Denom structure is used to determine the source chain.

These usages indicate that the Denom structure is integrated correctly within the packet acknowledgement process.

Scripts executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify that the new `Denom` structure is used correctly in packet acknowledgements.

# Test: Search for `Denom` usage in packet acknowledgements. Expect: Correct implementation.
rg --type go $'OnAcknowledgementPacket'

Length of output: 8721



Script:

#!/bin/bash
# Extract the OnAcknowledgementPacket function implementation from relay.go
ast-grep --lang go --pattern $'func (k Keeper) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, data types.FungibleTokenPacketDataV2, ack channeltypes.Acknowledgement) error {
  $$$
}' modules/apps/transfer/keeper/relay.go

Length of output: 1412



Script:

#!/bin/bash
# Extract the refundPacketToken function implementation from relay.go
ast-grep --lang go --pattern $'func (k Keeper) refundPacketToken(ctx sdk.Context, packet channeltypes.Packet, data types.FungibleTokenPacketDataV2) error {
  $$$
}' modules/apps/transfer/keeper/relay.go

Length of output: 3314


402-402: Verify metadata retrieval and comparison.

Ensure that the metadata retrieval and comparison logic correctly uses the IBCDenom() method from the new Denom structure.

Verification successful

To verify the metadata retrieval and comparison logic, we need to examine the context and usage of the GetDenomMetaData method in the identified files. Specifically, we need to ensure that the IBCDenom() method from the new Denom structure is correctly used.

Let's inspect the relevant lines in the identified files to confirm the correct implementation.


The context and usage of the GetDenomMetaData method in the identified files show that the metadata retrieval and comparison logic is correctly implemented. The IBCDenom() method from the new Denom structure is used appropriately in the tests.

  • relay_test.go: The IBCDenom() method is used to retrieve the denomination metadata, and the results are compared as expected.
  • migrations_test.go: The metadata is retrieved using the base denomination, and the results are compared correctly.
  • genesis_test.go: The IBCDenom() method is used to retrieve the denomination metadata, and the presence of the metadata is verified.

No issues were found with the metadata retrieval and comparison logic.

Scripts executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify that metadata retrieval and comparison are correctly implemented.

# Test: Search for metadata retrieval and comparison logic. Expect: Correct implementation.
rg --type go $'GetDenomMetaData'

Length of output: 673



Script:

#!/bin/bash
# Description: Inspect the context and usage of GetDenomMetaData in the identified files.

# Extract lines around the usage of GetDenomMetaData in relay_test.go
rg --type go --context 5 'GetDenomMetaData' modules/apps/transfer/keeper/relay_test.go

# Extract lines around the usage of GetDenomMetaData in migrations_test.go
rg --type go --context 5 'GetDenomMetaData' modules/apps/transfer/keeper/migrations_test.go

# Extract lines around the usage of GetDenomMetaData in genesis_test.go
rg --type go --context 5 'GetDenomMetaData' modules/apps/transfer/keeper/genesis_test.go

Length of output: 1734


356-368: Ensure metadata consistency with the new Denom structure.

Check that the Metadata structure is correctly populated using the new Denom fields, especially the IBCDenom() and FullPath() methods.


Line range hint 878-979: Review timeout handling for accuracy and compliance with new Denom structure.

Check that the timeout handling logic accurately uses the new Denom structure, particularly in the context of refunds and escrow adjustments.

Verification successful

The refundPacketToken function in modules/apps/transfer/keeper/relay.go correctly handles the new Denom structure. It processes each token in the packet data, checks if the sender chain is the source, and either unescrows the tokens back to the sender or mints vouchers back to the sender. This ensures proper handling of refunds and escrow adjustments.

  • The function uses token.Denom.IBCDenom() to create the coin.
  • It checks token.Denom.SenderChainIsSource to determine the appropriate action (unescrow or mint).

This confirms that the timeout handling logic is accurate and complies with the new Denom structure.

Scripts executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify that timeout handling is accurate and complies with the new `Denom` structure.

# Test: Search for timeout handling logic. Expect: Compliance with new `Denom` structure.
rg --type go $'OnTimeoutPacket'

Length of output: 7862



Script:

#!/bin/bash
# Extract the OnTimeoutPacket function implementation from relay.go for detailed review.
ast-grep --lang go --pattern $'func (k Keeper) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet, data types.FungibleTokenPacketDataV2) error {
  $$$
}' modules/apps/transfer/keeper/relay.go

Length of output: 499



Script:

#!/bin/bash
# Extract the refundPacketToken function implementation for detailed review.
ast-grep --lang go --pattern $'func (k Keeper) refundPacketToken(ctx sdk.Context, packet channeltypes.Packet, data types.FungibleTokenPacketDataV2) error {
  $$$
}' modules/apps/transfer/keeper/relay.go

Length of output: 3314


750-761: Verify balance calculations post-acknowledgement.

Ensure that the balance calculations after packet acknowledgement are accurate and reflect the expected changes due to the acknowledgement result.

CHANGELOG.md (1)

57-58: The changelog entries for the modifications to the UnmarshalPacketData interface and the removal of GetPrefixedDenom function are correctly documented under the "API Breaking" section. This aligns with the changes described in the AI-generated summary and PR objectives, ensuring that the documentation is consistent with the code changes.

modules/apps/transfer/keeper/relay_test.go Show resolved Hide resolved
modules/apps/transfer/keeper/relay_test.go Show resolved Hide resolved
modules/apps/transfer/keeper/relay_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@DimitrisJim DimitrisJim left a comment

Choose a reason for hiding this comment

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

definite yes for the constructor!

modules/apps/transfer/types/denom.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: 1

Review details

Configuration used: .coderabbit.yml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 342b42a and 32300af.

Files selected for processing (1)
  • modules/apps/transfer/types/denom.go (1 hunks)
Additional context used
Path-based instructions (1)
modules/apps/transfer/types/denom.go (1)

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

GitHub Check: tests (03)
modules/apps/transfer/types/denom.go

[failure] 18-18:
undefined: trace

GitHub Check: tests (02)
modules/apps/transfer/types/denom.go

[failure] 18-18:
undefined: trace


[failure] 18-18:
undefined: trace


[failure] 18-18:
undefined: trace


[failure] 18-18:
undefined: trace

GitHub Check: tests (01)
modules/apps/transfer/types/denom.go

[failure] 18-18:
undefined: trace


[failure] 18-18:
undefined: trace

GitHub Check: tests (00)
modules/apps/transfer/types/denom.go

[failure] 18-18:
undefined: trace

GitHub Check: build (arm64)
modules/apps/transfer/types/denom.go

[failure] 18-18:
undefined: trace

GitHub Check: lint
modules/apps/transfer/types/denom.go

[failure] 18-18:
undefined: trace) (typecheck)


[failure] 18-18:
undefined: trace) (typecheck)


[failure] 18-18:
undefined: trace) (typecheck)


[failure] 18-18:
undefined: trace) (typecheck)


[failure] 18-18:
undefined: trace) (typecheck)

GitHub Check: build (amd64)
modules/apps/transfer/types/denom.go

[failure] 18-18:
undefined: trace

Comment on lines 14 to 20
// NewDenom creates a new Denom instance given the base denomination and a variable number of traces.
func NewDenom(base string, traces ...Trace) Denom {
return Denom{
Base: base,
Trace: trace,
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Correct the variable name to match the function parameter.

-		Trace: trace,
+		Trace: traces,

The function parameter is traces but you used trace which is undefined. This change should resolve the compilation errors reported by static analysis tools.

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
// NewDenom creates a new Denom instance given the base denomination and a variable number of traces.
func NewDenom(base string, traces ...Trace) Denom {
return Denom{
Base: base,
Trace: trace,
}
}
// NewDenom creates a new Denom instance given the base denomination and a variable number of traces.
func NewDenom(base string, traces ...Trace) Denom {
return Denom{
Base: base,
Trace: traces,
}
}
Tools
GitHub Check: tests (03)

[failure] 18-18:
undefined: trace

GitHub Check: tests (02)

[failure] 18-18:
undefined: trace


[failure] 18-18:
undefined: trace


[failure] 18-18:
undefined: trace


[failure] 18-18:
undefined: trace

GitHub Check: tests (01)

[failure] 18-18:
undefined: trace


[failure] 18-18:
undefined: trace

GitHub Check: tests (00)

[failure] 18-18:
undefined: trace

GitHub Check: build (arm64)

[failure] 18-18:
undefined: trace

GitHub Check: lint

[failure] 18-18:
undefined: trace) (typecheck)


[failure] 18-18:
undefined: trace) (typecheck)


[failure] 18-18:
undefined: trace) (typecheck)


[failure] 18-18:
undefined: trace) (typecheck)


[failure] 18-18:
undefined: trace) (typecheck)

GitHub Check: build (amd64)

[failure] 18-18:
undefined: trace

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 32300af and 8d85bbc.

Files selected for processing (1)
  • modules/apps/transfer/types/denom.go (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • modules/apps/transfer/types/denom.go

@@ -263,8 +263,8 @@ func (suite *KeeperTestSuite) TestSendTransferSetsTotalEscrowAmountForSourceIBCT
suite.Require().NoError(err)

// execute
trace := types.ParseDenomTrace(types.GetPrefixedDenom(path1.EndpointB.ChannelConfig.PortID, path1.EndpointB.ChannelID, sdk.DefaultBondDenom))
coin = sdk.NewCoin(trace.IBCDenom(), sdkmath.NewInt(100))
voucherDenom := types.NewDenom(sdk.DefaultBondDenom, types.NewTrace(path1.EndpointB.ChannelConfig.PortID, path1.EndpointB.ChannelID))
Copy link
Contributor

Choose a reason for hiding this comment

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

last week locally I had these changes to remove ParseDenomTrace, what about just denom instead of voucherDenom?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good, I will quickly update.

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 8d85bbc and b201934.

Files selected for processing (3)
  • modules/apps/callbacks/replay_test.go (4 hunks)
  • modules/apps/callbacks/transfer_test.go (2 hunks)
  • modules/apps/transfer/keeper/relay_test.go (19 hunks)
Files skipped from review as they are similar to previous changes (3)
  • modules/apps/callbacks/replay_test.go
  • modules/apps/callbacks/transfer_test.go
  • modules/apps/transfer/keeper/relay_test.go

Copy link

sonarqubecloud bot commented Jun 3, 2024

Quality Gate Passed Quality Gate passed for 'ibc-go'

Issues
12 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@crodriguezvega crodriguezvega merged commit f8871a7 into main Jun 3, 2024
87 of 90 checks passed
@crodriguezvega crodriguezvega deleted the carlos/6429-remove-getprefixeddenom branch June 3, 2024 11:20
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.

Remove GetPrefixedDenom
3 participants