-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(server/v2) Add prune cmd to serverv2 #20736
Changes from 72 commits
8f89f81
462dd13
33f674a
0c3c6ce
45be505
4769135
d4927b4
b99e554
44d609c
8c4822e
63b1b03
0907699
ac93a66
40eab2f
974e3f9
3ae993a
7b5fda6
8071c9f
b6a6cfe
e70f3db
c6f36fe
19cf97d
36db1e7
62ab829
323250a
bc06fdf
dab94a4
e0bc1d7
feb346d
ace696d
1bd995d
5099084
a70891c
355e8e2
916627d
46334c8
0c28588
eda5037
8becfe3
ccc0976
75906b0
0676698
1c08a6d
2d3e581
07a53d1
31c3da4
93e797b
7ca4458
316a9d2
f1d40fc
57682b5
ee6057b
4e871f1
ad013c5
1984592
d81532a
3dba15d
ccc3722
6b5b25a
9a992b7
a7a38ed
786995a
58fface
43b23c1
158f3e5
3fa1187
5dcd3c4
c602198
f833ca4
a2cd556
1a56ec6
67cf8b4
237ef66
ded5c63
30e521f
700d59c
7d6bdaa
145dcc2
3d01423
32249d3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -10,6 +10,8 @@ replace ( | |||
cosmossdk.io/log => ../../log | ||||
cosmossdk.io/server/v2/appmanager => ./appmanager | ||||
cosmossdk.io/server/v2/stf => ./stf | ||||
cosmossdk.io/store/v2 => ../../store/v2 | ||||
cosmossdk.io/store/v2/db => ../../store/v2/db | ||||
cosmossdk.io/x/tx => ../../x/tx | ||||
) | ||||
|
||||
|
@@ -19,6 +21,7 @@ require ( | |||
cosmossdk.io/core/testing v0.0.0-00010101000000-000000000000 | ||||
cosmossdk.io/log v1.3.1 | ||||
cosmossdk.io/server/v2/appmanager v0.0.0-00010101000000-000000000000 | ||||
cosmossdk.io/store/v2 v2.0.0-00010101000000-000000000000 | ||||
github.com/cosmos/cosmos-proto v1.0.0-beta.5 | ||||
github.com/cosmos/gogogateway v1.2.0 | ||||
github.com/cosmos/gogoproto v1.5.0 | ||||
|
@@ -42,25 +45,43 @@ require ( | |||
) | ||||
|
||||
require ( | ||||
cosmossdk.io/errors v1.0.1 // indirect | ||||
hieuvubk marked this conversation as resolved.
Show resolved
Hide resolved
|
||||
github.com/DataDog/datadog-go v3.2.0+incompatible // indirect | ||||
github.com/DataDog/zstd v1.5.5 // indirect | ||||
github.com/beorn7/perks v1.0.1 // indirect | ||||
github.com/cespare/xxhash/v2 v2.3.0 // indirect | ||||
github.com/cockroachdb/errors v1.11.1 // indirect | ||||
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect | ||||
github.com/cockroachdb/pebble v1.1.0 // indirect | ||||
github.com/cockroachdb/redact v1.1.5 // indirect | ||||
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect | ||||
github.com/cosmos/cosmos-db v1.0.2 // indirect | ||||
github.com/cosmos/iavl v1.2.0 // indirect | ||||
github.com/cosmos/ics23/go v0.10.0 // indirect | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Flag potential unnecessary dependency. The addition of - github.com/cosmos/ics23/go v0.10.0 // indirect Committable suggestion
Suggested change
|
||||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect | ||||
github.com/emicklei/dot v1.6.1 // indirect | ||||
github.com/fatih/color v1.15.0 // indirect | ||||
github.com/fsnotify/fsnotify v1.7.0 // indirect | ||||
github.com/getsentry/sentry-go v0.27.0 // indirect | ||||
github.com/gogo/googleapis v1.4.1 // indirect | ||||
github.com/gogo/protobuf v1.3.2 // indirect | ||||
github.com/golang/snappy v0.0.4 // indirect | ||||
github.com/google/btree v1.1.2 // indirect | ||||
github.com/google/go-cmp v0.6.0 // indirect | ||||
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect | ||||
github.com/hashicorp/go-uuid v1.0.1 // indirect | ||||
github.com/hashicorp/golang-lru v1.0.2 // indirect | ||||
github.com/hashicorp/hcl v1.0.0 // indirect | ||||
github.com/hashicorp/yamux v0.1.1 // indirect | ||||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||||
github.com/jhump/protoreflect v1.15.3 // indirect | ||||
github.com/klauspost/compress v1.17.7 // indirect | ||||
github.com/kr/pretty v0.3.1 // indirect | ||||
github.com/kr/text v0.2.0 // indirect | ||||
github.com/linxGnu/grocksdb v1.8.14 // indirect | ||||
github.com/magiconair/properties v1.8.7 // indirect | ||||
github.com/mattn/go-colorable v0.1.13 // indirect | ||||
github.com/mattn/go-isatty v0.0.20 // indirect | ||||
github.com/mattn/go-sqlite3 v1.14.22 // indirect | ||||
github.com/mitchellh/go-testing-interface v1.14.1 // indirect | ||||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||||
|
@@ -76,8 +97,10 @@ require ( | |||
github.com/spf13/afero v1.11.0 // indirect | ||||
github.com/spf13/cast v1.6.0 // indirect | ||||
github.com/subosito/gotenv v1.6.0 // indirect | ||||
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect | ||||
github.com/tidwall/btree v1.7.0 // indirect | ||||
go.uber.org/multierr v1.11.0 // indirect | ||||
golang.org/x/crypto v0.25.0 // indirect | ||||
golang.org/x/exp v0.0.0-20240531132922-fd00a4e0eefc // indirect | ||||
golang.org/x/net v0.27.0 // indirect | ||||
golang.org/x/sys v0.22.0 // indirect | ||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so store/v2 is goleveldb only @kocubinski?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can handle multiple dbs by
db-backend
in app.tomlThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's for v1, but maybe v2 doesn't support multiple backend? Wanted to confirm, otherwise this being hardcoded in runtime isn't great (but easily solvable with an appbuilder options). Let's wait for an answer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
store v2 has support for pebbledb as well