Skip to content

Commit

Permalink
Add implementation for 96-byte smallvecs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsproul committed Jan 17, 2023
1 parent 30ba4c9 commit bbdb50f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ssz/src/decode/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ impl_for_vec!(SmallVec<[T; 5]>, None);
impl_for_vec!(SmallVec<[T; 6]>, None);
impl_for_vec!(SmallVec<[T; 7]>, None);
impl_for_vec!(SmallVec<[T; 8]>, None);
impl_for_vec!(SmallVec<[T; 96]>, None);

impl<K, V> Decode for BTreeMap<K, V>
where
Expand Down
1 change: 1 addition & 0 deletions ssz/src/encode/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ impl_for_vec!(SmallVec<[T; 5]>);
impl_for_vec!(SmallVec<[T; 6]>);
impl_for_vec!(SmallVec<[T; 7]>);
impl_for_vec!(SmallVec<[T; 8]>);
impl_for_vec!(SmallVec<[T; 96]>);

impl<K, V> Encode for BTreeMap<K, V>
where
Expand Down

0 comments on commit bbdb50f

Please sign in to comment.