Commit Graph

1824 Commits

Author SHA1 Message Date
Preston Van Loon
9f533fb7ae fix zero being power of two (#1684) 2019-02-22 06:45:25 -08:00
renovate[bot]
69058c126d Update org_golang_x_sys commit hash to a9d3bda (#1681) 2019-02-22 19:10:20 +05:30
renovate[bot]
3f0b3d7b7f Update dependency com_github_syndtr_goleveldb to v1 (#1683) 2019-02-22 18:34:11 +05:30
renovate[bot]
a152bc9950 Update org_golang_x_exp commit hash to 438050d (#1680) 2019-02-22 17:48:17 +05:30
renovate[bot]
c7d31935ee Update com_github_aristanetworks_goarista commit hash to 728bce6 (#1677) 2019-02-21 19:53:18 -08:00
renovate[bot]
7077fce256 Update org_golang_x_exp commit hash to 3d75e7a (#1678) 2019-02-21 14:00:00 -08:00
Raul Jordan
0a3b8fae9b
Deprecate Old Configuration Flags (#1676)
* replace password flag with path to password

* changed to simple string flag

* fix build
2019-02-21 14:34:44 -06:00
Raul Jordan
718f99ee10
Custom ChainStart Genesis Time Delay in Deposit Contract (#1666)
* custom delay

* completed custom delay
2019-02-21 10:51:29 -06:00
renovate[bot]
143d6335d5 Update org_golang_x_sys commit hash to b4e8571 (#1659) 2019-02-21 16:57:43 +05:30
Nishant Das
5e5a8e75e5
Add ChainStart Check To Sync (#1671)
* Add chainstart to sync service

* adding changes to node

* fixing tests

* comments

* add test

* add another test

* remove test in build.bzl
2019-02-21 12:27:04 +05:30
renovate[bot]
ff9174eefd Update com_github_libp2p_go_libp2p_discovery commit hash to 5e0d40c (#1672) 2019-02-20 22:28:26 -08:00
renovate[bot]
82e47acd1a Update org_golang_x_oauth2 commit hash to 9b3c759 (#1658) 2019-02-20 20:31:16 -08:00
renovate[bot]
df69bcbeb0 Update dependency com_github_multiformats_go_multihash to v1.0.10 (#1669) 2019-02-20 20:38:54 -05:00
renovate[bot]
22c44e74af Update dependency build_bazel_rules_nodejs to v0.18.7 (#1668) 2019-02-20 20:04:11 -05:00
Raul Jordan
dcc0672a19
Fatal if ChainStart Receiving Fails (#1665)
* fatal if impossible to receive chainstart

* fix tests
2019-02-20 15:58:23 -06:00
terence tsao
06bfda24d5 Revert "Remove Redundant Committee Assignment Getters in Validator RPC Service (#1655)" (#1664)
This reverts commit 15f8b6a10d.
2019-02-20 14:46:30 -06:00
terence tsao
ddb8fa1867
Implement Process Slot for Per-slot Processing (#1663) 2019-02-20 12:08:05 -08:00
terence tsao
15f8b6a10d
Remove Redundant Committee Assignment Getters in Validator RPC Service (#1655) 2019-02-20 11:53:49 -08:00
Cayman
df28379c0e Update typo in Contributing.md (#1662)
gometallinter -> gometalinter
2019-02-20 11:24:28 -08:00
Raul Jordan
19abe81472
Implement Randao Reveal Signing in Proposer Client (#1650)
* 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

* randao proposer impl

* tests pass
2019-02-20 12:58:34 -06:00
Cayman
e3ba3e181c Remove leaf hashing in MerkleRoot function (#1653)
* Remove leaf hashing in MerkleRoot function

See https://github.com/ethereum/eth2.0-specs/pull/646 for clarification.

* Add comment clarifying leaf hashing removal
2019-02-20 23:51:35 +05:30
Raul Jordan
9bee695a3b
Implement Eth1Data RPC Server Functionality (#1615)
* eth1 data comments

* eth1 data RPC server side impl

* logic is data objects is empty

* finished eth1 server logic

* update comments

* fmt

* big int comparisons

* begin adding eth1 data tests

* empty data votes test runs

* all tests complete with every code branch triggered, behavior correct

* fmt, imports

* address comments

* wrapped up tests

* addressed all comments
2019-02-20 11:57:02 -06:00
Nishant Das
668a7633ad
Add Utility to Send Deposit Transactions (#1618)
* add in utility

* fix errors

* remove image target

* add in stats package

* add in stats package

* key fix
2019-02-20 12:21:33 +05:30
terence tsao
c0bf3ec5b9
Implement Attestation Req/Res for Sync Service (#1654)
* sync responds for attestation and unseen attestations

* hook up routines

* wrapped up tests

* better name

* gaz
2019-02-19 22:29:51 -08:00
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
renovate[bot]
e9e8c61666 Update dependency com_github_golang_snappy to v0.0.1 (#1652) 2019-02-19 18:28:27 -08:00
renovate[bot]
c84ee0ddfe Update org_golang_x_sys commit hash to 90b0e44 (#1651) 2019-02-19 16:32:00 -08:00
terence tsao
c30bef0812
Implement Next Epoch Committee Assignment for RPC Server (#1641) 2019-02-19 15:31:04 -08:00
Preston Van Loon
259cbd7c6c Contract drain (for test/debug only!) (#1648) 2019-02-19 14:01:41 -08:00
Preston Van Loon
4ee57f1c45 shorten name (#1649) 2019-02-19 13:38:29 -08: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
renovate[bot]
ef4a7e07cc Update org_golang_x_crypto commit hash to a4c6cb3 (#1642) 2019-02-19 15:06:24 -05:00
renovate[bot]
aab2a6d088 Update com_github_prometheus_procfs commit hash to e4d4a22 (#1645) 2019-02-19 15:06:05 -05:00
renovate[bot]
077f83031b Update org_golang_x_oauth2 commit hash to 4b83411 (#1646) 2019-02-19 15:05:50 -05: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
Preston Van Loon
81c2e4e94b
First pass on pow faucet for testnet (#1624)
* first pass on pow faucet for testnet

* delete unused thing

* remove unneeded thing

*  remove other thing

* https & remove a log

* don't force redirect on https, its not working?

* some renaming of stuff

* lint

* lint

* some stablity config

* move protos to proto directory, add generated pb file for go users

* add health probe

* add hpa and request cpu

* handle err

* some more config
2019-02-19 12:32:14 -05:00
renovate[bot]
0e1f5ef55c Update com_github_phoreproject_bls commit hash to afaefda (#1640) 2019-02-19 08:00:58 -08:00
Raul Jordan
c5c7d40398
Create Wrapper Around Pure Go BLS Project in Prysm (#1625)
* finish the BLS API wrapper

* all tests passing

* unexported comment

* gofmt tests for bls

* slice

* len

* cap err string

* tests

* imports

* gazelle
2019-02-19 09:09:50 -06:00
renovate[bot]
6a0c095998 Update org_golang_x_sys commit hash to 153ac47 (#1637) 2019-02-19 06:19:28 -08:00
renovate[bot]
624a0fd72e Update dependency com_github_gxed_hashland to v0.0.1 (#1639) 2019-02-19 18:24:36 +05:30
renovate[bot]
7205b303f5 Update com_github_golang_snappy commit hash to 2a8bb92 (#1634) 2019-02-19 18:15:40 +05:30
Preston Van Loon
c30913266c
Remove paths to go-ethereum crypto in validator (#1635)
* remove a few references that tie the validator binary to the go-ethereum crypto library

* fixes

* remove unused vars

* gazelle

* nosec on this crypto library
2019-02-19 01:17:27 -05:00
Raul Jordan
3e46381b3f
Fetch the Correct Chain Head During AttestHead (#1596)
* correct attester view of chain head and prioritize proposer

* fix attempt not working

* revise with correct logic

* attester fixess to root fetching, spec did not make sense

* comments to match code

* fix attester responsibility

* comments
2019-02-18 23:49:56 -06:00
renovate[bot]
bd7567e200 Update com_github_libp2p_go_libp2p_discovery commit hash to d369eed (#1632) 2019-02-18 21:24:38 -08:00
renovate[bot]
8e906deabe Update com_github_libp2p_go_libp2p_autonat commit hash to 842b9c4 (#1630) 2019-02-18 17:07:26 -08:00
terence tsao
9f64ee7ecf
Remove Processed Block Operations from DB (#1626) 2019-02-18 15:34:49 -08:00
Preston Van Loon
c9bfa52119 Print a better copy/paste version of the deposit data (#1629) 2019-02-18 15:06:55 -08:00
Ivan Martinez
650372915f Hotfix/add both role case (#1627) 2019-02-18 14:51:49 -08:00
terence tsao
8b661c9540
CheckBit to work with small endian (#1628) 2019-02-18 12:45:20 -08: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