prysm-pulse/encoding/bytesutil
Sammy Rosso 9529c73ff1
EIP-4881: Spec implementation (#11720)
* Initial spec rewrite

* Finish adding merkle tree implementation

* Last bits

* Move reverse function

* Add comments

* Add deposit tree snapshot

* Add deposit tree

* Add comments + cleanup

* Fixes

* Add missing errors

* Small fixes

* Add unhandled error

* Cleanup

* Fix unsafe file.Close

* Add missing comments

* Small fixes

* Address some of deepSource' compaints

* Add depositCount check

* Add finalizedDeposit check

* Replace pointer magic with copy()

* Add test for slice reversal

* add back bytes method

* Add package level description

* Remove zerohash gen and add additional checks

* Add additional comments

* Small lint fixes

* Forgot an error

* Small fixes

* Move Uint64ToBytesLittleEndian32 + test

* Fix uint subtraction issue

* Move mixInLength below error handling

* Fix

* Fix deposit root

---------

Co-authored-by: rauljordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-01-27 17:35:25 +00:00
..
bits_test.go Refactor bytesutil, add support for go1.20 slice to array conversions (#11838) 2023-01-10 16:41:01 +00:00
bits.go Refactor bytesutil, add support for go1.20 slice to array conversions (#11838) 2023-01-10 16:41:01 +00:00
BUILD.bazel Refactor bytesutil, add support for go1.20 slice to array conversions (#11838) 2023-01-10 16:41:01 +00:00
bytes_go120.go Refactor bytesutil, add support for go1.20 slice to array conversions (#11838) 2023-01-10 16:41:01 +00:00
bytes_legacy.go Refactor bytesutil, add support for go1.20 slice to array conversions (#11838) 2023-01-10 16:41:01 +00:00
bytes_test.go Add additional tests to bytesutil (#11877) 2023-01-17 17:54:43 +00:00
bytes.go Refactor bytesutil, add support for go1.20 slice to array conversions (#11838) 2023-01-10 16:41:01 +00:00
eth_types_test.go Refactor bytesutil, add support for go1.20 slice to array conversions (#11838) 2023-01-10 16:41:01 +00:00
eth_types.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
hex_test.go Refactor bytesutil, add support for go1.20 slice to array conversions (#11838) 2023-01-10 16:41:01 +00:00
hex.go Refactor bytesutil, add support for go1.20 slice to array conversions (#11838) 2023-01-10 16:41:01 +00:00
integers_test.go EIP-4881: Spec implementation (#11720) 2023-01-27 17:35:25 +00:00
integers.go EIP-4881: Spec implementation (#11720) 2023-01-27 17:35:25 +00:00