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

[TEST-12][1] Prep ICA staking by fixing some bugs #25

Merged
merged 1 commit into from
May 27, 2022
Merged

Conversation

asalzmann
Copy link
Contributor

Summary
In preparation to add ICA staking functionality, fix a few bugs. These are

  • Fix make init, @vish-stride pointed out that the reason make init build={stride, strideall} wasn't working was that some flags were missing
  • Move the initialization of app.ICAControllerKeeper above app.StakeibcKeeper in app.go. app.ICAControllerKeeper was initialized below app.StakeibcKeeper, so calls to ICAControllerKeeper currently fail.
  • add ALLOW_MESSAGES to the gaia genesis.json files so that ICA calls are enabled. Per the ICA docs, allow messages must be defined in order for a controller chain to control an ICA.

This is the first of 3 PRs to add interchain staking to stakeibc, the remaining PRs will

  • Add ICA client functionality and tests to Stride
  • Update stakeibc so that host chain staking happens on a regular cadence

Test plan
ignite chain build and ignite chain serve

Draft PR: #12

@@ -27,6 +27,10 @@ require (
)

replace (
// TODO(TEST-54): Should we delete this replace statement and use the core cosmos-sdk for mainnet?
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice addition!

Copy link
Contributor

@riley-stride riley-stride left a comment

Choose a reason for hiding this comment

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

Looks good and clean. No drastic changes here so I'm going ahead and merging 👍

@riley-stride riley-stride merged commit 7cb7efd into main May 27, 2022
riley-stride pushed a commit that referenced this pull request Sep 5, 2022
asalzmann pushed a commit that referenced this pull request Jan 25, 2024
Co-authored-by: sampocs <sam.pochyly@gmail.com>
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.

2 participants