Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Jul 22, 2024
1 parent 26ac3cc commit 3cb6395
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 20 deletions.
7 changes: 1 addition & 6 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -741,13 +741,8 @@ func New(
app.MountTransientStores(tkeys)
app.MountMemoryStores(memKeys)

// load state streaming if enabled
if err := app.RegisterStreamingServices(appOpts, keys); err != nil {
fmt.Printf("failed to load state streaming: %s", err)
os.Exit(1)
}

// wire up the versiondb's `StreamingService` and `MultiStore`.
// we don't support other streaming service, versiondb will override the streaming manager.
if cast.ToBool(appOpts.Get("versiondb.enable")) {
qms, err := app.setupVersionDB(homePath, keys, tkeys, memKeys)
if err != nil {
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -220,16 +220,16 @@ require (
)

replace (
github.com/crypto-org-chain/cronos/store => github.com/crypto-org-chain/cronos/store v0.0.5-0.20240722032044-5937a55a81f5
github.com/crypto-org-chain/cronos/versiondb => github.com/crypto-org-chain/cronos/versiondb v0.0.0-20240722032044-5937a55a81f5
github.com/crypto-org-chain/cronos/memiavl => github.com/crypto-org-chain/cronos/memiavl v0.0.5-0.20240722062311-8384cad72737
github.com/crypto-org-chain/cronos/store => github.com/crypto-org-chain/cronos/store v0.0.5-0.20240722062311-8384cad72737
github.com/crypto-org-chain/cronos/versiondb => github.com/crypto-org-chain/cronos/versiondb v0.0.0-20240722062311-8384cad72737
)

replace (
// use cosmos fork of keyring
github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0
github.com/cockroachdb/pebble => github.com/cockroachdb/pebble v0.0.0-20230209160836-829675f94811
github.com/cometbft/cometbft-db => github.com/crypto-org-chain/cometbft-db v0.0.0-20231011055109-57922ac52a63
github.com/crypto-org-chain/cronos/memiavl => github.com/crypto-org-chain/cronos/memiavl v0.0.5-0.20240716081818-7f581a697f6d
// dgrijalva/jwt-go is deprecated and doesn't receive security updates.
// TODO: remove it: https://github.com/cosmos/cosmos-sdk/issues/13134
github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt/v4 v4.4.2
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -452,12 +452,12 @@ github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7Do
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/crypto-org-chain/cometbft-db v0.0.0-20231011055109-57922ac52a63 h1:R1QJ9a3XdYMSKo+1RdFifxb/g3lNypC52L/rpYrWoKo=
github.com/crypto-org-chain/cometbft-db v0.0.0-20231011055109-57922ac52a63/go.mod h1:rocwIfnS+kA060x64gkSIRvWB9StSppIkJuo5MWzL24=
github.com/crypto-org-chain/cronos/memiavl v0.0.5-0.20240716081818-7f581a697f6d h1:KnxhrI4V4QZpzOwLvbUliiAy27byVwIlaawkgbrJyN8=
github.com/crypto-org-chain/cronos/memiavl v0.0.5-0.20240716081818-7f581a697f6d/go.mod h1:gHpd4PhJt1BpjfN3PfChzv+9olZ2yVKDoyiIhMk9VFQ=
github.com/crypto-org-chain/cronos/store v0.0.5-0.20240722032044-5937a55a81f5 h1:YM6wKhVJ43Iv4N4GlZ2FkGSXA/SEoDTu9I9CwzEmboI=
github.com/crypto-org-chain/cronos/store v0.0.5-0.20240722032044-5937a55a81f5/go.mod h1:5N5hz1uJcz55iu6QvUfm3MAHi1Ffg1eviaf+ouLB32M=
github.com/crypto-org-chain/cronos/versiondb v0.0.0-20240722032044-5937a55a81f5 h1:ksknuom+Y6MV9RoNeT6sopLUvfFh7h7FoWyZ2CS9e3g=
github.com/crypto-org-chain/cronos/versiondb v0.0.0-20240722032044-5937a55a81f5/go.mod h1:L+nEBdJOWD42GSiDwsKpUO+5RERYlrUBUEu2G7LO1y4=
github.com/crypto-org-chain/cronos/memiavl v0.0.5-0.20240722062311-8384cad72737 h1:9jyWTnpgelwEvTRFkRxDIn/WBuj8pO4WcWYLbh/fi2k=
github.com/crypto-org-chain/cronos/memiavl v0.0.5-0.20240722062311-8384cad72737/go.mod h1:gHpd4PhJt1BpjfN3PfChzv+9olZ2yVKDoyiIhMk9VFQ=
github.com/crypto-org-chain/cronos/store v0.0.5-0.20240722062311-8384cad72737 h1:KcTmL7lmVr306/7QiBFvgy6mVQuRTdYJc9dP21VuT5s=
github.com/crypto-org-chain/cronos/store v0.0.5-0.20240722062311-8384cad72737/go.mod h1:c4IGVc3Cp6ItRsn3JMDaQ6Xs+YiLTwW25V+F+Lr7G8g=
github.com/crypto-org-chain/cronos/versiondb v0.0.0-20240722062311-8384cad72737 h1:JbP8x7qQg4uClGLipVDy+/WczyxZOqgiFMeOTtcQdCM=
github.com/crypto-org-chain/cronos/versiondb v0.0.0-20240722062311-8384cad72737/go.mod h1:Ze4jRQgCqQL5j38T6m42oxjYM0VZ1bLOcjaUx6gxhLc=
github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4=
github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0=
github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0=
Expand Down
10 changes: 5 additions & 5 deletions gomod2nix.toml
Original file line number Diff line number Diff line change
Expand Up @@ -191,16 +191,16 @@ schema = 3
version = "v0.0.24"
hash = "sha256-4vUukHONOjNn0qfQr4esK6TWfPWsIp+rbdz65og84lw="
[mod."github.com/crypto-org-chain/cronos/memiavl"]
version = "v0.0.5-0.20240716081818-7f581a697f6d"
version = "v0.0.5-0.20240722062311-8384cad72737"
hash = "sha256-KxwdnxZIIdZeugBwduaTFZichmEATZy5bdIiZZetbyE="
replaced = "github.com/crypto-org-chain/cronos/memiavl"
[mod."github.com/crypto-org-chain/cronos/store"]
version = "v0.0.5-0.20240722032044-5937a55a81f5"
hash = "sha256-a/7NNBClmVJ7XL6MX7E9vAHtcNQrDXUXz1AwT9LHB3w="
version = "v0.0.5-0.20240722062311-8384cad72737"
hash = "sha256-WDE/7f8uMwdkNDwX1sx4YJyC42J6f2BsU5Ft0TWWcGc="
replaced = "github.com/crypto-org-chain/cronos/store"
[mod."github.com/crypto-org-chain/cronos/versiondb"]
version = "v0.0.0-20240722032044-5937a55a81f5"
hash = "sha256-6PXh30n3WaQY7qjNFCdA3+jxQzjMJSAbs0ZksA1mgn8="
version = "v0.0.0-20240722062311-8384cad72737"
hash = "sha256-CyRDsKd/CYkTPol9xvQDt6HuOxEMVoPPW/IoGK+UD8Q="
replaced = "github.com/crypto-org-chain/cronos/versiondb"
[mod."github.com/danieljoos/wincred"]
version = "v1.1.2"
Expand Down

0 comments on commit 3cb6395

Please sign in to comment.