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

Adding ICA Host module #1564

Merged
merged 10 commits into from
May 25, 2022
Merged

Adding ICA Host module #1564

merged 10 commits into from
May 25, 2022

Conversation

ValarDragon
Copy link
Member

@ValarDragon ValarDragon commented May 23, 2022

Closes: #XXX

What is the purpose of the change

Adds Interchain account host module

Brief Changelog

  • Add interchain account host module

Testing and Verifying

References I'm using in writing this:

As long as we can verify that IBC channel creation and sends still work post this getting merged, I think were fine.

Documentation and Release Note

Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

🙌

// create ICS27 Host submodule params
hostParams := icahosttypes.Params{
HostEnabled: true,
AllowMessages: []string{"/cosmos.bank.v1beta1.MsgSend"},
Copy link
Contributor

Choose a reason for hiding this comment

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

To be safe here, what we can/should do, is the use the types directly.

i.e.

AllowMessages: []string{
  sdk.MsgTypeURL(&banktypes.MsgSend{}),
  // ...
}

Copy link
Member Author

Choose a reason for hiding this comment

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

such sad that we have to do this :/

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 going to add send, gov vote, stake, reward claim, and gamm messages.

I think we just go change the IBC interface to make it more sane to include everything by default >:( (Aditya mentioned this is on their roadmap, may be we can just help with a PR here, if they'd be down to release sooner)

Copy link
Member Author

Choose a reason for hiding this comment

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

And Authz, they can take the L of executing two messages via authz'ing to themself lol

@ValarDragon
Copy link
Member Author

We should use this PR as a reference for more boilerplate we need to eliminate

@ValarDragon ValarDragon marked this pull request as ready for review May 24, 2022 01:18
@ValarDragon ValarDragon requested a review from a team May 24, 2022 01:18
@codecov-commenter
Copy link

codecov-commenter commented May 24, 2022

Codecov Report

Merging #1564 (61862fc) into main (78ed877) will increase coverage by 0.08%.
The diff coverage is 93.93%.

@@            Coverage Diff             @@
##             main    #1564      +/-   ##
==========================================
+ Coverage   19.49%   19.57%   +0.08%     
==========================================
  Files         243      243              
  Lines       32266    32297      +31     
==========================================
+ Hits         6290     6322      +32     
+ Misses      24822    24821       -1     
  Partials     1154     1154              
Impacted Files Coverage Δ
app/upgrades/v9/upgrades.go 94.28% <93.93%> (+69.28%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 78ed877...61862fc. Read the comment docs.

@ValarDragon ValarDragon changed the title wip Adding ICA Host module Adding ICA Host module May 24, 2022
@ValarDragon ValarDragon merged commit 09f3184 into main May 25, 2022
@ValarDragon ValarDragon deleted the dev/ica_host branch May 25, 2022 01:04
@ValarDragon ValarDragon added the A:backport/v9.x Do not use. backport patches to v9.x branch label May 25, 2022
mergify bot pushed a commit that referenced this pull request May 25, 2022
(cherry picked from commit 09f3184)

# Conflicts:
#	app/upgrades/v9/constants.go
#	app/upgrades/v9/upgrades.go
p0mvn added a commit that referenced this pull request May 25, 2022
* Adding ICA Host module (#1564)

(cherry picked from commit 09f3184)

# Conflicts:
#	app/upgrades/v9/constants.go
#	app/upgrades/v9/upgrades.go

* fix conflicts

Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
Co-authored-by: Roman <roman@osmosis.team>
@github-actions github-actions bot mentioned this pull request Feb 15, 2024
@github-actions github-actions bot mentioned this pull request Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge A:backport/v9.x Do not use. backport patches to v9.x branch
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants