lighthouse-pulse/beacon_node/beacon_chain
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
..
src Implement push_leaf for MerkleTree (#574) 2019-11-05 12:29:07 +11:00
tests Fix bug with invalid state root 2019-09-04 12:04:15 +10:00
Cargo.toml Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00