Commit Graph

880 Commits

Author SHA1 Message Date
Preston Van Loon
c972925dbd
Buildkite bazel config (#620)
* testing buildkite config for bazel with remote cache on gcp

* Remove remote caching, it's going really slow for some reason with golib
2018-10-03 20:20:57 -04:00
Raul Jordan
86bbf99706
Update README.md (#615) 2018-10-03 15:33:29 -04:00
Preston Van Loon
a57b19beb4 Disable remote caching for now (#612)
* Disable remote caching for now

* Update .travis.yml
2018-10-03 14:28:00 -04:00
Raul Jordan
675be412b3
amend doc (#613) 2018-10-03 13:54:43 -04:00
Raul Jordan
075e333215
fix shuffle (#611) 2018-10-03 09:08:12 -04:00
Raul Jordan
a720620801
Update Documentation to Reflect Latest Changes, Demo Instructions (#599) 2018-10-02 22:54:35 -05:00
Raul Jordan
b8036fcb0f
Fix Validator Assignment (#609)
* fix

* ready
2018-10-02 22:39:19 -05:00
Preston Van Loon
763d0d6bdc
Add Go tools in bazel (#608)
* add atlassian bazel tools

* Add bazel entrypoints for native go stuff

* gazelle
2018-10-02 22:04:36 -04:00
Preston Van Loon
8bcddf5fdc
Migrate dependencies on @com_github_ethereum_go_ethereum//event (#601)
* Add go-ethereum's event and

* remove swp file

* goimports

* remove unused code

* fix gazelle
2018-10-02 21:49:01 -04:00
terence tsao
aec2ea3b1b Fixed Simulator Slot Alignment (#607) 2018-10-02 20:02:52 -05:00
Raul Jordan
593e3dcdf9
Beacon Node Determines Slot From Genesis Block if ChainState Detected (#606) 2018-10-02 15:07:33 -05:00
terence tsao
d5bf733948 Fixed Simulator Can't get ParentSlot (#602) 2018-10-02 13:34:26 -05:00
Raul Jordan
1abed55bdd Update Beacon/Validator Flags to Disable Reward/Cross-Link Checking by Default (#597)
* flag updates

* enable att validity, cross links, rewards

* tests all pass

* fix race

* fix cov

* fix flag

* fix conf

* fix race

* fix gazelle
2018-10-02 10:04:37 +08:00
Preston Van Loon
6e2b6229fe
Revert "Fixed Sync With Simulator (#588)" (#600)
This reverts commit 085b45626e.
2018-10-01 20:54:45 -04:00
terence tsao
085b45626e Fixed Sync With Simulator (#588) 2018-10-01 14:14:10 -05:00
Nishant Das
c4ea6b8e13
adding attestation (#590) 2018-09-29 17:09:05 +08:00
terence tsao
a03baa8055 Not Include Attestations for Proposer (#587) 2018-09-28 11:18:25 -05:00
terence tsao
d65e2a4157
Implemented Dev Flag to Use Demo Config (#586) 2018-09-27 23:48:39 -07:00
Raul Jordan
367aae3bf4
Fix State Recalc in Slot Assignment (#585) 2018-09-27 23:49:29 -05:00
terence tsao
965c6a30cf Add Back Deleted Test and New Logs (#584) 2018-09-27 19:57:09 -05:00
terence tsao
2566687db7
Validator Client Use Assignment Stream to Determine Responsibility (#566) 2018-09-27 14:46:07 -07:00
terence tsao
bc7e07d5dd
Load Genesis State Config when Flag is Specified (#576) 2018-09-26 23:58:00 -07:00
Nishant Das
48c07bfeb9 Update Rewards to Align with Spec (#570)
* updating rewards

* add tests

* adding tests

* lint
2018-09-26 22:20:59 -05:00
Raul Jordan
e10baf7c80
Validator Assignment RPC Beacon Node Stream (#563) 2018-09-26 21:34:35 -05:00
Preston Van Loon
54a10913b2
Disable sandboxing (#581)
* Revert "Add Skip Coverage Condition in Coverage.sh (#416)"

This reverts commit 72a5dd1cf4.

* add coverage.sh back

* remote cache

* fixed formatting

* Add support for cache reads and writes

* trying to get this newline to not be escaped. please behave travis

* last attempt at new line...

* Disable sandboxing on travis
2018-09-26 21:33:21 -04:00
terence tsao
c73f4c0fd3 Enable Remote Caching & Use Host GO Version (#578)
* Revert "Add Skip Coverage Condition in Coverage.sh (#416)"

This reverts commit 72a5dd1cf4.

* add coverage.sh back

* remote cache

* fixed formatting

* Add support for cache reads and writes

* trying to get this newline to not be escaped. please behave travis

* last attempt at new line...
2018-09-26 20:08:00 -04:00
Nishant Das
542ddef9e8
fixing error (#574) 2018-09-27 01:06:45 +08:00
Jie Hou
c37ad4b446 Initialize ActiveStateHash and CrystallizedStateHash for Genesis BeaconBlock (#518) 2018-09-26 08:34:23 -07:00
Nishant Das
f9a5d277e8
Add Ability for Validator Client to Provide Public Key (#567)
* Adding pubkey to validators

* Adding test

* Addressing Review
2018-09-26 11:27:52 +08:00
Preston Van Loon
5bc324d2f1 Change pubkey from uint64 to bytes (#561)
* Change pubkey from uint64 to bytes

* add the rebuilt proto pb.go
2018-09-24 22:01:26 -05:00
Raul Jordan
78ccea9865 Refactor ValidatorSlot RPC and Casper to Return ValidatorSlotAndResponsibility (#565)
* slot responsibility casper refactor

* fix
2018-09-24 23:18:27 +08:00
terence tsao
b59a4eef4e
Fixed Bugs after Crosschecking 2.1 Spec (#564) 2018-09-23 22:36:51 -07:00
terence tsao
1aeb0e6b10 Part 1 of Attestation Service - [sync -> blockchain -> rpc] (#548)
* Revert "Add Skip Coverage Condition in Coverage.sh (#416)"

This reverts commit 72a5dd1cf4.

* add coverage.sh back

* beginning sig aggregation routine

* fixed errors

* fixed existing tests

* merged master

* add attestation build.bazel

* private visibility

* tests for attestation service

* lint

* bazel gazelle

* add validator beacon file

* lint

* tests for sync service

* removed tmp.go

* bazel gazelle
2018-09-24 09:22:09 +08:00
Zach Zundel
f3774edeb1 Pending TODO Script Checker in Codebase (#540)
* TODO script

* Add todo to Travis

* Remove blame from todo check

* Print failing todo comments

* Fail on failure

* Fix todo checker

* Don't install godeps

* *actually* don't install godeps
2018-09-22 18:07:03 -04:00
terence tsao
1988dd0d5d
Change Default Validator Balance to Big Int (#559) 2018-09-22 13:15:39 -07:00
Raul Jordan
673c4f840f
Streaming Validator Assignment Service Definition (#554) 2018-09-22 13:19:34 -05:00
Preston Van Loon
e5569c88f8
More todos (#558)
* Add TODO link for issue #555

* Remove database related TODO

* update todo for issue #426
2018-09-22 12:58:24 -04:00
Nishant Das
4973144b76 Remove TODO (#557) 2018-09-22 09:14:25 -05:00
Raul Jordan
5c0ee65619
Finished TODO cleanup (#553) 2018-09-21 22:36:38 -05:00
Raul Jordan
419cff2512
--Dev Mode Flag for Local Demo/Development (#537) 2018-09-21 16:02:17 -05:00
Nishant Das
53508d6bec Update Rewards to Align With New Spec (#504) 2018-09-21 14:56:39 -05:00
Raul Jordan
fa96e57ca2
Re-Add Block Validity Checks (#541) 2018-09-21 14:33:53 -05:00
Nishant Das
e9ae09ef4c Fixing profiling and tracing (#550) 2018-09-21 13:35:48 -05:00
terence tsao
a455baad5e V's Sharding Talk from IC3-ETH bootcamp (#551) 2018-09-22 00:57:33 +08:00
Raul Jordan
190a976d3d
Validator Clients Use an Internal Clock to Determine Slot Responsibility (#467) 2018-09-21 09:32:20 -05:00
terence tsao
9d93312e30
Format TODO (#546) 2018-09-20 23:26:51 -07:00
Daniel Schonfeld
8b61994fb3 Attestation Justified Slot Validation Per Spec (#516)
* bringing isAttestationValid up to spec and udpating tests

* Seems like a bug/typo returning Slot inside Attestation.JustifiedSlotNumber(), fixed now

* typos per @terenc3t

* change errors and messages

* using positive tests vs negative if statements to test for spec rules

* fix error typo

* remove comment
2018-09-20 20:31:29 -04:00
Preston Van Loon
91f26f1421 Use hamming.CountBitsBytes (#547) 2018-09-20 10:56:51 -04:00
Divyank Katira
2a51ed3f39 P2P Message Execution Tracing (#517)
* Request execution tracing initial commit

* Resolve linter issues

* Run gazelle

* Make trace sampling configurable, clean up, update doc

* Document trace span creation

* Fix linter issue
2018-09-20 07:46:35 -04:00
Preston Van Loon
75d32588e0 format and cleanup some TODOs (#544) 2018-09-19 21:14:31 -07:00