-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(sims): move sims with depinject to tests (#19121)
- Loading branch information
1 parent
9853db0
commit 7f0f405
Showing
70 changed files
with
314 additions
and
580 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
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,27 @@ | ||
package distribution_test | ||
|
||
import ( | ||
_ "cosmossdk.io/x/auth" // import as blank for app wiring | ||
_ "cosmossdk.io/x/auth/tx/config" // import as blank for app wiring | ||
_ "cosmossdk.io/x/bank" // import as blank for app wiring | ||
_ "cosmossdk.io/x/distribution" // import as blank for app wiring | ||
_ "cosmossdk.io/x/mint" // import as blank for app wiring | ||
_ "cosmossdk.io/x/protocolpool" // import as blank for app wiring | ||
_ "cosmossdk.io/x/staking" // import as blank for app wiring | ||
|
||
"github.com/cosmos/cosmos-sdk/testutil/configurator" | ||
_ "github.com/cosmos/cosmos-sdk/x/consensus" // import as blank for app wiring | ||
_ "github.com/cosmos/cosmos-sdk/x/genutil" // import as blank for app wiring | ||
) | ||
|
||
var AppConfig = configurator.NewAppConfig( | ||
configurator.AuthModule(), | ||
configurator.BankModule(), | ||
configurator.StakingModule(), | ||
configurator.TxModule(), | ||
configurator.ConsensusModule(), | ||
configurator.GenutilModule(), | ||
configurator.DistributionModule(), | ||
configurator.MintModule(), | ||
configurator.ProtocolPoolModule(), | ||
) |
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
2 changes: 1 addition & 1 deletion
2
x/evidence/testutil/app_config.go → tests/integration/evidence/app_config.go
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package testutil | ||
package evidence_test | ||
|
||
import ( | ||
_ "cosmossdk.io/x/auth" // import as blank for app wiring | ||
|
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
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
2 changes: 1 addition & 1 deletion
2
x/mint/testutil/app_config.go → tests/integration/mint/app_config.go
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package testutil | ||
package mint | ||
|
||
import ( | ||
_ "cosmossdk.io/x/auth" // import as blank for app wiring | ||
|
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.