Skip to content

Commit 678841c

Browse files
committed
update SDK to v0.45.10 and update IAVL flag
1 parent cf24888 commit 678841c

4 files changed

Lines changed: 55 additions & 45 deletions

File tree

cmd/acred/root.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ func initAppConfig() (string, interface{}) {
214214

215215
srvCfg.StateSync.SnapshotInterval = 1500
216216
srvCfg.StateSync.SnapshotKeepRecent = 2
217+
srvCfg.IAVLDisableFastNode = false
217218

218219
return customAppTemplate, srvCfg
219220
}
@@ -267,6 +268,8 @@ func (a appCreator) newApp(logger log.Logger, db dbm.DB, traceStore io.Writer, a
267268
baseapp.SetSnapshotStore(snapshotStore),
268269
baseapp.SetSnapshotInterval(cast.ToUint64(appOpts.Get(sdkserver.FlagStateSyncSnapshotInterval))),
269270
baseapp.SetSnapshotKeepRecent(cast.ToUint32(appOpts.Get(sdkserver.FlagStateSyncSnapshotKeepRecent))),
271+
baseapp.SetIAVLCacheSize(cast.ToInt(appOpts.Get(sdkserver.FlagIAVLCacheSize))),
272+
baseapp.SetIAVLDisableFastNode(cast.ToBool(appOpts.Get(sdkserver.FlagIAVLFastNode))),
270273
)
271274

272275
return acreApp

go.mod

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.18
44

55
require (
66
github.com/armon/go-metrics v0.4.0
7-
github.com/cosmos/cosmos-sdk v0.45.9
7+
github.com/cosmos/cosmos-sdk v0.45.10
88
github.com/cosmos/go-bip39 v1.0.0
99
github.com/cosmos/ibc-go/v3 v3.2.0
1010
github.com/ethereum/go-ethereum v1.10.19
@@ -20,11 +20,11 @@ require (
2020
github.com/spf13/cast v1.5.0
2121
github.com/spf13/cobra v1.5.0
2222
github.com/stretchr/testify v1.8.0
23-
github.com/tendermint/tendermint v0.34.21
23+
github.com/tendermint/tendermint v0.34.22
2424
github.com/tendermint/tm-db v0.6.7
2525
go.opencensus.io v0.23.0
26-
google.golang.org/genproto v0.0.0-20220810155839-1856144b1d9c
27-
google.golang.org/grpc v1.48.0
26+
google.golang.org/genproto v0.0.0-20220921223823-23cae91e6737
27+
google.golang.org/grpc v1.50.0
2828
google.golang.org/protobuf v1.28.1
2929
gopkg.in/yaml.v2 v2.4.0
3030
)
@@ -100,25 +100,25 @@ require (
100100
github.com/holiman/uint256 v1.2.0 // indirect
101101
github.com/huin/goupnp v1.0.3 // indirect
102102
github.com/improbable-eng/grpc-web v0.15.0 // indirect
103-
github.com/inconshreveable/mousetrap v1.0.0 // indirect
103+
github.com/inconshreveable/mousetrap v1.0.1 // indirect
104104
github.com/jackpal/go-nat-pmp v1.0.2 // indirect
105105
github.com/jmhodges/levigo v1.0.0 // indirect
106106
github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d // indirect
107107
github.com/klauspost/compress v1.15.9 // indirect
108108
github.com/lib/pq v1.10.6 // indirect
109109
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
110110
github.com/magiconair/properties v1.8.6 // indirect
111-
github.com/mattn/go-colorable v0.1.12 // indirect
112-
github.com/mattn/go-isatty v0.0.14 // indirect
111+
github.com/mattn/go-colorable v0.1.13 // indirect
112+
github.com/mattn/go-isatty v0.0.16 // indirect
113113
github.com/mattn/go-runewidth v0.0.9 // indirect
114114
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
115-
github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643 // indirect
115+
github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 // indirect
116116
github.com/minio/highwayhash v1.0.2 // indirect
117117
github.com/mitchellh/mapstructure v1.5.0 // indirect
118118
github.com/mtibben/percent v0.2.1 // indirect
119119
github.com/olekukonko/tablewriter v0.0.5 // indirect
120120
github.com/pelletier/go-toml v1.9.5 // indirect
121-
github.com/pelletier/go-toml/v2 v2.0.2 // indirect
121+
github.com/pelletier/go-toml/v2 v2.0.5 // indirect
122122
github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 // indirect
123123
github.com/pmezard/go-difflib v1.0.0 // indirect
124124
github.com/prometheus/client_golang v1.12.2 // indirect
@@ -131,15 +131,15 @@ require (
131131
github.com/rjeczalik/notify v0.9.2 // indirect
132132
github.com/rs/cors v1.8.2 // indirect
133133
github.com/rs/zerolog v1.27.0 // indirect
134-
github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa // indirect
134+
github.com/sasha-s/go-deadlock v0.3.1 // indirect
135135
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
136136
github.com/spf13/afero v1.8.2 // indirect
137137
github.com/spf13/jwalterweatherman v1.1.0 // indirect
138138
github.com/spf13/pflag v1.0.5 // indirect
139-
github.com/spf13/viper v1.12.0 // indirect
139+
github.com/spf13/viper v1.13.0 // indirect
140140
github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969 // indirect
141141
github.com/stretchr/objx v0.4.0 // indirect
142-
github.com/subosito/gotenv v1.4.0 // indirect
142+
github.com/subosito/gotenv v1.4.1 // indirect
143143
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
144144
github.com/tendermint/btcd v0.1.1 // indirect
145145
github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 // indirect
@@ -151,20 +151,21 @@ require (
151151
go.etcd.io/bbolt v1.3.6 // indirect
152152
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect
153153
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
154-
golang.org/x/net v0.0.0-20220726230323-06994584191e // indirect
155-
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
156-
golang.org/x/sys v0.0.0-20220727055044-e65921a090b8 // indirect
154+
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect
155+
golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde // indirect
156+
golang.org/x/sys v0.0.0-20220818161305-2296e01440c6 // indirect
157157
golang.org/x/term v0.0.0-20220722155259-a9ba230a4035 // indirect
158158
golang.org/x/text v0.3.7 // indirect
159-
gopkg.in/ini.v1 v1.66.6 // indirect
159+
gopkg.in/ini.v1 v1.67.0 // indirect
160160
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
161161
gopkg.in/yaml.v3 v3.0.1 // indirect
162162
nhooyr.io/websocket v1.8.7 // indirect
163163
)
164164

165165
replace (
166166
github.com/99designs/keyring => github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76
167-
github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0
168167
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
169168
google.golang.org/grpc => google.golang.org/grpc v1.33.2
170169
)
170+
171+
replace github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0

0 commit comments

Comments
 (0)