Skip to content

Commit

Permalink
chore: fix tx command
Browse files Browse the repository at this point in the history
  • Loading branch information
PaddyMc committed Aug 6, 2024
1 parent 478afc7 commit aa936b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func orderBeginBlockers(allModuleNames []string) []string {
// Epochs must come before staking, because txfees epoch hook sends fees to the auth "fee collector"
// module account, which is then distributed to stakers. If staking comes before epochs, then the
// funds will not be distributed to stakers as expected.
ord.FirstElements(upgradetypes.ModuleName, epochstypes.ModuleName, capabilitytypes.ModuleName)
ord.FirstElements(epochstypes.ModuleName, capabilitytypes.ModuleName)

// Staking ordering
// TODO: Perhaps this can be relaxed, left to future work to analyze.
Expand Down
4 changes: 2 additions & 2 deletions cmd/osmosisd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig, t
rootCmd.AddCommand(
server.StatusCommand(),
queryCommand(),
txCommand(),
txCommand(tempApp.ModuleBasics),
keys.Commands(),
)
rootCmd.AddCommand(CmdListQueries(rootCmd))
Expand Down Expand Up @@ -903,7 +903,7 @@ func queryCommand() *cobra.Command {
}

// txCommand adds transaction signing, encoding / decoding, and broadcasting commands.
func txCommand() *cobra.Command {
func txCommand(moduleBasics module.BasicManager) *cobra.Command {
cmd := &cobra.Command{
Use: "tx",
Short: "Transactions subcommands",
Expand Down

0 comments on commit aa936b3

Please sign in to comment.