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

ibc-transfer: enable transfer parameter #6607

Merged
merged 10 commits into from
Aug 17, 2020
Merged

Conversation

fedekunze
Copy link
Collaborator

@fedekunze fedekunze commented Jul 6, 2020

Description

closes: #6591


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 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.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@fedekunze fedekunze added the x/ibc label Jul 6, 2020
@fedekunze fedekunze added the S:blocked Status: Blocked label Jul 8, 2020
@fedekunze
Copy link
Collaborator Author

will block this PR until #6641 is merged

@fedekunze fedekunze removed the S:blocked Status: Blocked label Aug 14, 2020
@codecov
Copy link

codecov bot commented Aug 14, 2020

Codecov Report

Merging #6607 into master will decrease coverage by 0.03%.
The diff coverage is 39.08%.

@@            Coverage Diff             @@
##           master    #6607      +/-   ##
==========================================
- Coverage   54.76%   54.72%   -0.04%     
==========================================
  Files         537      539       +2     
  Lines       36687    36770      +83     
==========================================
+ Hits        20090    20121      +31     
- Misses      14958    15008      +50     
- Partials     1639     1641       +2     

@fedekunze fedekunze marked this pull request as ready for review August 14, 2020 23:23
@fedekunze fedekunze added the A:automerge Automatically merge PR once all prerequisites pass. label Aug 14, 2020
Copy link
Collaborator

@anilcse anilcse left a comment

Choose a reason for hiding this comment

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

lgtm

proto/cosmos/bank/v1beta1/query.proto Show resolved Hide resolved
x/ibc-transfer/keeper/grpc_query.go Show resolved Hide resolved
x/ibc-transfer/keeper/grpc_query_test.go Show resolved Hide resolved
@fedekunze fedekunze merged commit 0e3f873 into master Aug 17, 2020
@fedekunze fedekunze deleted the fedekunze/6591-ibc-param branch August 17, 2020 06:24
Copy link
Contributor

@colin-axner colin-axner left a comment

Choose a reason for hiding this comment

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

post-merge ACK

proto/cosmos/bank/v1beta1/query.proto Show resolved Hide resolved
@@ -60,3 +60,13 @@ message DenomTrace {
// base denomination of the relayed fungible token.
string base_denom = 2;
}

// Params defines the set of IBC transfer parameters.
// NOTE: To prevent a single token from being transferred, set the TransfersEnabled parameter to
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this note could be slightly more clear:

  • to block any cross-chain transfers -> disable ibc-transfer param
  • to block intrachain transfers for a specific denom -> disable bank param for that denom

@colin-axner colin-axner mentioned this pull request Aug 18, 2020
9 tasks
larry0x pushed a commit to larry0x/cosmos-sdk that referenced this pull request May 22, 2023
* ibc-transfer: enable transfer parameter

* param_test.go

* update tests and types

* gRPC test

* relay logic and spec update

* fix tests

* unused param
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable IBC token transfers param
3 participants