Paul Hauner
54f28df5b1
Improve testing for Store
impls
2019-05-21 16:37:15 +10:00
Paul Hauner
b3a94de086
Remove unnecessary RwLock from LevelDB
2019-05-21 16:36:06 +10:00
Paul Hauner
7d067926dd
Replace RocksDB with LevelDB
2019-05-21 16:29:34 +10:00
Paul Hauner
a63c4ebe5b
Merge pull request #381 from sigp/fix-rust-fmt
...
Fix failing master build
2019-05-21 14:34:49 +10:00
Paul Hauner
f1584dada4
Update BeaconChain struct to use new store
2019-05-21 13:36:14 +10:00
Paul Hauner
2128d411bc
Migrate fork_choice over to new DB
2019-05-21 12:58:51 +10:00
Paul Hauner
f8c425d6b4
Fix and add tests for db get block at slot
2019-05-21 12:58:11 +10:00
Paul Hauner
182135b832
Remove old DB crates, start fixing fork_choice
2019-05-20 18:01:51 +10:00
Paul Hauner
658b425cce
Merge branch 'master' into disk-db
2019-05-20 16:56:04 +10:00
Paul Hauner
39c3526884
Run cargo fmt --all
2019-05-20 16:47:44 +10:00
Paul Hauner
f7519096a6
Merge pull request #347 from darrenlangley/block-processing-tests
...
block processing regression tests
2019-05-20 11:19:15 +10:00
Darren Langley
b9ab3b2523
fake sig back, merge, and fixed up yml checkin issue
2019-05-16 23:06:41 +10:00
Darren Langley
7b937ce901
merged master
2019-05-16 22:45:32 +10:00
Paul Hauner
44657d44c4
Merge pull request #365 from sigp/sos
...
SSZ with SOS
2019-05-15 11:21:15 +10:00
Paul Hauner
4b753015d8
Remove commented-out code
2019-05-15 10:40:30 +10:00
Paul Hauner
77ac49a553
Remove profile.release debug from workspace
2019-05-15 10:40:01 +10:00
Paul Hauner
733723a0e0
Merge pull request #376 from sigp/remove-jenkins
...
Removed Jenkinsfile since we have now migrated to GitLab.
2019-05-14 11:29:14 +10:00
Luke Anderson
4534d3d803
Removed Jenkinsfile since we have now migrated to GitLab.
2019-05-13 15:56:44 +10:00
Paul Hauner
8222ac17cf
Merge branch 'master' into sos
2019-05-13 15:17:56 +10:00
Paul Hauner
bf23a5b7b0
Merge pull request #369 from sigp/fixed-vec
...
Implement fixed-length lists for BeaconState
2019-05-13 15:16:03 +10:00
Paul Hauner
a0148b5aae
Rename SSZ traits (Encodable -> Encode)
2019-05-13 15:12:19 +10:00
Paul Hauner
fcabef91da
Use E
for EthSpec
trait, instead of B
2019-05-13 14:44:43 +10:00
Paul Hauner
afa8fff31a
Remove old tree_hash_vector
file
2019-05-13 14:14:40 +10:00
Paul Hauner
94ab2479fe
Add docs to SSZ
2019-05-13 14:13:15 +10:00
Paul Hauner
16a8cdb714
Add tests for excess bytes in SSZ
2019-05-13 13:51:58 +10:00
Paul Hauner
9ccaec5b91
Move SSZ macros into own file
2019-05-13 12:33:59 +10:00
Paul Hauner
40c6be294b
Fix warnings in rpc
2019-05-13 12:33:46 +10:00
Paul Hauner
9f62f261c4
Run cargofmt --all
2019-05-13 12:29:26 +10:00
Paul Hauner
03fee2fb97
Fix SSZ for bls fake_crypto features
2019-05-13 12:23:06 +10:00
Paul Hauner
eb62b5842d
Update beacon node crates for new SSZ
2019-05-13 12:07:32 +10:00
Paul Hauner
d9bfbc2657
Add macros for easy SSZ impl via From trait
2019-05-13 09:25:37 +10:00
Paul Hauner
95fcd3654a
Update validator_client for new SSZ API
2019-05-12 09:42:41 +10:00
Paul Hauner
f96a6268e5
Remove old dbg! statements from tests
2019-05-12 09:34:01 +10:00
Paul Hauner
349d33052b
Fix SSZ encode impl for fixed_len_vec
2019-05-12 09:33:47 +10:00
Paul Hauner
02afc6ef24
Tidy ssz decoding code
2019-05-11 22:52:24 +10:00
Paul Hauner
fc2a406edf
Fix bug in ssz decoding
2019-05-11 22:25:28 +10:00
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