lighthouse/eth2/utils
pscott a1e14cc369 Implement push_leaf for MerkleTree (#574)
* Prototype for far_right push

* Add push method and tests

* Modify beacon_chain_builder for interop to use push instead of create

* Add Push method to MerkleTree

* Cargo fmt

* Remove redundant tests

* Fix typo

* Rename push to push_leaf

* Fix clippy warnings

* Add DepthTooSmall enum variant

* Avoid cloning in MerkleTree::push_leaf

* Add quickcheck test for push_leaf

* Cargo fmt updated

* Return err instead of using unwrap()

* Use enumerate instead of hard indexing

* Use if let and return string on error

* Fix typo in deposit_leave

* Fix cargo fmt
2019-11-05 12:29:07 +11:00
..
bls Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
compare_fields Add extra level of comparisons to CompareFields 2019-05-24 14:08:19 +10:00
compare_fields_derive Robustify derive macro attribute parsing (#544) 2019-09-28 14:29:14 +10:00
eth2_config Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
eth2_hashing Depend on sha2 in eth2_hashing for wasm32 (#589) 2019-11-05 12:28:35 +11:00
eth2_interop_keypairs Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
int_to_bytes Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
lighthouse_bootstrap Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
lighthouse_metrics Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
logging Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
merkle_proof Implement push_leaf for MerkleTree (#574) 2019-11-05 12:29:07 +11:00
serde_hex Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
slot_clock Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
ssz Delete fuzzing targets (#586) 2019-10-31 13:13:21 +11:00
ssz_derive Robustify derive macro attribute parsing (#544) 2019-09-28 14:29:14 +10:00
ssz_types Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
swap_or_not_shuffle Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
test_random_derive Robustify derive macro attribute parsing (#544) 2019-09-28 14:29:14 +10:00
tree_hash Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
tree_hash_derive Fix SignedRoot macro attribute parsing 2019-09-30 12:32:44 +10:00