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: integrate ibc fee middleware #1081

Merged
merged 2 commits into from
Feb 7, 2023
Merged

feat: integrate ibc fee middleware #1081

merged 2 commits into from
Feb 7, 2023

Conversation

dadamu
Copy link
Contributor

@dadamu dadamu commented Feb 3, 2023

Description

This PR integrates ibc fee middleware for ibc modules, allowing the relayer operators to receive tokens when submit the ibc transactions.

This integration follows this guide.

Note:
The channel to support ibc fee middleware should have the version like:

{"fee_version": "ics29-1", "app_version": "ics20-1"}

If the version does not include fee_version, for example ics20-1, then the channel will be considered without middleware, then passing the version onto underlying IBC module and also tagging the channel is not FeeEnabled. The channel version is set in relayer side. So it should work properly integrate ibc fee in our side app only. See here.

Depends-On: #1079


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
  • added ! to 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
  • followed the guidelines for building modules
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • updated the relevant documentation or specification
  • reviewed "Files changed" and left comments if necessary
  • 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.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed ! in the type prefix if API or client breaking change
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic
  • reviewed API design and naming
  • reviewed documentation is accurate
  • reviewed tests and test coverage
  • manually tested (if applicable)

@dadamu dadamu requested a review from a team as a code owner February 3, 2023 08:23
@github-actions github-actions bot added kind/build Related to the build of the project x/CLI x/profiles Module that allows to create and manage decentralized social profiles x/relationships x/subspaces Issue on the x/subspaces module labels Feb 3, 2023
@codecov
Copy link

codecov bot commented Feb 3, 2023

Codecov Report

Base: 80.45% // Head: 80.46% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (0299d17) compared to base (efbb0b9).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1081      +/-   ##
==========================================
+ Coverage   80.45%   80.46%   +0.01%     
==========================================
  Files         180      180              
  Lines       15746    15757      +11     
==========================================
+ Hits        12668    12679      +11     
  Misses       2522     2522              
  Partials      556      556              
Impacted Files Coverage Δ
app/app.go 88.79% <100.00%> (+0.16%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dadamu dadamu force-pushed the paul/integrate-ibc-fee branch 2 times, most recently from b45a894 to f4a96fe Compare February 3, 2023 10:19
@RiccardoM RiccardoM mentioned this pull request Feb 3, 2023
19 tasks
@github-actions github-actions bot removed kind/build Related to the build of the project x/CLI x/subspaces Issue on the x/subspaces module x/relationships x/profiles Module that allows to create and manage decentralized social profiles labels Feb 7, 2023
@RiccardoM RiccardoM added the automerge Automatically merge PR once all prerequisites pass label Feb 7, 2023
@mergify mergify bot merged commit 94a5c4a into master Feb 7, 2023
@mergify mergify bot deleted the paul/integrate-ibc-fee branch February 7, 2023 19:47
mergify bot pushed a commit that referenced this pull request Feb 7, 2023
## Description

This PR integrates ICS27 interchain account module to Desmos, the integration follows [this guide](https://ibc.cosmos.network/main/apps/interchain-accounts/integration.html).

Depends-On: #1081

---

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

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch (see [PR Targeting](https://github.com/desmos-labs/desmos/blob/master/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://docs.cosmos.network/v0.44/building-modules/intro.html)
- [ ] included the necessary unit and integration [tests](https://github.com/desmos-labs/desmos/blob/master/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] 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.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Automatically merge PR once all prerequisites pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants