-
Notifications
You must be signed in to change notification settings - Fork 86
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
fix: enable rocksdb for frontier backend #1622
Conversation
@@ -283,15 +283,15 @@ url = "2.2.2" | |||
grandpa = { package = "sc-consensus-grandpa", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" } | |||
sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" } | |||
sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" } | |||
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" } | |||
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43", features = ["rocksdb"] } |
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.
Enabling this feature is not really necessary as it is the default one. Happy to drop this here but I vote for rather being explicit.
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" } | ||
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" } | ||
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" } | ||
sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" } | ||
sc-network-sync = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" } | ||
sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" } | ||
sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" } | ||
sc-service = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" } | ||
sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43", features = ["rocksdb"] } |
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.
Enabling this feature is not really necessary as it is the default one. Happy to drop this here but I vote for rather being explicit.
@@ -313,7 +313,7 @@ sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch | |||
substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" } | |||
|
|||
# Cli specific | |||
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" } | |||
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43", features = ["rocksdb"]} |
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.
Enabling this feature is not really necessary as it is the default one. Happy to drop this here but I vote for rather being explicit.
Description
Right now, our Substrate client supports
rocksdb, paritydb, auto
as database types. The frontier backend inherits the database type from that CLI. When Frontier upgraded to Polkadot v0.9.42, therocksdb
feature was added to thefc-db
crate. Since we did not opt into that feature, our client is throwing when attempting to userocksdb
as db.rocksdb
feature tosc-cli
,sc-service
,fc-db
andframe-benchmarking-cli
cratesHow to test
Checklist: