-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(mempool): mempool transaction limits, saving to db and continue…
… block prod from pending block (#372)
- Loading branch information
Showing
73 changed files
with
2,831 additions
and
1,362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
[package] | ||
name = "mc-block-production" | ||
description = "Madara client block production service" | ||
authors.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
version.workspace = true | ||
homepage.workspace = true | ||
|
||
[lints] | ||
workspace = true | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] | ||
|
||
[dev-dependencies] | ||
|
||
rstest = { workspace = true } | ||
mc-db = { workspace = true, features = ["testing"] } | ||
tokio = { workspace = true, features = ["rt-multi-thread"] } | ||
proptest.workspace = true | ||
proptest-derive.workspace = true | ||
bitvec.workspace = true | ||
blockifier = { workspace = true, features = ["testing"] } | ||
mockall.workspace = true | ||
assert_matches.workspace = true | ||
lazy_static.workspace = true | ||
serde_json.workspace = true | ||
|
||
[features] | ||
testing = ["blockifier/testing", "mc-db/testing", "mockall"] | ||
|
||
[dependencies] | ||
|
||
# Madara | ||
mc-analytics.workspace = true | ||
mc-block-import.workspace = true | ||
mc-db.workspace = true | ||
mc-exec.workspace = true | ||
mc-mempool.workspace = true | ||
mp-block.workspace = true | ||
mp-chain-config.workspace = true | ||
mp-class.workspace = true | ||
mp-convert.workspace = true | ||
mp-receipt.workspace = true | ||
mp-state-update.workspace = true | ||
mp-transactions.workspace = true | ||
mp-utils.workspace = true | ||
|
||
# Starknet | ||
blockifier.workspace = true | ||
starknet-core.workspace = true | ||
starknet-types-core.workspace = true | ||
starknet_api.workspace = true | ||
|
||
# Other | ||
anyhow.workspace = true | ||
mockall = { workspace = true, optional = true } | ||
thiserror.workspace = true | ||
tokio.workspace = true | ||
|
||
# Instrumentation | ||
once_cell = { workspace = true } | ||
opentelemetry = { workspace = true, features = ["metrics", "logs"] } | ||
opentelemetry-appender-tracing = { workspace = true, default-features = false } | ||
opentelemetry-otlp = { workspace = true, features = [ | ||
"tonic", | ||
"metrics", | ||
"logs", | ||
] } | ||
opentelemetry-semantic-conventions = { workspace = true } | ||
opentelemetry-stdout = { workspace = true } | ||
opentelemetry_sdk = { workspace = true, features = ["rt-tokio", "logs"] } | ||
tracing = { workspace = true } | ||
tracing-core = { workspace = true, default-features = false } | ||
tracing-opentelemetry = { workspace = true } | ||
tracing-subscriber = { workspace = true, features = ["env-filter"] } |
Oops, something went wrong.