mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 21:08:32 +00:00
Add tree_hash_derive crate
This commit is contained in:
9
eth2/utils/tree_hash_derive/tests/tests.rs
Normal file
9
eth2/utils/tree_hash_derive/tests/tests.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
use tree_hash_derive::CachedTreeHashSubTree;
|
||||
|
||||
#[derive(Clone, Debug, CachedTreeHashSubTree)]
|
||||
pub struct Inner {
|
||||
pub a: u64,
|
||||
pub b: u64,
|
||||
pub c: u64,
|
||||
pub d: u64,
|
||||
}
|
||||
Reference in New Issue
Block a user