prysm-pulse/beacon-chain/state
Paul Nelson c1c3b75867
Move generic HashTreeRoot funcs to //shared (#6167)
* Functions that are to be moved to //shared/htrutils captured in separate file.

* Move files into new //shared/htutils package

hash_function.go renamed to hashers.go

* Refactor to reference moved methods in new package

- Added import for htrutils to state and stateutil packages
- Update references to imported funcs (append "htrutils.")
- Updated funcs in htrutils to be exported where necessary

* Add tests
2020-06-18 10:15:13 +08:00
..
stategen Update to v0.12 (#5614) 2020-06-09 15:40:48 -07:00
stateutil Move generic HashTreeRoot funcs to //shared (#6167) 2020-06-18 10:15:13 +08:00
BUILD.bazel Move generic HashTreeRoot funcs to //shared (#6167) 2020-06-18 10:15:13 +08:00
cloners.go Add Reference Copying (#5245) 2020-04-19 13:57:43 +00:00
field_trie_test.go updates UpdateRandaoMixesAtIndex signature (#5447) 2020-04-15 20:35:19 +00:00
field_trie.go remove byte mempool (#5951) 2020-05-21 20:39:06 -07:00
getters_test.go Resolve Nil Validator Panic (#6218) 2020-06-11 17:38:03 +00:00
getters.go Resolve Nil Validator Panic (#6218) 2020-06-11 17:38:03 +00:00
references_test.go Invert state ref copy flag (#6015) 2020-05-27 14:30:54 -05:00
setters.go Invert state ref copy flag (#6015) 2020-05-27 14:30:54 -05:00
state_trie_test.go Add testing for EnableFieldTrie in state_trie.go (#5820) 2020-05-14 17:38:34 +00:00
state_trie.go Move generic HashTreeRoot funcs to //shared (#6167) 2020-06-18 10:15:13 +08:00
types_test.go updates UpdateRandaoMixesAtIndex signature (#5447) 2020-04-15 20:35:19 +00:00
types.go All Beacon Node Package-Level Godocs (#5677) 2020-04-29 12:40:33 -05:00