Skip to content
Open
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 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ lcov.info
coverage.json

.charon*
.omx

.peerinfo*
20 changes: 18 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ oas3-gen-support = "0.24"
bon = "3.8"
testcontainers = "0.27"
test-case = "3.3"
ethereum_ssz = { version = "0.10" }
ethereum_ssz_derive = { version = "0.10" }
tree_hash = "0.12"
tree_hash_derive = "0.12"
tar = "0.4"
Expand Down
3 changes: 2 additions & 1 deletion crates/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ publish.workspace = true

[dependencies]
async-trait.workspace = true
ethereum_ssz.workspace = true
cancellation.workspace = true
chrono.workspace = true
crossbeam.workspace = true
Expand All @@ -31,6 +32,7 @@ tokio.workspace = true
tokio-util.workspace = true
tracing.workspace = true
pluto-eth2util.workspace = true
pluto-ssz.workspace = true
tree_hash.workspace = true
unsigned-varint.workspace = true

Expand All @@ -53,7 +55,6 @@ pluto-testutil.workspace = true
pluto-tracing.workspace = true
tokio = { workspace = true, features = ["test-util"] }
wiremock.workspace = true
pluto-ssz.workspace = true

[build-dependencies]
pluto-build-proto.workspace = true
Expand Down
5 changes: 5 additions & 0 deletions crates/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ pub mod deadline;
pub mod parsigdb;

mod parsigex_codec;
// SSZ codec operates on compile-time-constant byte sizes and offsets.
// Arithmetic is bounded and casts from `usize` to `u32` are safe because all
// sizes are well below `u32::MAX`.
#[allow(clippy::arithmetic_side_effects, clippy::cast_possible_truncation)]
pub(crate) mod ssz_codec;

pub use parsigex_codec::ParSigExCodecError;

Expand Down
Loading
Loading