-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: start workspace project configuration
- Loading branch information
Showing
133 changed files
with
186 additions
and
105 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,17 @@ | ||
[package] | ||
name = "rundler" | ||
[workspace] | ||
members = [ | ||
"bin/rundler", | ||
"bin/tools", | ||
"crates/rundler" | ||
] | ||
default-members = ["bin/rundler", "bin/tools"] | ||
|
||
[workspace.package] | ||
version = "0.1.0-beta" | ||
edition = "2021" | ||
default-run = "rundler" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
anyhow = "1.0.70" | ||
arrayvec = "0.7.2" | ||
async-stream = "0.3.5" | ||
chrono = "0.4.24" | ||
clap = { version = "4.2.4", features = ["derive", "env"] } | ||
dotenv = "0.15.0" | ||
enum_dispatch = "0.3.11" | ||
ethers = { version = "2.0.8", features = ["ws"] } | ||
ethers-signers = {version = "2.0.8", features = ["aws"] } | ||
futures = "0.3.28" | ||
futures-timer = "3.0.2" | ||
futures-util = "0.3.28" | ||
hyper = "0.14.27" | ||
indexmap = "2.0.0" | ||
itertools = "0.11.0" | ||
jsonrpsee = { version = "0.20.0", features = ["client", "macros", "server"] } | ||
linked-hash-map = "0.5.6" | ||
metrics = "0.21.0" | ||
metrics-exporter-prometheus = "0.12.0" | ||
metrics-process = "1.0.10" | ||
metrics-util = "0.15.0" | ||
parking_lot = "0.12.1" | ||
parse-display = "0.8.0" | ||
pin-project = "1.0.12" | ||
prost = "0.12.0" | ||
prost-types = "0.12.0" | ||
rand = "0.8.5" | ||
reqwest = { version = "0.11.18", default-features = false, features = ["rustls-tls"] } | ||
rslock = "0.2.2" | ||
rustls = "0.21.7" | ||
rusoto_core = { version = "0.48.0", default-features = false, features = ["rustls"] } | ||
rusoto_kms = { version = "0.48.0", default-features = false, features = ["rustls"] } | ||
rusoto_s3 = { version = "0.48.0", default-features = false, features = ["rustls"] } | ||
serde = { version = "1.0.160", features = ["derive"] } | ||
serde_json = "1.0.96" | ||
serde_with = "3.0.0" | ||
sscanf = "0.4.0" | ||
strum = { version = "0.25.0", features = ["derive"] } | ||
thiserror = "1.0.40" | ||
tokio = { version = "1.27.0", features = ["macros", "rt-multi-thread", "signal", "sync"] } | ||
tokio-rustls = "0.24.1" | ||
tokio-stream = { version = "0.1.12", features = ["sync"] } | ||
tokio-util = "0.7.8" | ||
tonic = "0.10.0" | ||
tonic-health = "0.10.0" | ||
tonic-reflection = "0.10.0" | ||
tonic-types = "0.10.0" | ||
tower = "0.4.13" | ||
tower-http = { version = "0.4.0", features = ["trace"] } | ||
tracing = "0.1.37" | ||
tracing-appender = "0.2.2" | ||
tracing-subscriber = { version = "0.3.16", features = ["env-filter", "fmt", "json"] } | ||
url = "2.3.1" | ||
|
||
[dev-dependencies] | ||
cargo-husky = { version = "1", default-features = false, features = ["user-hooks" ] } | ||
mockall = "0.11.4" | ||
tokio-util = "0.7.7" | ||
rust-version = "1.71" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/alchemyplatform/rundler" | ||
|
||
[build-dependencies] | ||
ethers = "2.0.3" | ||
tonic-build = "0.10.0" | ||
[workspace.dependencies] | ||
tokio = { version = "1.27.0", default-features = false } |
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,17 @@ | ||
[package] | ||
name = "rundler" | ||
version.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
description = """ | ||
Rundler node implementation | ||
""" | ||
|
||
[dependencies] | ||
rundler-rundler = { path = "../../crates/rundler" } | ||
|
||
# CLI dependencies | ||
tokio = "1.27.0" | ||
dotenv = "0.15.0" |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
use dotenv::dotenv; | ||
use rundler::cli; | ||
use rundler_rundler::cli; | ||
|
||
#[tokio::main] | ||
async fn main() { | ||
|
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,23 @@ | ||
[package] | ||
name = "rundler-tools" | ||
version.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
description = """ | ||
Rundler tools | ||
""" | ||
|
||
[dependencies] | ||
rundler-rundler = { path = "../../crates/rundler" } | ||
|
||
anyhow = "1.0.70" | ||
clap = { version = "4.2.4", features = ["derive", "env"] } | ||
dotenv = "0.15.0" | ||
ethers = "2.0.8" | ||
ethers-signers = {version = "2.0.8", features = ["aws"] } | ||
rusoto_core = { version = "0.48.0", default-features = false, features = ["rustls"] } | ||
rusoto_kms = { version = "0.48.0", default-features = false, features = ["rustls"] } | ||
serde_json = "1.0.96" | ||
tokio.workspace = true |
4 changes: 2 additions & 2 deletions
4
src/bin/deploy_dev_contracts.rs → bin/tools/src/bin/deploy_dev_contracts.rs
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
2 changes: 1 addition & 1 deletion
2
src/bin/get_example_ops.rs → bin/tools/src/bin/get_example_ops.rs
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
File renamed without changes.
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
version: v1 | ||
directories: | ||
- proto | ||
- crates/rundler/proto |
This file was deleted.
Oops, something went wrong.
Submodule account-abstraction
deleted from
9b5f2e
Submodule forge-std
deleted from
73a504
Submodule openzeppelin-contracts
deleted from
d00ace
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/src/common/contracts |
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,70 @@ | ||
[package] | ||
name = "rundler-rundler" | ||
version.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
|
||
[dependencies] | ||
anyhow = "1.0.70" | ||
arrayvec = "0.7.2" | ||
async-stream = "0.3.5" | ||
chrono = "0.4.24" | ||
clap = { version = "4.2.4", features = ["derive", "env"] } | ||
enum_dispatch = "0.3.11" | ||
ethers = { version = "2.0.8", features = ["ws"] } | ||
ethers-signers = {version = "2.0.8", features = ["aws"] } | ||
futures = "0.3.28" | ||
futures-timer = "3.0.2" | ||
futures-util = "0.3.28" | ||
hyper = "0.14.27" | ||
indexmap = "2.0.0" | ||
itertools = "0.11.0" | ||
jsonrpsee = { version = "0.20.0", features = ["client", "macros", "server"] } | ||
linked-hash-map = "0.5.6" | ||
metrics = "0.21.0" | ||
metrics-exporter-prometheus = "0.12.0" | ||
metrics-process = "1.0.10" | ||
metrics-util = "0.15.0" | ||
parking_lot = "0.12.1" | ||
parse-display = "0.8.0" | ||
pin-project = "1.0.12" | ||
prost = "0.12.0" | ||
prost-types = "0.12.0" | ||
rand = "0.8.5" | ||
reqwest = { version = "0.11.18", default-features = false, features = ["rustls-tls"] } | ||
rslock = "0.2.2" | ||
rustls = "0.21.7" | ||
rusoto_core = { version = "0.48.0", default-features = false, features = ["rustls"] } | ||
rusoto_kms = { version = "0.48.0", default-features = false, features = ["rustls"] } | ||
rusoto_s3 = { version = "0.48.0", default-features = false, features = ["rustls"] } | ||
serde = { version = "1.0.160", features = ["derive"] } | ||
serde_json = "1.0.96" | ||
serde_with = "3.0.0" | ||
sscanf = "0.4.0" | ||
strum = { version = "0.25.0", features = ["derive"] } | ||
thiserror = "1.0.40" | ||
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "signal", "sync"] } | ||
tokio-rustls = "0.24.1" | ||
tokio-stream = { version = "0.1.12", features = ["sync"] } | ||
tokio-util = "0.7.8" | ||
tonic = "0.10.0" | ||
tonic-health = "0.10.0" | ||
tonic-reflection = "0.10.0" | ||
tonic-types = "0.10.0" | ||
tower = "0.4.13" | ||
tower-http = { version = "0.4.0", features = ["trace"] } | ||
tracing = "0.1.37" | ||
tracing-appender = "0.2.2" | ||
tracing-subscriber = { version = "0.3.16", features = ["env-filter", "fmt", "json"] } | ||
url = "2.3.1" | ||
|
||
[dev-dependencies] | ||
cargo-husky = { version = "1", default-features = false, features = ["user-hooks" ] } | ||
mockall = "0.11.4" | ||
tokio-util = "0.7.7" | ||
|
||
[build-dependencies] | ||
ethers = "2.0.3" | ||
tonic-build = "0.10.0" |
File renamed without changes.
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,2 @@ | ||
/cache | ||
/out |
File renamed without changes.
File renamed without changes.
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,13 @@ | ||
[profile.default] | ||
src = 'src' | ||
out = 'out' | ||
libs = ['lib'] | ||
test = 'test' | ||
cache_path = 'cache' | ||
|
||
remappings = [ | ||
'forge-std/=lib/forge-std/src', | ||
'ds-test/=lib/forge-std/lib/ds-test/src/', | ||
'account-abstraction/=lib/account-abstraction/contracts/', | ||
'@openzeppelin/=lib/openzeppelin-contracts/' | ||
] |
Submodule account-abstraction
added at
f3b5f7
Submodule openzeppelin-contracts
added at
0a25c1
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.