Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec freeze updates #2312

Merged
merged 342 commits into from
Jul 20, 2019
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
342 commits
Select commit Hold shift + click to select a range
5b46517
Optimize Shuffled Indices Cache (#2728)
terencechain May 31, 2019
988b1fb
Refactor Deposit Contract Test Setup (#2731)
nisdas May 31, 2019
085962a
change hash function (#2732)
nisdas May 31, 2019
2fb1f3d
Remove Deprecated Validator Protobuf (#2727)
0xKiwi May 31, 2019
901966c
Fix most of skipped tests (#2735)
0xKiwi Jun 2, 2019
5a04d0d
Cache Active Validator Indices, Count, and Balances (#2737)
terencechain Jun 4, 2019
cd1033c
Optimize Base Reward Calculation (#2753)
terencechain Jun 4, 2019
f4ebbff
removed deprecated configs (#2755)
terencechain Jun 5, 2019
60aba6c
Optimize Process Eth1 Data Vote (#2754)
terencechain Jun 5, 2019
ed2fadc
Cleanup and Docs update (#2756)
Jun 5, 2019
ebc0d67
Add graffiti and update generate seed (#2759)
Jun 6, 2019
71eea35
Benchmark Process Block with Attestations (#2758)
terencechain Jun 6, 2019
5f1ec70
Tidying up Godoc for Core Package (#2762)
terencechain Jun 6, 2019
7d1b304
Clean up Old RPC Endpoints (#2763)
terencechain Jun 7, 2019
508c36a
Update RPC end point for Proposer (#2767)
terencechain Jun 9, 2019
6fcf25c
Update attesting indices v0.6 (#2449)
shayzluf May 7, 2019
d77c3e2
Implement Justification and finalization Processing (#2448)
terencechain May 7, 2019
129762a
Add convert to indexed (#2519)
shayzluf May 8, 2019
1c0aa94
changes name to signature (#2535)
nisdas May 8, 2019
6a26fb2
update registry updates func (#2521)
shayzluf May 9, 2019
cb63eca
Update Committee Helpers to v0.6.0 (#2398)
0xKiwi May 13, 2019
67902e1
Update Committee Helper Part 2 (#2592)
terencechain May 15, 2019
57bc107
Implement Process Slashings for 0.6 (#2523)
terencechain May 15, 2019
c774917
Update Proposer/Attester Slashings and Slashing Helpers (#2603)
rauljordan May 15, 2019
dc3e73e
Implement Final Updates 0.6 (#2562)
terencechain May 15, 2019
07b5e52
Update Reward Helper v0.6 (#2470)
terencechain May 15, 2019
233adc9
update to new spec (#2614)
shayzluf May 16, 2019
3e63695
Update Block Processing Voluntary Exits (#2609)
rauljordan May 16, 2019
e181666
Update processEth1Data for v0.6 (#2516)
cyberbono3 May 16, 2019
b26fe09
Clean up Helper Functions Part 1 (#2612)
terencechain May 17, 2019
b09ecec
Finalize helper functions for 0.6 (#2632)
terencechain May 17, 2019
86ff173
Process Beacon Chain Transfers v0.6 (#2642)
rauljordan May 18, 2019
744affa
Implement Process Crosslink From 0.6 (#2460)
terencechain May 18, 2019
7beeec4
Process Block Eth1 Data v0.6 (#2645)
rauljordan May 19, 2019
ddf7a96
Get attestation data slot v0.6 (#2593)
cyberbono3 May 19, 2019
67878ec
Process Block Deposits v0.6 (#2647)
rauljordan May 19, 2019
d21dbca
Implement Crosslink Delta Rewards for 0.6 (#2517)
terencechain May 19, 2019
9ecd5d4
add ProcessBlockHeader v0.6 (#2534)
shayzluf May 20, 2019
53dcc5e
Add Process Registry for Epoch Processing (#2668)
terencechain May 21, 2019
c504931
Follow up on process block header v0.6 (#2666)
rauljordan May 21, 2019
518e129
Putting Crosslink Delta Back (#2654)
terencechain May 21, 2019
f747de5
Implement Attestation Delta for v0.6 (#2646)
terencechain May 21, 2019
5c1410b
Implement process_rewards_and_penalties for 0.6 (#2665)
terencechain May 21, 2019
ebff47b
Update Slot Processing and State Transition v0.6 (#2664)
rauljordan May 21, 2019
c25ed02
Implement Process Epoch for 0.6 (#2675)
terencechain May 24, 2019
66a922d
Update CommitteeAssignment (#2693)
terencechain May 26, 2019
1877c2e
cleaned up skipped tests for core processing (#2697)
terencechain May 26, 2019
52ef370
Process Block Attestations v0.6 (#2650)
rauljordan May 27, 2019
5fd97e9
Fixed Skipped Tests for RPC Server (#2712)
terencechain May 28, 2019
1318235
Remove Obsolete Deposit Proto Objects (#2673)
May 28, 2019
98f8331
Remove Deprecated Protobuf State Fields (#2713)
terencechain May 28, 2019
b0db321
Remove Deprecated Protobuf Crosslink/Slashing/Block Fields (#2714)
terencechain May 28, 2019
1cbe622
Remove Deprecated Beacon Block Proto Fields (#2717)
terencechain May 28, 2019
13c9432
Remove Deprecated Attestation Proto Fields (#2723)
terencechain May 29, 2019
1fb0263
Cache Shuffled Validator Indices (#2682)
terencechain May 30, 2019
ee3a388
YAML shuffle tests for v0.6 (#2667)
shayzluf May 30, 2019
d29a2be
Remove Latest Block (#2721)
May 30, 2019
0f43b26
Fix Deposit Trie (#2686)
May 31, 2019
013aee6
Remove Committee Cache (#2729)
terencechain May 31, 2019
d9a109a
Benchmark Compute Committee (#2698)
terencechain May 31, 2019
87ff6a0
Fixed Skipped Attestation Tests (#2730)
terencechain May 31, 2019
94cb85d
Optimize Shuffled Indices Cache (#2728)
terencechain May 31, 2019
ae11795
Refactor Deposit Contract Test Setup (#2731)
nisdas May 31, 2019
0c33dc4
change hash function (#2732)
nisdas May 31, 2019
b88d7a8
Remove Deprecated Validator Protobuf (#2727)
0xKiwi May 31, 2019
b899305
Fix most of skipped tests (#2735)
0xKiwi Jun 2, 2019
76fa1e5
Optimize Base Reward Calculation (#2753)
terencechain Jun 4, 2019
8373d75
removed deprecated configs (#2755)
terencechain Jun 5, 2019
3485797
Optimize Process Eth1 Data Vote (#2754)
terencechain Jun 5, 2019
82dc94e
Cleanup and Docs update (#2756)
Jun 5, 2019
4a0b371
Add graffiti and update generate seed (#2759)
Jun 6, 2019
32975ba
Benchmark Process Block with Attestations (#2758)
terencechain Jun 6, 2019
da0e6bb
Tidying up Godoc for Core Package (#2762)
terencechain Jun 6, 2019
f2c3100
Clean up Old RPC Endpoints (#2763)
terencechain Jun 7, 2019
0b47674
Update RPC end point for Proposer (#2767)
terencechain Jun 9, 2019
ccbe072
Merge remote-tracking branch 'remotes/origin/master' into fixMess
nisdas Jun 9, 2019
bf441a8
Cache Active Validator Indices, Count, and Balances (#2737)
terencechain Jun 4, 2019
185dade
Update Deposit Contract (#2648)
nisdas May 24, 2019
76a2120
Update Shard Helpers for 0.6 (#2497)
terencechain May 14, 2019
4e82811
Update Genesis State Function to v0.6 (#2465)
nisdas May 6, 2019
e3d4cff
lint
nisdas Jun 9, 2019
0e035c7
regen protos and mocks
nisdas Jun 9, 2019
03abcd5
regenerated protos
terencechain Jun 9, 2019
f01dc69
started fixing core
terencechain Jun 9, 2019
eb76044
all core tests passing!
terencechain Jun 9, 2019
8b2184d
removed shared/forkutils
terencechain Jun 9, 2019
bd0f182
started fixing blockchain package
terencechain Jun 9, 2019
7a0f4c0
lint
nisdas Jun 10, 2019
26d2755
updating rpc package
nisdas Jun 10, 2019
d9719b2
add back deleted stuff
nisdas Jun 10, 2019
df00a73
add back deleted stuff that was deleted accidentally
nisdas Jun 10, 2019
ca427dc
add back protos and mocks
nisdas Jun 10, 2019
8d9960d
fix errors
nisdas Jun 10, 2019
5f9c2ed
fix genesis issue
nisdas Jun 10, 2019
9798f83
fix genesis issue for slot ticker
nisdas Jun 10, 2019
d48e6b1
fix all genesis errors
nisdas Jun 10, 2019
3c6c3b9
fix build files
nisdas Jun 10, 2019
3411cb9
temp change for go-ssz
nisdas Jun 10, 2019
64162a5
fix test
nisdas Jun 10, 2019
01c646b
Revert "temp change for go-ssz"
nisdas Jun 10, 2019
fda0310
update to latest go-ssz
nisdas Jun 10, 2019
69d1cb4
Merge remote-tracking branch 'origin/new-v0.6' into spec-v0.6
prestonvanloon Jun 10, 2019
5bb7ad3
Merge branch 'master' into spec-v0.6
prestonvanloon Jun 10, 2019
5ff4139
unstaged changes
prestonvanloon Jun 10, 2019
5217749
Merge branch 'master' into spec-v0.6
prestonvanloon Jun 10, 2019
f02afa2
Update Attester Server RPC Calls (#2773)
terencechain Jun 11, 2019
d07ed64
Update config and function parameters to v0.7 (#2791)
Jun 12, 2019
8078917
Minor Updates to 0.7 (#2795)
terencechain Jun 12, 2019
2dfc2de
Merge branch 'master' of github.com:prysmaticlabs/prysm into spec-v0.6
prestonvanloon Jun 12, 2019
ae0a501
Refactor Deposit Flow and Cleanup Tests (#2788)
0xKiwi Jun 13, 2019
b2ddee1
Optimize Committee Assignment RPC (#2787)
terencechain Jun 17, 2019
eecec35
Merge branch 'master' into spec-v0.6
rauljordan Jun 17, 2019
55ea830
Update BlockRoot to BlockHash (#2816)
terencechain Jun 18, 2019
f61688a
Fix Final Missing Items in Block Processing v0.6 (#2710)
rauljordan Jun 18, 2019
7563db0
Add Config YAML for Spec Tests (#2818)
Jun 18, 2019
06d1161
Merge branch 'master' of github.com:prysmaticlabs/prysm into spec-v0.6
prestonvanloon Jun 18, 2019
882d067
Align Protobuf Type Names (#2825)
terencechain Jun 19, 2019
650383d
gofmt
prestonvanloon Jun 19, 2019
b4b00fd
Revert "Align Protobuf Type Names (#2825)" (#2827)
terencechain Jun 19, 2019
35b67a3
Update Domain Related Functions (#2832)
terencechain Jun 20, 2019
7fb2ebf
Add Functions for Compressed and Uncompressed HashG2 With Domain (#2833)
Jun 21, 2019
ea9de68
Revert "Add Functions for Compressed and Uncompressed HashG2 With Dom…
prestonvanloon Jun 21, 2019
540b568
Add ConvertToPb to package testutil (#2838)
terencechain Jun 22, 2019
1def1d8
Block Processing Bug Fixes (#2836)
terencechain Jun 23, 2019
2b20455
Update types PB with Size Tags (#2840)
terencechain Jun 23, 2019
4a487fc
sync with master
terencechain Jun 24, 2019
85ae648
Merge branch 'master' into spec-v0.6
terencechain Jun 24, 2019
c6f119b
Epoch processing spec tests (#2814)
terencechain Jun 24, 2019
f59563c
Remove Deposit Index (#2851)
Jun 25, 2019
c081179
Shuffle tests revisited (#2829)
shayzluf Jun 25, 2019
12bc617
SSZ compatibility test for protobufs (#2839)
terencechain Jun 25, 2019
bfd50c3
update workspace spec sha
prestonvanloon Jun 25, 2019
d4be71c
remove yamls from branch
prestonvanloon Jun 25, 2019
7bc42b3
BLS spec tests (#2826) (#2856)
Jun 25, 2019
e083bb5
Merge branch 'master' into spec-v0.6
Jun 25, 2019
50eae63
Slot processing spec test (#2813)
terencechain Jun 25, 2019
50e63f0
eth1data rpc endpoint (#2733)
shayzluf Jun 26, 2019
5989165
Attesting Indices Fix (#2862)
nisdas Jun 26, 2019
816d14f
removed old chaintest, simulated backend and state generator (#2863)
terencechain Jun 26, 2019
c5a4778
Block Processing Sanity Spec Tests (#2817)
Jun 29, 2019
b87b730
Mutation testing fixes for beacon-chain/core/helpers/attestation.go (…
prestonvanloon Jun 29, 2019
db5463e
Add some fixes for mutation testing on blocks.go (#2869)
prestonvanloon Jun 29, 2019
697a3dc
Merge branch 'master' of github.com:prysmaticlabs/prysm into spec-v0.6
prestonvanloon Jun 30, 2019
237f0db
Fix sizes
prestonvanloon Jun 30, 2019
2308105
gaz
prestonvanloon Jun 30, 2019
74a2198
Spec freeze release candidate spectests
prestonvanloon Jun 30, 2019
06aae90
Align Protobuf Type Names (#2872)
terencechain Jun 30, 2019
4b94d88
Removes some deprecated fields from protobuf (#2877)
prestonvanloon Jul 1, 2019
059c1da
Update Configs for Freeze (#2876)
terencechain Jul 1, 2019
8b024d5
Mutation testing fixes for beacon-chain/core/helpers/committee.go (#2…
prestonvanloon Jul 1, 2019
878540b
update readme target
prestonvanloon Jul 1, 2019
d3cbad3
update latest sha for spec tests
prestonvanloon Jul 1, 2019
69e46a9
fix build
prestonvanloon Jul 1, 2019
5af9774
Update State Transition Function (#2867)
terencechain Jul 1, 2019
de5df51
Change Base Reward Factor (#2888)
nisdas Jul 1, 2019
61fafd0
Update Freeze Spec Simplification Section - part 1 (#2893)
terencechain Jul 1, 2019
2d09a1e
Update justification bits (#2894)
prestonvanloon Jul 1, 2019
24f630d
updated all the helper pseudocodes (#2895)
terencechain Jul 2, 2019
f612b81
Make Constants Explicit and Minor Cleanups (#2898)
0xKiwi Jul 2, 2019
4ba541d
Move Block Operation Length Checks to ProcessOperations (#2900)
0xKiwi Jul 2, 2019
be35f02
reorder proto fields (#2902)
terencechain Jul 3, 2019
79c7307
Slashing Penalty Calculation Change (#2889)
nisdas Jul 3, 2019
8674cc3
Implement Compact Committee Root (#2897)
nisdas Jul 3, 2019
3cb5203
Remove deprecated fields from attestation data (#2892)
prestonvanloon Jul 3, 2019
2e145dd
Update Deposit Contract (#2903)
nisdas Jul 4, 2019
add9647
update WORKSPACE to use 0.8 spec tests
prestonvanloon Jul 4, 2019
064f6cb
Perform Mutesting in Helpers Package (#2912)
Jul 6, 2019
175ad3c
s/volundary/voluntary (#2914)
terencechain Jul 6, 2019
5ae7985
Update BLS Domain (#2916)
nisdas Jul 7, 2019
1cf1e08
Fix Spec tests (#2907)
nisdas Jul 7, 2019
8773bf8
Perform Mutesting in Epoch and State Packages (#2913)
Jul 7, 2019
4b4441e
done with updates (#2890)
terencechain Jul 8, 2019
c029fed
Add Max Size Tag for Protobuf Fields (#2908)
terencechain Jul 8, 2019
e9931a6
No more space between ssz-size numbers
terencechain Jul 8, 2019
320e7af
Regen pb.go
terencechain Jul 8, 2019
f34ef8c
Fixed a few incorrect proto fields (#2926)
terencechain Jul 8, 2019
af0d9d1
Update Validator Workflow (#2906)
terencechain Jul 9, 2019
0acf164
Justification spec tests (#2896)
prestonvanloon Jul 9, 2019
a9d8872
update go-ssz
prestonvanloon Jul 9, 2019
c6372c1
Merge branch 'master' of github.com:prysmaticlabs/prysm into spec-v0.6
prestonvanloon Jul 9, 2019
af142a4
Fix SSZ Compatibility Test (#2924)
terencechain Jul 9, 2019
9eb22c4
delete unused file
prestonvanloon Jul 9, 2019
b926ae0
Update zero hash to sha256().digest() (#2932)
prestonvanloon Jul 10, 2019
18d7f90
Revert "Update zero hash to sha256().digest() (#2932)" (#2933)
nisdas Jul 10, 2019
afc2bad
Fix compress validator (#2936)
prestonvanloon Jul 10, 2019
9e589a6
build without the bytes test
prestonvanloon Jul 11, 2019
ee82699
try minimal
prestonvanloon Jul 11, 2019
b04d4c4
Block operations spec tests (#2828)
terencechain Jul 11, 2019
fbfbb12
update bazel jobs flag
prestonvanloon Jul 11, 2019
8b47f2a
update bazel jobs flag
prestonvanloon Jul 11, 2019
2b57cf3
Merge branch 'spec-v0.6' of github.com:prysmaticlabs/prysm into spec-…
prestonvanloon Jul 11, 2019
ec1aa89
satisfy deprecation warning
prestonvanloon Jul 11, 2019
58ca70a
Add ssz regression tests for investigation of test failures in PR #28…
prestonvanloon Jul 11, 2019
ddbecc8
Epoch Process Slashings Spec Tests (#2930)
terencechain Jul 11, 2019
921b565
Perform Mutesting In core/state Package (#2923)
0xKiwi Jul 11, 2019
7c4b5eb
add backend service
prestonvanloon Jul 11, 2019
67c0834
Add ssz compatibility tests for signing root (#2931)
terencechain Jul 11, 2019
35de6cc
fix bes flag
prestonvanloon Jul 11, 2019
1514f78
Final updates spec tests (#2901)
terencechain Jul 11, 2019
5f9f496
Genesis trigger (#2905)
shayzluf Jul 11, 2019
cdd2e35
use better tag names, not latest
prestonvanloon Jul 12, 2019
a5d483a
Merge branch 'spec-v0.6' of github.com:prysmaticlabs/prysm into spec-…
prestonvanloon Jul 12, 2019
971d8bd
Remove Block Signing Root (#2945)
nisdas Jul 12, 2019
0d8165a
Create Test Runner for Genesis State Spec Tests (#2940)
0xKiwi Jul 12, 2019
e5648f4
Static check on branch spec-v0.6 (#2946)
terencechain Jul 12, 2019
9daff21
Add Back Eth1Data After Bad Merge (#2953)
rauljordan Jul 12, 2019
4b8490a
add skip reason
prestonvanloon Jul 13, 2019
882c1e6
cleanup deposit contract slightly
prestonvanloon Jul 13, 2019
78d17f0
remove unused chainstart param (#2957)
prestonvanloon Jul 13, 2019
76ca77b
fix breakages from #2957 (#2958)
prestonvanloon Jul 13, 2019
97b9176
Fix deposit input data (#2956)
prestonvanloon Jul 13, 2019
5be922a
Add Tests for Genesis Deposits Caching (#2952)
nisdas Jul 13, 2019
d0ef6dd
Minor fixes for runtime (#2960)
prestonvanloon Jul 14, 2019
0b3ce46
Minor runtime fixes (#2961)
prestonvanloon Jul 14, 2019
c45c481
Add support for bundling binaries and fix ARM64 builds (#2970)
prestonvanloon Jul 15, 2019
81c3a75
fix graknlabs
prestonvanloon Jul 16, 2019
069b719
update spec tests (#2979)
prestonvanloon Jul 16, 2019
5dbf39f
Merged with master
terencechain Jul 16, 2019
c45e8c7
hotfix until https://github.com/graknlabs/bazel-distribution/pull/169
prestonvanloon Jul 16, 2019
c75f0f3
Merge branch 'spec-v0.6' of github.com:prysmaticlabs/prysm into spec-…
prestonvanloon Jul 16, 2019
6cba994
Overflow slashing calculation fix (#2977)
shayzluf Jul 16, 2019
7d2f8e9
Runtime Fixes (#2736)
nisdas Jul 17, 2019
d37a754
Only build test targets when running bazel test //...
prestonvanloon Jul 17, 2019
14c248e
Merge branch 'spec-v0.6' of github.com:prysmaticlabs/prysm into spec-…
prestonvanloon Jul 17, 2019
decc27f
Align prysm to spec v0.8.1 (#2978)
terencechain Jul 17, 2019
d530b77
Updated pubkey loggings (#2983)
terencechain Jul 17, 2019
381bfdb
Fix proposer assignment (#2984)
terencechain Jul 18, 2019
84a499b
add jvm limits
prestonvanloon Jul 18, 2019
1b18c83
add jvm limits
prestonvanloon Jul 18, 2019
78207e9
Removed logging from state transition functions (#2980)
terencechain Jul 18, 2019
2faf1d7
Match spec on proposer index division (#2985)
prestonvanloon Jul 18, 2019
7279ef5
Fix Default Eth1Data (#2982)
nisdas Jul 18, 2019
8114be7
Set ejection balance to 1.6 (#2987)
terencechain Jul 18, 2019
44a96ac
improve block processing log (#2990)
prestonvanloon Jul 18, 2019
8b4996e
Fix HistoricalRootsLimit (#2989)
prestonvanloon Jul 18, 2019
6cde854
hack config until https://github.com/prysmaticlabs/prysm/issues/2993
prestonvanloon Jul 18, 2019
f4c8e2b
More Runtime Fixes (#2986)
nisdas Jul 18, 2019
e02e030
fix finality issue (#2994)
prestonvanloon Jul 18, 2019
6cf11dc
Fix validator prev balance calculation (#2992)
terencechain Jul 19, 2019
6ac15bf
Fix Querier to handle Deposit Logs Race (#2999)
nisdas Jul 19, 2019
3b9ce9b
Fix eth1data and deposits (#2996)
prestonvanloon Jul 19, 2019
659dc6b
Update rules go (#2975)
prestonvanloon Jul 19, 2019
c6b1bd1
Update Protobufs to Match Ethereum APIs (#2998)
rauljordan Jul 19, 2019
47b6b37
Update "Testing Prysm" readme section (#3000)
justinpage Jul 19, 2019
1c455c3
Update badge to version 0.8.1
terencechain Jul 19, 2019
39f4e8b
elaborate on test skip
prestonvanloon Jul 19, 2019
0b65b92
Merge branch 'spec-v0.6' of github.com:prysmaticlabs/prysm into spec-…
prestonvanloon Jul 19, 2019
933783a
revert shared/p2p/options.go
prestonvanloon Jul 19, 2019
e7b19e1
make travis happy with goimports
prestonvanloon Jul 19, 2019
72354f8
Update beacon-chain/core/blocks/block.go
rauljordan Jul 19, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Print warnings for tests with inappropriate test size or timeout.
test --test_verbose_timeout_warnings

# Only build test targets when running bazel test //...
test --build_tests_only

# Fix for rules_docker. See: https://github.com/bazelbuild/rules_docker/issues/842
build --host_force_python=PY2
19 changes: 16 additions & 3 deletions .buildkite-bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,34 @@
# across machines, developers, and workspaces.
#
# This config is loaded from https://github.com/bazelbuild/bazel-toolchains/blob/master/bazelrc/latest.bazelrc
build:remote-cache --remote_cache=remotebuildexecution.googleapis.com
build:remote-cache --tls_enabled=true
build:remote-cache --remote_cache=grpcs://remotebuildexecution.googleapis.com
build:remote-cache --remote_timeout=3600
build:remote-cache --auth_enabled=true
build:remote-cache --spawn_strategy=standalone
build:remote-cache --strategy=Javac=standalone
build:remote-cache --strategy=Closure=standalone
build:remote-cache --strategy=Genrule=standalone

# Build results backend.
build:remote-cache --bes_results_url="https://source.cloud.google.com/results/invocations/"
build:remote-cache --bes_backend=buildeventservice.googleapis.com
build:remote-cache --bes_timeout=60s
build:remote-cache --project_id=prysmaticlabs
build:remote-cache --bes_upload_mode=fully_async

# Prysm specific remote-cache properties.
build:remote-cache --disk_cache=
build:remote-cache --jobs=50
build:remote-cache --host_platform_remote_properties_override='properties:{name:\"cache-silo-key\" value:\"prysm\"}'
build:remote-cache --remote_instance_name=projects/prysmaticlabs/instances/default_instance

build:remote-cache --experimental_remote_download_outputs=minimal
build:remote-cache --experimental_inmemory_jdeps_files
build:remote-cache --experimental_inmemory_dotd_files

# Import workspace options.
import %workspace%/.bazelrc

startup --host_jvm_args=-Xmx1000m --host_jvm_args=-Xms1000m
build --experimental_strict_action_env
build --disk_cache=/tmp/bazelbuilds
build --experimental_multi_threaded_digest
Expand All @@ -31,5 +41,8 @@ build --curses=yes --color=yes
build --keep_going
build --test_output=errors
build --flaky_test_attempts=5
build --jobs=50
build --stamp
test --local_test_jobs=2
# Disabled race detection due to unstable test results under constrained environment build kite
# build --features=race
Empty file removed .soliumignore
Empty file.
18 changes: 0 additions & 18 deletions .soliumrc.json

This file was deleted.

37 changes: 36 additions & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ load("@com_github_atlassian_bazel_tools//gometalinter:def.bzl", "gometalinter")
load("@com_github_atlassian_bazel_tools//goimports:def.bzl", "goimports")
load("@io_kubernetes_build//defs:run_in_workspace.bzl", "workspace_binary")
load("@io_bazel_rules_go//go:def.bzl", "nogo")
load("@graknlabs_bazel_distribution//common:rules.bzl", "assemble_targz", "assemble_versioned")
load("//tools:binary_targets.bzl", "binary_targets", "determine_targets")

prefix = "github.com/prysmaticlabs/prysm"

exports_files(["genesis.json"])
exports_files([
"LICENSE.md",
])

# gazelle:prefix github.com/prysmaticlabs/prysm
gazelle(
Expand Down Expand Up @@ -108,3 +112,34 @@ nogo(
"@org_golang_x_tools//go/analysis/passes/asmdecl:go_tool_library",
],
)

assemble_versioned(
name = "assemble-versioned-all",
tags = ["manual"],
targets = [
":assemble-{}-{}-targz".format(
pair[0],
pair[1],
)
for pair in binary_targets
],
version_file = "//:VERSION",
)

common_files = {
"//:LICENSE.md": "LICENSE.md",
"//:README.md": "README.md",
}

[assemble_targz(
name = "assemble-{}-{}-targz".format(
pair[0],
pair[1],
),
additional_files = determine_targets(pair, common_files),
output_filename = "prysm-{}-{}".format(
pair[0],
pair[1],
),
tags = ["manual"],
) for pair in binary_targets]
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Prysm: Ethereum 'Serenity' 2.0 Go Implementation

[![Build status](https://badge.buildkite.com/b555891daf3614bae4284dcf365b2340cefc0089839526f096.svg?branch=master)](https://buildkite.com/prysmatic-labs/prysm)
[![ETH2.0_Spec_Version 0.8.1](https://img.shields.io/badge/ETH2.0%20Spec%20Version-v0.8.1-blue.svg)](https://github.com/ethereum/eth2.0-specs/commit/452ecf8e27c7852c7854597f2b1bb4a62b80c7ec)
[![Discord](https://user-images.githubusercontent.com/7288322/34471967-1df7808a-efbb-11e7-9088-ed0b04151291.png)](https://discord.gg/KSA7rPr)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/prysmaticlabs/geth-sharding?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

Expand Down Expand Up @@ -132,7 +133,7 @@ bazel run //validator
bazel test //...
```

**To run our linter**, make sure you have [golangci-lint](https://https://github.com/golangci/golangci-lint) installed and then issue the command:
**To run our linter**, make sure you have [golangci-lint](https://github.com/golangci/golangci-lint) installed and then issue the command:
```
golangci-lint run
```
Expand Down
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.2.0
156 changes: 128 additions & 28 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

http_archive(
name = "bazel_skylib",
Expand All @@ -9,8 +10,11 @@ http_archive(

http_archive(
name = "io_bazel_rules_go",
sha256 = "f04d2373bcaf8aa09bccb08a98a57e721306c8f6043a2a0ee610fd6853dcde3d",
url = "https://github.com/bazelbuild/rules_go/releases/download/0.18.6/rules_go-0.18.6.tar.gz",
sha256 = "8df59f11fb697743cbb3f26cfb8750395f30471e9eabde0d174c3aebc7a1cd39",
urls = [
"https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/0.19.1/rules_go-0.19.1.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/0.19.1/rules_go-0.19.1.tar.gz",
],
)

http_archive(
Expand Down Expand Up @@ -46,23 +50,35 @@ http_archive(
url = "https://github.com/bazelbuild/rules_k8s/archive/e68d5d765c2c670943a0baeb04ad8d9cb3661e54.tar.gz",
)

git_repository(
name = "graknlabs_bazel_distribution",
commit = "fe1e3a8253158c9a766ad76c502ee7a4aa4e39a5",
# Update this after https://github.com/graknlabs/bazel-distribution/pull/169 is merged.
remote = "https://github.com/prestonvanloon/bazel-distribution",
)

# Override default import in rules_go with special patch until
# https://github.com/gogo/protobuf/pull/582 is merged.
git_repository(
name = "com_github_gogo_protobuf",
commit = "ba06b47c162d49f2af050fb4c75bcbc86a159d5c", # v1.2.1, as of 2019-03-03
patch_args = ["-p1"],
patches = [
"@io_bazel_rules_go//third_party:com_github_gogo_protobuf-gazelle.patch",
"//third_party:com_github_gogo_protobuf-equal.patch",
],
remote = "https://github.com/gogo/protobuf",
shallow_since = "1550471403 +0200",
# gazelle args: -go_prefix github.com/gogo/protobuf -proto legacy
)

load(
"@io_bazel_rules_docker//repositories:repositories.bzl",
container_repositories = "repositories",
)

container_repositories()

load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories", "yarn_install")

node_repositories()

yarn_install(
name = "npm",
package_json = "//:package.json",
yarn_lock = "//:yarn.lock",
)

# This requires rules_docker to be fully instantiated before it is pulled in.
load("@io_bazel_rules_k8s//k8s:k8s.bzl", "k8s_defaults", "k8s_repositories")

Expand Down Expand Up @@ -140,8 +156,8 @@ filegroup(
visibility = ["//visibility:public"],
)
""",
sha256 = "56847989737e816ab7d23f3bb2422347dfa81271bae81a94de512c01461fab25",
url = "https://github.com/prysmaticlabs/eth2.0-spec-tests/releases/download/v0.7.1/base64_encoded_archive.tar.gz",
sha256 = "a531804ac35d2398d37cfa755a686280d8cb3a9649e993e3cf89640f06191d5e",
url = "https://github.com/prysmaticlabs/eth2.0-spec-tests/releases/download/v0.8.1/base64_encoded_archive.tar.gz",
)

http_archive(
Expand All @@ -154,28 +170,28 @@ load("@com_github_bazelbuild_buildtools//buildifier:deps.bzl", "buildifier_depen

buildifier_dependencies()

http_archive(
name = "com_github_prysmaticlabs_go_ssz",
sha256 = "f6fd5d623a988337810b956ddaf612dce771d9d0f9256934c8f4b1379f1cb2f6",
strip_prefix = "go-ssz-2e84733edbac32aca6d47feafc4441e43b10047f",
url = "https://github.com/prysmaticlabs/go-ssz/archive/2e84733edbac32aca6d47feafc4441e43b10047f.tar.gz",
)

load("@com_github_prysmaticlabs_go_ssz//:deps.bzl", "go_ssz_dependencies")

go_ssz_dependencies()

go_repository(
name = "com_github_golang_mock",
commit = "51421b967af1f557f93a59e0057aaf15ca02e29c", # v1.2.0
importpath = "github.com/golang/mock",
)

git_repository(
name = "com_google_protobuf",
commit = "09745575a923640154bcf307fba8aedff47f240a",
remote = "https://github.com/protocolbuffers/protobuf",
shallow_since = "1558721209 -0700",
)

load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")

protobuf_deps()

# External dependencies

go_repository(
name = "com_github_ethereum_go_ethereum",
commit = "099afb3fd89784f9e3e594b7c2ed11335ca02a9b",
commit = "981f27aaf9bdce45391d0cd8bb522df514e0b566",
importpath = "github.com/ethereum/go-ethereum",
# Note: go-ethereum is not bazel-friendly with regards to cgo. We have a
# a fork that has resolved these issues by disabling HID/USB support and
Expand All @@ -186,6 +202,12 @@ go_repository(
vcs = "git",
)

go_repository(
name = "com_github_prysmaticlabs_go_ssz",
commit = "ecf08adca3c19f69aea911fcde9b5e71d6bbfe28",
importpath = "github.com/prysmaticlabs/go-ssz",
)

go_repository(
name = "com_github_urfave_cli",
commit = "cfb38830724cc34fedffe9a2a29fb54fa9169cd1", # v1.20.0
Expand Down Expand Up @@ -502,7 +524,7 @@ go_repository(

go_repository(
name = "org_golang_x_sys",
commit = "a34e9553db1e492c9a76e60db2296ae7e5fbb772",
commit = "fae7ac547cb717d141c433a2a173315e216b64c4",
importpath = "golang.org/x/sys",
)

Expand Down Expand Up @@ -538,7 +560,7 @@ go_repository(

go_repository(
name = "org_golang_x_crypto",
commit = "8dd112bcdc25174059e45e07517d9fc663123347",
commit = "4def268fd1a49955bfb3dda92fe3db4f924f2285",
importpath = "golang.org/x/crypto",
)

Expand Down Expand Up @@ -807,6 +829,7 @@ go_repository(

go_repository(
name = "io_k8s_client_go",
build_extra_args = ["-exclude=vendor"],
commit = "8abb21031259350aad0799bb42ba213ee8bb3399",
importpath = "k8s.io/client-go",
)
Expand Down Expand Up @@ -1103,3 +1126,80 @@ go_repository(
commit = "4afad1f6206cb9222914f2ec6ab9d0b414705c54", # v0.0.3
importpath = "github.com/libp2p/go-eventbus",
)

go_repository(
name = "in_gopkg_d4l3k_messagediff_v1",
commit = "29f32d820d112dbd66e58492a6ffb7cc3106312b",
importpath = "gopkg.in/d4l3k/messagediff.v1",
)

go_repository(
name = "com_github_prysmaticlabs_go_bitfield",
commit = "ec88cc4d1d143cad98308da54b73d0cdb04254eb",
importpath = "github.com/prysmaticlabs/go-bitfield",
)

load("@com_github_prysmaticlabs_go_ssz//:deps.bzl", "go_ssz_dependencies")

go_ssz_dependencies()

go_repository(
name = "com_github_burntsushi_toml",
commit = "3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005",
importpath = "github.com/BurntSushi/toml",
)

go_repository(
name = "org_golang_google_grpc",
build_file_proto_mode = "disable",
commit = "24b2fb8959201be9ce659bc87b0d590a34c67eae",
importpath = "google.golang.org/grpc",
)

go_repository(
name = "org_golang_x_net",
commit = "da137c7871d730100384dbcf36e6f8fa493aef5b",
importpath = "golang.org/x/net",
)

go_repository(
name = "org_golang_x_text",
commit = "342b2e1fbaa52c93f31447ad2c6abc048c63e475",
importpath = "golang.org/x/text",
)

go_repository(
name = "com_github_golang_glog",
commit = "23def4e6c14b4da8ac2ed8007337bc5eb5007998",
importpath = "github.com/golang/glog",
)

go_repository(
name = "org_golang_x_time",
commit = "9d24e82272b4f38b78bc8cff74fa936d31ccd8ef",
importpath = "golang.org/x/time",
)

go_repository(
name = "com_github_gregjones_httpcache",
commit = "901d90724c7919163f472a9812253fb26761123d",
importpath = "github.com/gregjones/httpcache",
)

go_repository(
name = "com_github_peterbourgon_diskv",
commit = "0be1b92a6df0e4f5cb0a5d15fb7f643d0ad93ce6",
importpath = "github.com/peterbourgon/diskv",
)

go_repository(
name = "com_github_googleapis_gnostic",
commit = "25d8b0b6698593f520d9d8dc5a88e6b16ca9ecc0",
importpath = "github.com/googleapis/gnostic",
)

go_repository(
name = "com_github_google_btree",
commit = "20236160a414454a9c64b6c8829381c6f4bddcaa",
importpath = "github.com/google/btree",
)
Loading