Preston Van Loon
90b8b76ae8
Remove unused EpochAttestationsRoot method ( #6514 )
...
* Remove unused EpochAttestationsRoot method
2020-07-07 23:39:11 +00:00
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
Ivan Martinez
1022d9dba8
Add AttestationDataRoot to stateutil ( #6119 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-06-04 13:59:41 -05:00
Nishant Das
7e50c36725
Add Hasher To State Data Types ( #5244 )
...
* add hasher
* re-order stuff
* Merge refs/heads/master into addHasher
* Merge refs/heads/master into addHasher
* Merge refs/heads/master into addHasher
* Merge refs/heads/master into addHasher
* Merge refs/heads/master into addHasher
* Merge refs/heads/master into addHasher
* Merge refs/heads/master into addHasher
* Merge refs/heads/master into addHasher
* Merge refs/heads/master into addHasher
* Merge refs/heads/master into addHasher
2020-03-31 18:57:19 +00:00
Nishant Das
cdac3d61ea
Custom Block HTR ( #5219 )
...
* add custom htr
* fix root
* fix everything
* Apply suggestions from code review
* Update beacon-chain/state/stateutil/blocks.go
* Update beacon-chain/blockchain/receive_block.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* Update beacon-chain/blockchain/process_block.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* terence's review
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-03-26 13:10:22 -05:00
Nishant Das
431762164e
Add New State Utils ( #5117 )
...
* add new helpers
* make zerohash public
* remove unused method
* add more tests
* cleanup
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-03-17 14:25:17 -05:00
Nishant Das
83945ca54b
Shift Stateutils to State Package ( #4921 )
...
* shift over
* new changes
* imports
* Merge branch 'master' into shiftUtils
2020-02-21 16:52:21 +00:00