prysm-pulse/beacon-chain/types
Ivan Martinez d1dbe05147 Copy State in CalculateNewActiveState and NewStateRecalculations (#677)
* Copy state in CalculateNewState and Recalculations

* Modifies method for copying state

* Adds CopyState() function to ActiveState and CrystalliziedState

* Fully deep copies the fields required

* Writes test for ActiveState's CopyState

* Add test for CopyCrystallizedState

* Update tests to requirements

* Fix wrong logs

* Change variables to newState

* Change newC to newState

* Gofmt the active_state_test.go
2018-10-19 14:59:48 +08:00
..
active_state_test.go Copy State in CalculateNewActiveState and NewStateRecalculations (#677) 2018-10-19 14:59:48 +08:00
active_state.go Copy State in CalculateNewActiveState and NewStateRecalculations (#677) 2018-10-19 14:59:48 +08:00
attestation_test.go Align Block and State Field Names with Spec (#628) 2018-10-09 19:34:50 -07:00
attestation.go Make blake2b hash util in shared/ (#649) 2018-10-13 21:32:29 -05:00
block_test.go Implemented Update Ancestor Hashes Function (#660) 2018-10-17 16:00:23 -07:00
block.go Fixed RANDAO Regression (#672) 2018-10-17 20:41:47 -05:00
BUILD.bazel Remove Unnecessary Interfaces, Clean Up Some Naming (#678) 2018-10-18 12:33:38 -05:00
crystallized_state_test.go Copy State in CalculateNewActiveState and NewStateRecalculations (#677) 2018-10-19 14:59:48 +08:00
crystallized_state.go Copy State in CalculateNewActiveState and NewStateRecalculations (#677) 2018-10-19 14:59:48 +08:00