Skip to content

Commit e3febac

Browse files
committed
added v0.42.4
1 parent 6c35e22 commit e3febac

File tree

6 files changed

+44
-240
lines changed

6 files changed

+44
-240
lines changed

LICENSE

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Gaia
2+
License: Apache2.0
3+
14
Apache License
25
Version 2.0, January 2004
36
http://www.apache.org/licenses/
@@ -178,15 +181,15 @@
178181
APPENDIX: How to apply the Apache License to your work.
179182

180183
To apply the Apache License to your work, attach the following
181-
boilerplate notice, with the fields enclosed by brackets "[]"
184+
boilerplate notice, with the fields enclosed by brackets "{}"
182185
replaced with your own identifying information. (Don't include
183186
the brackets!) The text should be enclosed in the appropriate
184187
comment syntax for the file format. We also recommend that a
185188
file or class name and description of purpose be included on the
186189
same "printed page" as the copyright notice for easier
187190
identification within third-party archives.
188191

189-
Copyright 2016 the Gaia authors
192+
Copyright 2016 All in Bits, Inc
190193

191194
Licensed under the Apache License, Version 2.0 (the "License");
192195
you may not use this file except in compliance with the License.

app/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ func NewKitoolsApp(
348348
// CanWithdrawInvariant invariant.
349349
// NOTE: staking module is required if HistoricalEntries param > 0
350350
app.mm.SetOrderBeginBlockers(
351-
upgradetypes.ModuleName, capabilitytypes.ModuleName, minttypes.ModuleName, distrtypes.ModuleName, slashingtypes.ModuleName,
351+
upgradetypes.ModuleName, minttypes.ModuleName, distrtypes.ModuleName, slashingtypes.ModuleName,
352352
evidencetypes.ModuleName, stakingtypes.ModuleName, ibchost.ModuleName,
353353
)
354354
app.mm.SetOrderEndBlockers(crisistypes.ModuleName, govtypes.ModuleName, stakingtypes.ModuleName)

cmd/kid/cmd/root.go

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313

1414
"github.com/cosmos/cosmos-sdk/baseapp"
1515
"github.com/cosmos/cosmos-sdk/client"
16-
"github.com/cosmos/cosmos-sdk/client/config"
1716
"github.com/cosmos/cosmos-sdk/client/debug"
1817
"github.com/cosmos/cosmos-sdk/client/flags"
1918
"github.com/cosmos/cosmos-sdk/client/keys"
@@ -47,20 +46,13 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) {
4746
WithInput(os.Stdin).
4847
WithAccountRetriever(types.AccountRetriever{}).
4948
WithHomeDir(kitools.DefaultNodeHome).
50-
WithViper("")
49+
WithBroadcastMode(flags.BroadcastBlock)
5150

5251
rootCmd := &cobra.Command{
5352
Use: "kid",
5453
Short: "KiChain app with IBC",
5554
PersistentPreRunE: func(cmd *cobra.Command, _ []string) error {
56-
initClientCtx = client.ReadHomeFlag(initClientCtx, cmd)
57-
58-
initClientCtx, err := config.ReadFromClientConfig(initClientCtx)
59-
if err != nil {
60-
return err
61-
}
62-
63-
if err = client.SetCmdClientContextHandler(initClientCtx, cmd); err != nil {
55+
if err := client.SetCmdClientContextHandler(initClientCtx, cmd); err != nil {
6456
return err
6557
}
6658

@@ -89,7 +81,6 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig) {
8981
tmcli.NewCompletionCmd(rootCmd, true),
9082
testnetCmd(kitools.ModuleBasics, banktypes.GenesisBalancesIterator{}),
9183
debug.Cmd(),
92-
config.Cmd(),
9384
)
9485

9586
server.AddCommands(rootCmd, kitools.DefaultNodeHome, newApp, createSimappAndExport, addModuleInitFlags)

cmd/kid/cmd/root_test.go

Lines changed: 0 additions & 23 deletions
This file was deleted.

go.mod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@ module github.com/KiFoundation/ki-tools
33
go 1.16
44

55
require (
6-
github.com/cosmos/cosmos-sdk v0.42.9
6+
github.com/cosmos/cosmos-sdk v0.42.4
77
github.com/gorilla/mux v1.8.0
8-
github.com/gravity-devs/liquidity v1.2.9
98
github.com/pkg/errors v0.9.1
109
github.com/rakyll/statik v0.1.7
1110
github.com/spf13/cast v1.3.1
1211
github.com/spf13/cobra v1.1.3
1312
github.com/stretchr/testify v1.7.0
14-
github.com/tendermint/tendermint v0.34.11
13+
github.com/tendermint/tendermint v0.34.9
1514
github.com/tendermint/tm-db v0.6.4
1615
)
1716

0 commit comments

Comments
 (0)