Skip to content

Commit

Permalink
fmt and update
Browse files Browse the repository at this point in the history
  • Loading branch information
Zacholme7 committed Jan 15, 2025
1 parent 73fdbfc commit 7f42ade
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 44 deletions.
82 changes: 41 additions & 41 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions anchor/common/ssv_types/src/message.rs
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
use crate::msgid::MsgId;
use crate::{OperatorId, ValidatorIndex};
use std::fmt::Debug;
use std::hash::Hash;
use tree_hash::{PackedEncoding, TreeHash, TreeHashType};
use tree_hash_derive::TreeHash;
use types::typenum::U13;
use types::{
AggregateAndProof, BeaconBlock, BlindedBeaconBlock, Checkpoint, CommitteeIndex, EthSpec,
Hash256, PublicKeyBytes, Signature, Slot, SyncCommitteeContribution, VariableList,
};
use std::fmt::Debug;
use std::hash::Hash;
// todo - dear reader, this mainly serves as plain translation of the types found in the go code
// there are a lot of byte[] there, and that got confusing, below should be more readable.
// it needs some work to actually serialize to the same stuff on wire, and I feel like we can name
// the fields better
//

pub trait Data: Debug + Clone {
type Hash: Debug + Clone + Eq + Hash;

Expand Down

0 comments on commit 7f42ade

Please sign in to comment.