Skip to content

Commit 90225d4

Browse files
committed
feat: add sps62-checkpoint-types crate with SSZ serialization
1 parent 1dc83bc commit 90225d4

File tree

5 files changed

+389
-4
lines changed

5 files changed

+389
-4
lines changed

Cargo.lock

Lines changed: 82 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ members = [
7171
"crates/service",
7272
"crates/simple-ee",
7373
"crates/snark-acct-types",
74+
"crates/sps62-checkpoint-types",
7475
"crates/state",
7576
"crates/status",
7677
"crates/storage",
@@ -396,6 +397,9 @@ sha2 = "0.10"
396397
shrex = { version = "1", features = ["serde"] }
397398
shrex_macros = "1"
398399
sled = "0.34.7"
400+
ssz = { git = "https://github.com/alpenlabs/ssz-gen", branch = "main" }
401+
ssz_derive = { git = "https://github.com/alpenlabs/ssz-gen", branch = "main" }
402+
ssz_types = { git = "https://github.com/alpenlabs/ssz-gen", branch = "main" }
399403
tempfile = "3.10.1"
400404
terrors = "0.3.0"
401405
thiserror = "2.0.11"
@@ -406,6 +410,8 @@ tower = "0.5"
406410
tracing = "0.1"
407411
tracing-opentelemetry = "0.27"
408412
tracing-subscriber = { version = "0.3.20", features = ["env-filter"] }
413+
tree_hash = { git = "https://github.com/alpenlabs/ssz-gen", branch = "main" }
414+
tree_hash_derive = { git = "https://github.com/alpenlabs/ssz-gen", branch = "main" }
409415
uuid = { version = "1.0", features = ["v4", "serde"] }
410416
zeroize = { version = "1.8.1", features = ["derive"] }
411417

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[package]
2+
name = "sps62-checkpoint-types"
3+
version = "0.1.0"
4+
edition = "2021"
5+
description = "SPS-62 checkpoint types with SSZ serialization"
6+
7+
[lints]
8+
workspace = true
9+
10+
[dependencies]
11+
ssz = { workspace = true }
12+
ssz_derive = { workspace = true }
13+
ssz_types = { workspace = true }
14+
tree_hash = { workspace = true }
15+
tree_hash_derive = { workspace = true }
16+
17+
[dev-dependencies]
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
//! SPS-62 checkpoint types with SSZ serialization.
2+
3+
#![warn(missing_debug_implementations)]
4+
#![warn(missing_docs)]
5+
6+
mod types;
7+
8+
pub use ssz;
9+
pub use tree_hash;
10+
pub use types::*;

0 commit comments

Comments
 (0)