Raul Jordan
b0f5324303
Implement BLS Based RANDAO ( #1633 )
...
* finish the BLS API wrapper
* all tests passing
* unexported comment
* gofmt tests for bls
* block processing test into own package to avoid cycle
* randao tests pass
* blocks test passing
* use common deposit generator
* helper
* resolved import cycle
* setup initial
* builds
* almost done with blockchain tests
* fix blockchain tests
* getting through with chaintests
* revert client change
* lint
* sync master conflict gazelle
* randao test fixes
2019-02-19 23:07:28 -06:00
Raul Jordan
2425bef5c7
Update Configuration, Naming, and GenesisStart to Accommodate Randao ( #1647 )
...
* signature on startup configuration
* remove ref to hash32s for randao
* completed changes
2019-02-19 14:24:00 -06:00
Raul Jordan
ab511cb022
Move Deposit Encoding to Helpers Package ( #1644 )
...
* move deposits
* finish moving deposit helpers
2019-02-19 12:05:34 -06:00
terence tsao
8c04ced1a6
Name Changes to Align with V0.3 ( #1621 )
...
* fixed epoch_processing
* penalize->slash
* exit -> voluntary_exit
* SEED_LOOKAHEAD -> MIN_SEED_LOOKAHED
* ENTRY_EXIT_DELAY -> ACTIVATION_EXIT_DELAY
* `INCLUDER_REWARD_QUOTIENT` -> `ATTESTATION_INCLUSION_REWARD_QUOTIEN`
* LatestIndexRoots -> LatestActiveIndexRoots
* `MIN_VALIDATOR_WITHDRAWAL_EPOCHS` -> `MIN_VALIDATOR_WITHDRAWAL_DELAY`
* MAX_WITHDRAWALS_PER_EPOCH -> MAX_EXIT_DEQUEUES_PER_EPOCH
* ETH1_DATA_VOTING_PERIOD -> EPOCHS_PER_ETH1_VOTING_PERIOD
* SLOT_DURATION -> SECONDS_PER_SLOT
* EPOCH_LENGTH -> SLOTS_PER_EPOCH
* SLOT_DURATION -> SECONDS_PER_SLOT take 2
* rest of the misc fixes for config name changes
* remove tools/bootnode/.!74296!bootnode.go
* `current_epoch_start_shard` -> `current_shuffling_start_shard`, `current_shuffling_epoch`, `current_shuffling_see`
* go fmt
* fixed comment
* updated pseudocode comments
* merged master
2019-02-18 10:52:16 -06:00
Raul Jordan
ae13bb5c83
Use Tree Hashing Algorithm Everywhere for Block Roots and State Root ( #1577 )
...
* begin using tree hash instead of hash for state and blocks
* replace with ssz
* rem references to vote cache
* replace all instances of state/block hash with root
* goimports
* almost every test in the world fails
* goimports
* all tests pass, tree hash across repo
2019-02-14 14:04:47 -06:00
terence tsao
fa47a9bf36
Remove Justified Slot ( #1561 )
2019-02-13 16:42:33 +00:00
terence tsao
05b29d6226
Update PendingAttestationRecord Proto ( #1567 )
...
* fixed epoch_processing
* test p2p
* PendingAttestationRecord -> PendingAttestation
2019-02-12 12:04:30 -06:00
terence tsao
4cadd534db
Update Genesis Slot and Epoch ( #1537 )
2019-02-10 23:09:35 +01:00
Raul Jordan
12524ae8dd
Update RANDAO to Match Spec ( #1533 )
...
* fix bug in eth1 data vote count increases
* updating attester slashings
* is double vote and attester pseudocode
* attester slashing revamp complete
* exits processing complete
* all block operations aligned to spec
* completed test revamp
* builds properly
* all done FINALLY
* deprecate all instances of old randao logic
* fix all broken tests and cleanup randao references across repo
* builds but tests failing
* fixing broken chaintests
* only chaintests fail now
* randao fully updated
* add bls todo
* lint
* travis
* fix unresolved property in struct
* remove used randao var
2019-02-09 14:35:51 -06:00
terence tsao
c46a583acb
Update MaxDeposit Config Names ( #1539 )
2019-02-09 14:09:09 +01:00
Raul Jordan
258ef9f74f
Align Initial Beacon State to Latest Spec ( #1527 )
...
* aligned initial beacon state to latest spec
* update genesis block
2019-02-08 11:52:29 -06:00
Nishant Das
9ecef934d8
Update Beacon State to Match the Spec ( #1489 )
...
* first line of changes
* fix all tests in core package
* Finished fixing up all tests
* docs
* more docs
2019-02-06 10:44:27 -06:00
terence tsao
a4b5666059
Aligning ETH2.0 spec - Update Fork and Domain Helpers ( #1501 )
...
* updated proto state fields to unlock alignment
* updated domain and fork helpers
* fixed comments
* fixed comments
2019-02-05 23:34:22 -06:00
terence tsao
003d686f70
updated proto state fields to unlock alignment ( #1497 )
2019-02-05 21:14:29 +01:00
Ivan Martinez
5b209a2b18
Update DepositRoot to Eth1Data ( #1403 )
...
* update proto fileds
* Start writing ProcessETH1Data function
* More progress on tests
* Continue more work on tests
* Fix almost all the tests
* Fix all tests
* Fix everything
* Fix after rebase
* Fix for suggestions and fix per-epoch operation
* Remove method usage
* Fix build
* Fix suggestions
* Fix merge issues and suggestions
* Fix rebase issues
* Remove the error from ProcessETH1Data
* WIP write test
* Update test to reach crosslinks
* Revert "Update test to reach crosslinks"
This reverts commit 5ff9177f96c12c98c54eafffcfb385bd966b0888.
* Revert "WIP write test"
This reverts commit f7e7ed715c4af6b7e3c95643f7ebf85830caf638.
2019-02-02 16:24:42 -05:00
terence tsao
72542d5fc7
removed exit count ( #1455 )
2019-02-01 17:07:11 +01:00
terence tsao
c0f36e467b
Eliminate Custody Logic for Phase 0 ( #1408 )
2019-01-30 11:11:13 +01:00
terence tsao
a52f73b78f
Remove Shard Committees Last Part ( #1411 )
2019-01-29 14:56:32 +01:00
Ivan Martinez
e9cfc08549
Update all beacon constants to latest in spec ( #1407 )
...
* Update all beacon constants
* Fix documentation
* Fix sync time in config
* Fix some names
2019-01-29 12:16:50 +08:00
terence tsao
779bccba1e
Rm Shard Committees 1 - Update Protos and Configs ( #1353 )
2019-01-20 10:26:33 -08:00
terence tsao
060a311a14
Core Package Clean up Part 2 ( #1268 )
...
* comments on core package declarations
* fixed sentence
* cap
* no extra line
* fixed tests
* gazelle
2019-01-10 07:49:50 +08:00
Raul Jordan
4bb6196f4f
Wrap Up Data Structure Renaming ( #1270 )
...
* spec renames
* fix goimports
* fix items
2019-01-09 03:49:17 -06:00
terence tsao
138bc37a60
Renaming Poc_ and Pow_receipt_ fields ( #1271 )
2019-01-08 20:42:42 -08:00
Nishant Das
bb7b0a324b
Fix Bug On Startup Using Genesis.json ( #1258 )
...
* fix bug
* making requested changes
* new changes
* changing initialize state
* remove genesis.json and references
* remove log
* readme
* readme
* remove reference
2019-01-09 11:03:57 +08:00
terence tsao
141a8dba87
Reformat Configs for Readability ( #1256 )
2019-01-05 20:36:05 -08:00
terence tsao
074ac07dc8
Replace Validator Status Code With Activation/Exit Slot ( #1233 )
2019-01-04 22:39:07 -08:00
Raul Jordan
ccc2a4b91f
Process Validator Deposits ( #1184 )
2019-01-04 23:39:34 -06:00
Raul Jordan
7e1af4fceb
Remove Use of Proto .GetX for Value Getters ( #1235 )
2019-01-04 21:58:19 -06:00
terence tsao
1314077a4d
Code Clean Up Part 1 - Core Package ( #1216 )
2019-01-01 09:17:44 -08:00
terence tsao
f0c9a9f0de
Implement Get Initial Genesis State ( #1208 )
...
* beginning epoch processing helper funcs
* starting InitialBeaconState
* tests
* gazelle
2018-12-31 15:40:14 +08:00
Raul Jordan
5d26efcfaa
Deprecate types.BeaconState with pb.BeaconState Generated Proto ( #1164 )
2018-12-23 16:51:04 -06:00