Paul Hauner
96aeac333a
Add tests for fixed_len_vec ssz
2019-05-11 19:09:51 +10:00
Paul Hauner
1f7b7ec498
Add tests for SSZ offset attacks
2019-05-11 19:09:27 +10:00
Paul Hauner
8d3ef273a7
Fix db
crate so it compiles under new ssz
2019-05-10 16:53:53 +10:00
Paul Hauner
2313de9b6e
Fix types ssz macro
2019-05-10 16:41:52 +10:00
Paul Hauner
1e2bf03d5e
Update ssz impl for fixed_len_vec
2019-05-10 16:37:56 +10:00
Paul Hauner
3cd112d42d
Encapsulate ssz
vec decoding in public fn
2019-05-10 16:37:00 +10:00
Paul Hauner
3ef46c03d1
Merge branch 'fixed-vec' into sos
2019-05-10 15:27:21 +10:00
Paul Hauner
ce8ebeccbc
Rename BeaconStateTypes
to EthSpec
2019-05-10 14:47:09 +10:00
Paul Hauner
c1fa20b3e1
Merge pull request #372 from sigp/improve-docs
...
Small docs improvement
2019-05-10 13:49:41 +10:00
Luke Anderson
93a4bef41c
Very small wording/typo fixes for docs.
2019-05-10 13:49:01 +10:00
Paul Hauner
3be80ba9a9
Marginally improve cached_tree_hash
docs
2019-05-10 13:29:43 +10:00
Paul Hauner
178de35500
Merge pull request #371 from sigp/paulhauner-patch-1
...
Update README badges
2019-05-10 13:27:35 +10:00
Paul Hauner
fd78004ef9
Update README badges
...
- Changes the travis badge to a gitlab badge.
- Adds a docs badge.
- Does not modify the gitter badge.
- Restructures the badge markdown for readability.
2019-05-10 11:49:28 +10:00
Paul Hauner
75b310a078
Add convenience methods to BeaconStateTypes
2019-05-10 11:23:19 +10:00
Paul Hauner
59883603ac
Remove state_processing
tests, update travis
2019-05-10 10:28:18 +10:00
Paul Hauner
42765f2614
Merge branch 'master' into fixed-vec
2019-05-10 09:47:07 +10:00
Paul Hauner
3115bf7d36
Fix operation_pool
release-only tests
2019-05-10 09:45:28 +10:00
Paul Hauner
be9f8aa0bf
Fix fork_choice
release-only tests
2019-05-10 09:45:08 +10:00
Paul Hauner
77c4b6eafe
Add progress on op pool test fixes
2019-05-09 18:56:41 +10:00
Paul Hauner
1f9b971495
Merge pull request #370 from sigp/gitlab-docs
...
GitLab autobuild lighthouse-docs & Improve Caching
2019-05-09 13:42:34 +10:00
Paul Hauner
2a938f2fd5
Fix clippy lints
2019-05-09 13:35:00 +10:00
Paul Hauner
0ac278f44d
Update validator_client
for BeaconStateTypes
2019-05-09 12:19:52 +10:00
Paul Hauner
49c92ef167
Remove attester, block_producer & test_harness
2019-05-09 11:48:14 +10:00
Paul Hauner
4c0c93f0c9
Update beacon_node
to work w/ BeaconStateTypes
2019-05-09 09:40:32 +10:00
Paul Hauner
42b7aa89d4
Update network
and rpc
to BeaconStateTypes
2019-05-08 19:38:18 +10:00
Paul Hauner
51dc97ee42
Allow fork_choice
and beacon_chain
to compile
2019-05-08 18:18:17 +10:00
Paul Hauner
9fd8af8428
Update operations_pool
for new BeaconStateTypes
2019-05-08 17:07:26 +10:00
Paul Hauner
ae09a00090
Update db
crate for new BeaconStateTypes
2019-05-08 17:06:39 +10:00
Paul Hauner
6ea538938b
Fix state_processing
under new BeaconStateTypes
2019-05-08 16:35:22 +10:00
Paul Hauner
81c1dcceec
Add spec
fn to BeaconStateTypes
2019-05-08 16:29:27 +10:00
Paul Hauner
8cefd20e9d
Add progress on state_processing fixed-len update
2019-05-08 15:36:02 +10:00
Paul Hauner
7a67d34293
Add FewValidatorsBeaconState
for testing
2019-05-08 13:26:19 +10:00
Paul Hauner
5ba069c774
Implement new BeaconStateTypes
trait in types
2019-05-08 13:08:37 +10:00
Luke Anderson
ac3616251a
Updated Travis config, to not test the --release builds, since they're done on GitLab, and to keep the registry in the cache for now.
2019-05-08 12:32:57 +10:00
Luke Anderson
007b56bf27
Removed 'target' from caches, as recommended by https://levans.fr/rust_travis_cache.html . Hopefully this shows significant build speed improvements.
2019-05-08 12:24:26 +10:00
Luke Anderson
47f8cfdb25
Removed 'gitlab-docs' from the docs build stage, since that was just used for testing.
2019-05-08 11:28:35 +10:00
Luke Anderson
ce8a31f0ee
Igoring state_transition_tests_small and test_read_yaml because they are failing to download the correct files.
2019-05-08 01:34:15 +10:00
Luke Anderson
a6a7f5de92
Apparently the 'no-progress' flag is not in the installed aws-cli version, so it must be removed from the aws s3 sync command.
2019-05-08 01:20:55 +10:00
Luke Anderson
699e95cc67
Added 'delete' and 'no-progress' flags to S3 docs sync.
2019-05-08 00:55:02 +10:00
Luke Anderson
aa1342fcbb
Renamed doc stage and excluded the '.lock' file which was causing an S3 sync return error code, failing the build.
2019-05-08 00:52:22 +10:00
Luke Anderson
190bf682db
Updated the gitlab config to generate docs and update them on S3. Will remove the 'gitlab-docs' line in a later commit.
2019-05-08 00:03:36 +10:00
Paul Hauner
009d05cafd
Implement basic FixedLenVec
2019-05-07 18:42:41 +10:00
Michael Sproul
eda8ec8c55
spec: registry updates v0.6.1
2019-05-07 18:27:58 +10:00
Michael Sproul
5394726caf
spec: initiate_validator_exit v0.6.1
...
Added a new field `exit_cache` to the BeaconState, which caches
the number of validators exiting at each epoch.
2019-05-07 18:27:58 +10:00
Michael Sproul
5c03f7b06c
spec: update chain spec for v0.6.1
2019-05-07 18:27:43 +10:00
Michael Sproul
839ef0119b
spec: justification and finalization v0.6.1
2019-05-07 18:27:36 +10:00
Michael Sproul
ed00ad9d00
spec: get_crosslink_deltas to v0.6.1
2019-05-07 18:27:36 +10:00
Michael Sproul
caff553af9
spec: update reward processing to v0.6.1 + bugfix
...
Two bugs fixed by this commit:
* Reward proposers rather than attesters in `get_proposer_deltas`
* Prevent double-counting of validator balances towards the total when
computing validator statuses
2019-05-07 18:27:25 +10:00
Michael Sproul
1ad0024045
spec v0.6.0: update types
2019-05-07 18:27:24 +10:00
Michael Sproul
7dda85e87e
hashing: Keccak -> SHA256
2019-05-07 18:27:24 +10:00