Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,715 changes: 1,190 additions & 525 deletions lean_client/Cargo.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions lean_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@ serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"
snap = "1.1"
ssz = { git = "https://github.com/grandinetech/grandine", package = "ssz", branch = "develop" }
ssz-derive = { git = "https://github.com/grandinetech/grandine", package = "ssz_derive", branch = "develop" }
ssz_derive = { git = "https://github.com/grandinetech/grandine", package = "ssz_derive", branch = "develop" }
ssz-types = "0.3.0"
tokio = { version = "1.0", features = ["full"] }
tree-hash = "0.4.0"
typenum = "1.19"
sha2 = "0.10"
rand = "0.9"

[workspace.dev-dependencies]
rstest = "0.18.2"
Expand All @@ -52,10 +53,9 @@ version = "0.1.0"
edition = "2021"

[features]
default = ["devnet2", "xmss-signing"]
default = ["xmss-signing", "containers/xmss-verify"]
xmss-signing = ["validator/xmss-signing"]
devnet1 = ["containers/devnet1", "fork-choice/devnet1", "networking/devnet1", "validator/devnet1"]
devnet2 = ["containers/devnet2", "fork-choice/devnet2", "networking/devnet2", "validator/devnet2"]
xmss-verify = ["containers/xmss-verify"]

[dependencies]
chain = { path = "./chain" }
Expand Down
26 changes: 0 additions & 26 deletions lean_client/ENVIRONMENT_SELECTION.md

This file was deleted.

2 changes: 1 addition & 1 deletion lean_client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ check-format:

.PHONY: test
test:
cargo test --workspace --features devnet2,xmss-signing --no-fail-fast
cargo test --workspace --all-features --no-fail-fast

.PHONY: generate-test-vectors
generate-test-vectors:
Expand Down
1 change: 1 addition & 0 deletions lean_client/chain/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ impl BasisPoint {
None
}
}

#[inline]
pub fn get(&self) -> u64 {
self.0
Expand Down
15 changes: 8 additions & 7 deletions lean_client/containers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,27 @@ version = "0.1.0"
edition = "2021"

[features]
xmss-verify = ["leansig"]
xmss-verify = []
default = []
devnet1 = ["env-config/devnet1"]
devnet2 = ["env-config/devnet2"]

[lib]
name = "containers"
path = "src/lib.rs"

[dependencies]
env-config = { path = "../env-config", default-features = false }
ssz = { git = "https://github.com/grandinetech/grandine", package = "ssz", branch = "develop", submodules = true }
ssz_derive = { git = "https://github.com/grandinetech/grandine", package = "ssz_derive", branch = "develop", submodules = false }
ssz = { workspace = true }
serde = { workspace = true }
ssz_derive = { workspace = true }
typenum = "1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
hex = "0.4.3"
sha2 = "0.10"
leansig = { git = "https://github.com/leanEthereum/leanSig", branch = "main", optional = true }
leansig = { git = "https://github.com/leanEthereum/leanSig", branch = "main" }
lean-multisig = { git = "https://github.com/leanEthereum/leanMultisig", branch = "main" }
anyhow = "1.0.100"
alloy-primitives = "1.5.2"

[dev-dependencies]
rstest = "0.18"
Expand Down
Loading