Commit Graph

686 Commits

Author SHA1 Message Date
Preston Van Loon
e9773bca90 Update README.md (#292)
Former-commit-id: 6a975f58702ffae8f8e76e40ef571600766fe172 [formerly b16300ef75c1deb135ef1e75c45dac0174ee6a51]
Former-commit-id: 8bea7a65e249d0df7df1059a59fe87aa3e394c2f
2018-07-18 10:17:54 +08:00
Preston Van Loon
9ac88d11da sharding: Local networked P2P! (#222)
Former-commit-id: d22d05529bb0050b8a03053a28d876e3e458bbff [formerly 284a04699110aa285a42f5b0ad244ca9bd77d2df]
Former-commit-id: 83cd9c8a48fb5ce9c57ff8ef6c2b1741a4d05130
2018-07-17 13:39:04 -05:00
Preston Van Loon
77267169ea Add More Lint Rules With gometalinter (#284)
* turn up linter to 11

* Added extra linting rules and fixed all lint issues

* add deadline of 10m


Former-commit-id: 632999fcaa8370516d6fe76c28c503cb2e3319b7 [formerly d4354f631b1eb4f7918cde28bf063f756ae92a54]
Former-commit-id: 3aaf78a56b76850b0123d61551ac554ccecfe9ad
2018-07-15 15:06:36 -04:00
Preston Van Loon
fa15f552b1 Disable Remote Execution For Now (#283)
* Disable remote execution for now

Will be addressed in #282

* fix typo

* Update .travis.yml


Former-commit-id: 5fc014164e759968db5193e1a07169283734f2bc [formerly d19ffd0ad589160d55b2303d92e9496f12fcd1ee]
Former-commit-id: 87e1067efc929ac7ca46036ec6b600f4a11e4e91
2018-07-15 13:28:38 -04:00
Preston Van Loon
ad68cd0937 Update go-ethereum with fix for mac OS builds (#281)
Former-commit-id: daad7a0a2588bfaa5402a4b49e1c37db0a50c22d [formerly 70f92288a0838362495d4b30a3a2c57268fa7b5a]
Former-commit-id: fdbc53b780970d32cb786bcb12b2e07b06b9ee6e
2018-07-15 11:39:57 -04:00
Preston Van Loon
bc2f4e1131 update rules_go and gazelle (#279)
Former-commit-id: 41644206a58f240d1d287997661122d675efd97f [formerly aaedd03127aeaf7c013b22dd7ff4f82d6979f154]
Former-commit-id: 6ecaa6f62e8c31bdf6fc27f774418d7dcb1fb1d7
2018-07-15 00:32:10 -04:00
Raul Jordan
ce5fde1f57 sharding: Fix Concurrency Issues, Fix Simulator/Proposer/Syncer Runtime Problems (#276)
Former-commit-id: 2547a60befd85276fb4fb702a4277f3e1dbd9c48 [formerly 9d23a567fbf09e8a19dcbb2ca39b8c8678ce879f]
Former-commit-id: 8c1a555faf070f4070c50dae4913bdd615c66ee7
2018-07-14 15:23:07 -05:00
Raul Jordan
878a332913 beacon: Create a Subscription to Mainchain Head Events Via RPC as a Service in Beacon Node (#273)
Former-commit-id: a4677d647a959cbbbe9c4046e16fa6fa761133ac [formerly f775f6e9529e64cb1392a22f8ef15b186efa14ed]
Former-commit-id: 42350204f72fcba4626a39e61b6e64b6f0afba32
2018-07-14 14:48:42 -05:00
Raul Jordan
e305d58355 shared: reinclude debug.Exit() usefulness (#275)
Former-commit-id: 423052bc5858f3e5772b37bb9d0b4a05f9b131ac [formerly 869ca9c92bc215b0583953bb5ab2479927b15256]
Former-commit-id: bfd9353f0234864c9823ad3ee10d152d59af791c
2018-07-13 22:35:15 -05:00
Raul Jordan
83569f1342 shared: Abstract Service Registry Into Shared Folder, Add Beacon Node and Beacon Entry Point (#268)
Former-commit-id: 406ba2f1e65ec58e822fcf1b9d54c44ba51a559c [formerly 52aebe050663c4dc73fc56e5e4c6846620267f1f]
Former-commit-id: c959a9fda119e4403136ac4f8d1b345d464ab5df
2018-07-13 21:15:37 -05:00
Raul Jordan
739f34f26c sharding: Test for Node Fetch and Register Service, 100% Simulator Coverage (#254)
Former-commit-id: 2fe6fdb393917f90c9a8a0c6dfb866738736803e [formerly 03d3519c59eb7f78e20ff08c081031d9b1f673bc]
Former-commit-id: a1cba8b7ec0517748d5df0bab458b2466f7b6329
2018-07-13 11:47:57 -05:00
Raul Jordan
0444ee81c4 Update Documentation to Reflect Beacon Chain Research (#247)
Former-commit-id: 91dea499d9e27b0ca9e22769582eae6f8d042a98 [formerly 9bfb7f7fef2b8e4802cfd5d99be561378a5ada65]
Former-commit-id: 5a2a52d440d9d67857f5ecac173aa721ce46d12c
2018-07-12 12:12:11 -05:00
Raul Jordan
923e727819 Fix Bazel Build Rules for Visibility, Move LICENSE to Top-Level (#253)
Former-commit-id: 4857afb2c25835b643cd58dd90b114695154b50f [formerly 5d2c723def807289eb72e6c35ce7036ef70f837e]
Former-commit-id: 79c8f081748e29e00b61ace851f74c2252865729
2018-07-12 12:00:37 -05:00
Nishant Das
620564cd61 beacon: move beacon-chain to geth-sharding repo (#250)
Former-commit-id: 689de6935d724226eb9125d597831d7b274d79c1 [formerly 4e0c0d671c4e6284cd33300231cc0f7aba99d314]
Former-commit-id: c3079b352bc938c12708b81cdc0130909456ea27
2018-07-11 17:29:31 -05:00
Raul Jordan
f5e5287082 sharding: Remove Dependency on Geth: Replace Log With Logrus Package (#242)
Former-commit-id: 2ec35880b3aa30d3c217815c9a474e8d81ee1fa8 [formerly c20da02cf9149990f8b7913cfe426b8036992c16]
Former-commit-id: 4851374829557f1523f5994b1d97e08e46979aed
2018-07-09 21:27:23 -05:00
Raul Jordan
2624cd2b3c sharding: Completely Remove Geth, Create a Single Sharding Entry Point That Builds (#238)
Former-commit-id: b853fd1c3ea2284d30d7f3032cf83287c7198c10 [formerly c012daacceec9cb3497f1d066ee3ca2d20aa5b14]
Former-commit-id: 0a5a60c296f878c7057b25fc759dec2487363d30
2018-07-08 21:40:34 -05:00
Preston Van Loon
aae781531a Use remote config for travis builds when possible (#241)
* use remote config

* fix bash


Former-commit-id: 2a7b342baea6168970088d547313d7517ec0d6d9 [formerly d1adf6e65b1bb505eea12cf65499a72713621ca2]
Former-commit-id: e0dba82a206e174178373561d497152e47300aaf
2018-07-08 17:23:24 -04:00
Preston Van Loon
516d136e97 disable remote caching for now (#240)
Former-commit-id: 2fcd48a28367afb72cfbd1b1efdfe913b8ef24f9 [formerly 87e93c6ab928e2e0e099d30b8f89821d1af7b4ae]
Former-commit-id: 0a4d862e7c19f4c2f283b19da775acc55d18bbd7
2018-07-08 15:37:11 -04:00
Preston Van Loon
20e9af4532 fix travis (#239)
Former-commit-id: 898c0ae1194d1f17811086d8ef5f68f15b478184 [formerly 97babbfad351e385c24c59a50d0a3d42dc7717c5]
Former-commit-id: ee689e2c8a8a246df40fdc14dfceb6ca2b5b2a5f
2018-07-08 15:22:41 -04:00
Yutaro Mori
136a630809 sharding: fix race condition in simulator tests (#237)
Former-commit-id: d53651fc87d713f29b458544eec8f060c0f2a284 [formerly 64adf38c5615fd6b833361e8836f2f97d089b78c]
Former-commit-id: 896ca03a66d8fa727897eedb970c5088db2e53b9
2018-07-08 13:40:49 -05:00
Preston Van Loon
7229db3271 Bazel cache for travis (#236)
* use google cloud storage for remote caching

* install gcloud

* poke readme to kick travis

* Remove cache thing

* unpoke README

* remove tabs from copy paste

* fix more tabs... what happened?

* fix formatting i think

* parsable yml

* try to cache the cloud sdk tools

* add gcloud to path

* dont need gcloud

* move service account to home directory

* lets try tmp directory


Former-commit-id: 0e844dc112bf6a78e0f3c24eb1ca4ce1ba4f376a [formerly c8106e91a46e7db40710f637bab3658fa9686cc4]
Former-commit-id: f9c69ca80a9a110568bf932eb913f3408f953e56
2018-07-07 16:01:58 -04:00
Preston Van Loon
68eba02cc2 Remove most of the remaining geth code and set up bazel (#235)
* Remove most of the remaining geth code and set up bazel for this

* chmod +x

* Add flake check

* better flake detection


Former-commit-id: 5c332ecbf2923943f646f1fe40befa95be883329 [formerly 99590fc354514584700e5ce8d7d30a8a7d541f29]
Former-commit-id: e5f919b553fe698e98090965d34eb721990b5693
2018-07-07 13:23:19 -04:00
Raul Jordan
6918dc483b Eliminate More Unnecessary Dependencies: Whisper, Etc. (#229)
sharding: eliminate unnecessary dependencies

Former-commit-id: 0b6c06f979f1daa72557b79251f83a40356d6936 [formerly 22a70de8740e5a82a1db94070bbe7d8903f0a987]
Former-commit-id: a5ea8ad58f2e3302f773a308b7584ef3f4e79e02
2018-07-02 17:39:56 -05:00
Raul Jordan
324be9e556 sharding: eliminate contracts, swarm (#228)
Former-commit-id: 376a40f1e44b357287e186d75c23597239b71b7d [formerly 26860cf26e491ebd89ac3704f26256c4e94339ce]
Former-commit-id: c52a291c2f8a26274061a3897361a04eda740468
2018-07-02 15:22:55 -05:00
Raul Jordan
dafcfb2e18 Upstream Merge (#227)
sharding: merge upstream
Former-commit-id: 5129a4d5bc4395cd7c115b7f8db23541a512df3f [formerly e4f2b25a4277464c51b4c45384114a305464d3c4]
Former-commit-id: 2b4f0e356d3823889466d0f6ff22d5632f827f48
2018-07-02 14:25:06 -05:00
Raul Jordan
f3f5b8e5a6 Simplify Service Registry, Pass in References as Dependencies to Prevent Nil Pointer Errors (#217)
sharding: simplify service registry to prevent nil pointer errors
Former-commit-id: ba4833c385e5212723932491810baad62e3ff0f9 [formerly c550c6d0837999f46a6de55a36fb1ae92d2ecd6f]
Former-commit-id: 80e9e13bc811444b461dad6bdf9eec633b911bec
2018-06-28 20:56:51 -04:00
Raul Jordan
f8d4cdda84 Simplify Goroutines for Better Testing (#216)
sharding: goroutine for better testing (#216)
Former-commit-id: 2c70ee0892b1e36d5b4473f1e5bba5f151ee449c [formerly 3d91ae5c4288ab27fbf09347d5b12164802726bc]
Former-commit-id: 24085acd2b045f549a3356ef0da219cb91149650
2018-06-27 13:19:36 -05:00
Preston Van Loon
60a5fc7f9b sharding: add debug flags to sharding (#218)
Former-commit-id: d5ae247e0cf4228f227b325812966ff3c0435a6f [formerly 288cbd8546d5d3715f5a948fc0d4a85851d8152b]
Former-commit-id: 27bb304720de6dc4a69603a5fae2917828a06ffc
2018-06-26 11:04:27 -05:00
Raul Jordan
263cd71104 sharding: use small interfaces to fix nil pointer errors in tests
Former-commit-id: 61f93b839d44d63506441ebdd747c141efd6e472 [formerly 74e21cf43fa0ce38d410ca483274c4903562b49a]
Former-commit-id: eec8ee4e9a5a2b3d1c8f6d534ac716ecceab3b85
2018-06-24 16:16:54 -05:00
Raul Jordan
f009381a83 Refactor MockClient Into Internal Package (#210)
sharding: refactor mockClient into internal package

Former-commit-id: 5bb5142c92cffe0aeca0da06fdf0467d0570daee [formerly 4f9a27b0c3ddbbd578bf4d13f7818c7871d3d376]
Former-commit-id: b4164ac956933babeeb3918ac2a5c37613c67377
2018-06-21 16:17:14 -07:00
Raul Jordan
1ddb19bba6 Handle and Simulate Collation Body Requests/Responses (#172)
sharding: create a syncer and a simulator package

Former-commit-id: b392885510ba5a96e61278cbbe2c0ec6f9722ee8 [formerly 3a435eaf6805d02beae55656f155b2c3a66ee663]
Former-commit-id: 0f6f3f2053ae77711e2072848b727b0dc9b92276
2018-06-20 22:03:02 -05:00
Nishant Das
1eb7451266 Implementation for the Notary to Vote on Collations (#131)
sharding: notary functionality for voting on collations

Former-commit-id: 3ac6bb4a7a269966dd8d526c13cce4d0f1aea680 [formerly 2d527347f708a462bfbc206a581bd9b79963ad4c]
Former-commit-id: 68ac7bb8cffc3211a78e15a733101ef035ca50d4
2018-06-20 14:15:05 -05:00
Nishant Das
ed9db010ea Separating out Transaction Receipt functionality (#186)
sharding: separating out transaction receipt functionality
Former-commit-id: 1f581a36e282a5a7579f14f613a44946abbdf93d [formerly 58f934a8fb5f23c3e594d70039fc5d99815bc90c]
Former-commit-id: f0c9265a84c1f7a09ae3d37a2d4a8f74e2e25b96
2018-06-20 07:22:56 -07:00
Yutaro Mori
346b9ae8aa Random transaction generator (#171)
sharding: random transaction generator
Former-commit-id: b41891c474372ab54cbf1e3fa34dc7399f42c6d4 [formerly 69b7da173694490fa44748fe3cb3b2aa84f36b46]
Former-commit-id: b642be5e1b7b4aad59011983bacda4a9b1166463
2018-06-19 20:59:02 -07:00
Yutaro Mori
ad291e93f6 perf improvements to CalculatePOC (#182)
Sharding: proof of custody performance improvements
Former-commit-id: 6a41b5031298579c78d848277fbdff77de27b5f3 [formerly 31a818a367d311f8c7021b9a6b5cad986e53baf3]
Former-commit-id: 2c992bf3b2c98573db021f46680a48ccc632f25b
2018-06-18 07:06:02 -07:00
Preston Van Loon
f32f7ba36c sharding: Internal helper package (#189)
* move log helper to internal package

* move log helper

* Add readme


Former-commit-id: cc9eaa1e87415c031841f367c30dc3b20cd54858 [formerly 60a22abaff65803fbad00a089f842e6e23e9ec9f]
Former-commit-id: 62769aedb094e51fb87757d174b7c6fc77464f96
2018-06-17 14:57:50 -04:00
Preston Van Loon
ab2954a693 Add a log handler helper (#188)
sharding: add a log-handler helper for tests

Former-commit-id: fb083848d8615f36786f5c6b96a2182a8be21b9d [formerly 1c62e207943d9265a59f0ff6577479c6a2eaf76b]
Former-commit-id: 0677762c40db862185c7b951e419473949b761c9
2018-06-17 12:40:35 -05:00
Raul Jordan
50c69a6571 Simplify Interfaces Into Smaller, Useful Ones (#184)
sharding: simplified all interfaces, into smaller, more useful ones
Former-commit-id: c49a98c4c57bcce710d91034804fe270b2567645 [formerly fe0fb3f69dff87c40a98da4a5e7f52d0ac1106aa]
Former-commit-id: 73f6b5c33b5c3197bf76096cf18cc490acb16462
2018-06-17 12:39:42 -05:00
Preston Van Loon
912b3b65bd FIx start/stop of ShardEthereum (#185)
* sharding: Fix mainchain.Client starting RPC connections during ShardEthereum.New. Fix graceful stop

* sharding: Just pass the cli.Context rather than keeping it on the shardEthereum

* sharding: add doc

* sharding: add doc

* Sharding: remove exgtra newline

* sharding:fix lint


Former-commit-id: fdaf8160245d9233b693f685ba6078e4b15fa279 [formerly f7fa71912b7d8340ede6cd08b357056fafbab014]
Former-commit-id: 0e8bfbbc579451178f76263364fdbcd00a91d651
2018-06-16 22:26:03 -04:00
Raul Jordan
9e1c76e693 Merge pull request #133 from elihanover/construct-collation
Construct Collation and Merklize Chunks into chunkRoot

Former-commit-id: d4ed64c3d3802f1bfc330d6d4c7ee18109cd3f85 [formerly 1c70ba631e08220189b16315f28b477172d07d55]
Former-commit-id: 1ab7be7a53c31ee96b9c3abdbdc198eff874207f
2018-06-13 21:10:12 -05:00
Eli
5f7237a468 Merge branch 'master' into construct-collation
Former-commit-id: 74b350ce5e3ff691d96619841d8c79dd8bb3fc31 [formerly 74164493417986920fe40d0543335046d85fd9fd]
Former-commit-id: b487569e8cf816856c37d9d7c74244cf1e9a057c
2018-06-13 15:31:32 -07:00
Terence Tsao
ff79950641 sharding: fixed lint
Former-commit-id: 52c3570cba9b5b78d853807b10a7ee599c5c059b [formerly c4e2137e7de6c3fa6b921f8bb1a630cde1ce5ca5]
Former-commit-id: 973d4e99f27a6411386ef91ee84ea92faf72fa4c
2018-06-13 12:07:15 -07:00
Raul Jordan
886cf9e607 Merge branch 'master' into remove-interfaces
Former-commit-id: a6527d7858355b3de4df270d00d9a94031fdc892 [formerly 4a5eaa82a48de4cc0112424fde2a17c49fba4a10]
Former-commit-id: 4e91334e6c5fce26e408a083a69b8533dd76cf7b
2018-06-13 12:41:46 -05:00
Terence Tsao
1bd464aade updated shardConfig to config
Former-commit-id: ec3595f6111b15e2ea6a3ecd35e6a3934314a662 [formerly df7289f224ce6bc35ef9dd2ec6e129662aad3489]
Former-commit-id: ae8e1f1b95b113767cb3fa0e0835e59043ceca32
2018-06-13 10:37:23 -07:00
Eli
b92ce331fa Merge branch 'master' into construct-collation
Former-commit-id: 53a154aaaf9e1fc47d578c8755393d6bc37aa3a8 [formerly c2ec003f8e3948f4d5ed80821fafb6a24e8f7948]
Former-commit-id: f568728bbc65af284e4d417f92343e4c82fc9f25
2018-06-13 08:38:26 -07:00
Eli
8752d76677 sharding: corrected error type
Former-commit-id: 30968e4992b491fc7ebeac4abba65cd4338d6785 [formerly 47e1c6c092170002d46d2513c23af44fd81f5e92]
Former-commit-id: 385f981d0ecd7d658b74c7de55ea90946df313e8
2018-06-13 08:21:53 -07:00
Raul Jordan
6889eedcd1 Merge pull request #174 from prysmaticlabs/p2p-feed-api
Peer to Peer Feed API

Former-commit-id: 7a38354c89c2c0d85f52c5bfb2f59b11c8615f1f [formerly 7c73afa67bf0296a565991f85f207e857385e4f7]
Former-commit-id: d85cde67fdc27e55ecd3962108771c320b14c41a
2018-06-13 10:16:58 -05:00
Raul Jordan
3ac72f079f Merge branch 'master' into p2p-feed-api
Former-commit-id: faabf714ec639427d33022c67456fc53fd97e6b8 [formerly a7ceba7cb6ae65b1f8b49f11b27cbbe0373be033]
Former-commit-id: 3113062927fafdbca335748eea40796437ae0612
2018-06-13 09:19:51 -05:00
Preston Van Loon
67c37cde39 Remove unnecessary interface. Remove "shard" prefix from many places
Former-commit-id: 3782465be416107779942a03984ae0b77e5efd20 [formerly 6ef8e5ea1b51845a9510e0597681a001f602076d]
Former-commit-id: 0bd84c0478896264737f96ec4d08e9587dd2172c
2018-06-13 08:44:33 -04:00
Preston Van Loon
9ab76dc1f6 add TODO issues, fix typo
Former-commit-id: 797bc1cf3a759f2a55dbf1ce790c3f599682448c [formerly 8f4e5d953c3e553944db263a76c142ffccad516d]
Former-commit-id: c7c1e3e2d340c8cd5f97e4549fa46a7959be06c6
2018-06-13 07:44:45 -04:00