Skip to content

Commit eca647c

Browse files
authored
feat: refactor AA mempool into clean architecture layers (#114)
1 parent e50f803 commit eca647c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2316
-26
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ TIPS_INGRESS_KAFKA_INGRESS_PROPERTIES_FILE=/app/docker/ingress-bundles-kafka-pro
77
TIPS_INGRESS_KAFKA_INGRESS_TOPIC=tips-ingress
88
TIPS_INGRESS_KAFKA_AUDIT_PROPERTIES_FILE=/app/docker/ingress-audit-kafka-properties
99
TIPS_INGRESS_KAFKA_AUDIT_TOPIC=tips-audit
10+
TIPS_INGRESS_KAFKA_USER_OPERATION_CONSUMER_PROPERTIES_FILE=/app/docker/ingress-user-operation-consumer-kafka-properties
1011
TIPS_INGRESS_LOG_LEVEL=info
1112
TIPS_INGRESS_LOG_FORMAT=pretty
1213
TIPS_INGRESS_SEND_TRANSACTION_DEFAULT_LIFETIME_SECONDS=10800

Cargo.lock

Lines changed: 27 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ homepage = "https://github.com/base/tips"
77
repository = "https://github.com/base/tips"
88

99
[workspace]
10-
members = ["crates/audit", "crates/ingress-rpc", "crates/core", "crates/account-abstraction-core"]
10+
members = ["crates/audit", "crates/ingress-rpc", "crates/core", "crates/account-abstraction-core", "crates/account-abstraction-core-v2"]
1111
resolver = "2"
1212

1313
[workspace.dependencies]
1414
tips-audit = { path = "crates/audit" }
1515
tips-core = { path = "crates/core" }
1616
account-abstraction-core = { path = "crates/account-abstraction-core" }
17+
account-abstraction-core-v2 = { path = "crates/account-abstraction-core-v2" }
1718

1819
# Reth
1920
reth = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.3" }
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[package]
2+
name = "account-abstraction-core-v2"
3+
version.workspace = true
4+
rust-version.workspace = true
5+
license.workspace = true
6+
homepage.workspace = true
7+
repository.workspace = true
8+
edition.workspace = true
9+
10+
[dependencies]
11+
alloy-serde = { version = "1.0.41", default-features = false }
12+
serde.workspace = true
13+
alloy-rpc-types.workspace = true
14+
alloy-provider.workspace = true
15+
op-alloy-network.workspace = true
16+
alloy-primitives = { workspace = true }
17+
reth-rpc-eth-types.workspace = true
18+
tokio.workspace = true
19+
jsonrpsee.workspace = true
20+
async-trait = { workspace = true }
21+
alloy-sol-types.workspace = true
22+
anyhow.workspace = true
23+
rdkafka.workspace = true
24+
serde_json.workspace = true
25+
tips-core.workspace = true
26+
tracing.workspace = true
27+
28+
[dev-dependencies]
29+
alloy-primitives.workspace = true
30+
wiremock.workspace = true

0 commit comments

Comments
 (0)