-
Notifications
You must be signed in to change notification settings - Fork 692
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Integrate ICS Provider (#1938)
* Update dependencies and compile * Add ICS * Add gov prop * Fix lint * Fix commenting * Fix commenting * Add GetStakingKeeper for ICS e2e test * Gaia implements ibc TestingApp * Update correct return type for GetStakingKeeper * Fix ibc import * Fix linting * Comment back LoadStreamingServices * Change IBC back to v3.4 * Fix ics post merge * Replace ibc with informal/ibc for e2e/ibctesting compatibility * Update ibc to 3.4.0 * Fix linting * Update gaia with new ics keeper interface * Add provider module to simulationModules * Bump ics * Fix sdk import * Update sdk to tagged release * Fix simapp dependence (#1983) * Fix simapp dependence * Fix coverage and linting * Update sim ignore * Update codecov rules * Update ics dependency * Update ICS dependency * Update code cov * Update ICS to tagged version * Update codecov * Add imported ICS test * Make requested test comment changes * Remove commented code Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>
- Loading branch information
Showing
13 changed files
with
2,504 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package gaia | ||
|
||
import ( | ||
"github.com/cosmos/interchain-security/testutil/e2e" | ||
ibcproviderkeeper "github.com/cosmos/interchain-security/x/ccv/provider/keeper" | ||
) | ||
|
||
// ProviderApp interface implementations for e2e tests | ||
|
||
// GetProviderKeeper implements the ProviderApp interface. | ||
func (app *GaiaApp) GetProviderKeeper() ibcproviderkeeper.Keeper { //nolint:nolintlint | ||
return app.ProviderKeeper | ||
} | ||
|
||
// GetE2eStakingKeeper implements the ProviderApp interface. | ||
func (app *GaiaApp) GetE2eStakingKeeper() e2e.E2eStakingKeeper { //nolint:nolintlint | ||
return app.StakingKeeper | ||
} | ||
|
||
// GetE2eBankKeeper implements the ProviderApp interface. | ||
func (app *GaiaApp) GetE2eBankKeeper() e2e.E2eBankKeeper { //nolint:nolintlint | ||
return app.BankKeeper | ||
} | ||
|
||
// GetE2eSlashingKeeper implements the ProviderApp interface. | ||
func (app *GaiaApp) GetE2eSlashingKeeper() e2e.E2eSlashingKeeper { //nolint:nolintlint | ||
return app.SlashingKeeper | ||
} | ||
|
||
// GetE2eDistributionKeeper implements the ProviderApp interface. | ||
func (app *GaiaApp) GetE2eDistributionKeeper() e2e.E2eDistributionKeeper { //nolint:nolintlint | ||
return app.DistrKeeper | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.