Ștefan Talpalaru
fe18fcdc06
env.sh: exec -> source
...
bump vendor/nimbus-build-system
2019-08-23 19:07:50 +02:00
Ștefan Talpalaru
569985746a
bump submodule
2019-08-23 14:36:29 +03:00
Ștefan Talpalaru
69ac78b2e0
new build system and submodules
...
- better p2pd building, with CI caching
2019-08-23 14:36:29 +03:00
Dustin Brody
c47e3903be
rm some less-useful debug and tracing noise ( #355 )
2019-08-23 11:39:23 +02:00
andri lim
5f7fb03cf2
fix SszChunkMerkelizer 32bit failure
2019-08-22 20:31:13 +03:00
Zahary Karadjov
912563648e
Fix the json build; Don't long the non-attesting indices in the testnets
2019-08-21 14:21:08 +03:00
Zahary Karadjov
180e8ed02b
Fix a build issue after rebasing
2019-08-20 16:42:15 +03:00
Zahary Karadjov
f477eb6877
Add a `sszList` helper for writing tests involving SSZ lists
2019-08-20 16:34:36 +03:00
Zahary Karadjov
7d3d30c576
Restore some accidentally disabled test code
2019-08-20 16:34:35 +03:00
Zahary Karadjov
74f630eb28
Better start-up logic when the beacon node is launched before the genesis time
2019-08-20 16:34:33 +03:00
Jacek Sieka
78f7a4a505
restore network sim finalization
...
* relax attestation validation when attestation is incoming but make it
more strict when adding to block
* share attestation validation logic between attestation pool and state
transition
* remove a bunch of redundant logging
* fix potential underflow in attestation delay checking
* fix committee used for attestation shard selection when attesting
* fix attestation data construction
2019-08-19 21:05:54 +03:00
Jacek Sieka
225465578c
fix startup time casts, log fixes
2019-08-19 21:05:54 +03:00
Ștefan Talpalaru
0a3756f3e9
Merge branch 'lfs'
2019-08-18 21:21:10 +02:00
Ștefan Talpalaru
ab84b17d00
correct process_lfs.sh usage
2019-08-16 19:10:37 +02:00
Mamy Ratsimbazafy
7f2abce705
Add a LFS nimble task and gitignore of LFS and state sim ( #344 )
2019-08-16 14:55:48 +02:00
Zahary Karadjov
f5db2dd7b3
Fix the build with the latest Chronos
2019-08-15 20:43:06 +02:00
Zahary Karadjov
93336daf7f
Remove some confusing code duplication; Use multiple nodes by default in the network sim
2019-08-15 20:43:05 +02:00
Zahary Karadjov
2fca9465e7
Fix the build with RLPx
2019-08-15 20:43:05 +02:00
Jacek Sieka
e639cd95c7
humaneXNum -> shortLog
2019-08-15 18:01:55 +02:00
Ștefan Talpalaru
6a4d27f4ac
Makefile: allow disabling the LFS script
2019-08-14 23:53:48 +02:00
Ștefan Talpalaru
28efbbd70f
undo the Makefile change
2019-08-14 23:16:39 +02:00
Ștefan Talpalaru
94a819a5c7
Makefile: try to fix Go version detection in `sanity-checks`
...
- set the Go version to 1.12.x for Travis
2019-08-14 22:23:33 +02:00
Zahary Karadjov
4daeebbf7e
Fix the build when json logging is enabled
2019-08-14 17:38:39 +02:00
Ștefan Talpalaru
2535eb19be
cleanup
2019-08-14 15:36:36 +02:00
Ștefan Talpalaru
7fff9a09fc
handle LFS fixtures for the test suite ( #339 )
...
* handle LFS fixtures for the test suite
* test_fixture_ssz_static.nim: allow the tests to fail properly
- switch to a debug build for the failing tests
* try -d:debug
2019-08-14 13:19:17 +02:00
Dustin Brody
cba25b087c
render tests/simulation/start.sh more robust to paths with spaces ( #340 )
2019-08-14 10:25:39 +00:00
Dustin Brody
3e587d4667
Justification/finalization amelioration using testnet1 shard count and epoch length ( #331 )
...
* working justification, 1 node, 64 validators
* closer to tn1 params: 256 validators
* more debugging output; switch to minimum test case
* working justification and finalization in local network simulation
* fix currently incorrect state transition/attestation test assumption
2019-08-14 08:56:32 +00:00
Dustin Brody
6704749eb0
mark unchanged 0.8.1 as 0.8.2 spec aspects ( #336 )
2019-08-09 14:08:00 +02:00
Zahary Karadjov
1704d26c93
Fix a path typo
2019-08-07 19:20:40 +03:00
Yuriy Glukhov
e8ca67fc9a
Updated web3 api usage
2019-08-07 15:48:02 +03:00
Zahary Karadjov
a897ab9c70
Attempt to make the test suite green
2019-08-07 06:09:26 +03:00
Zahary Karadjov
5ce50b3aca
Implement the latest networking spec
...
https://github.com/ethereum/eth2.0-specs/pull/1328
2019-08-07 05:22:28 +03:00
Zahary Karadjov
398ea55801
Implement the latest SSZ specification and integrate the official SSZ test suite
2019-08-05 03:18:48 +03:00
Ștefan Talpalaru
7a4b7a6cfb
Merge branch 'CI'
2019-08-01 23:05:46 +02:00
Ștefan Talpalaru
ca5767e0fc
CI: add "--depsOnly" to "nimble install"
2019-08-01 21:57:48 +02:00
Yuriy Glukhov
46c9e99754
Cleanup web3 api usage
2019-07-31 16:39:26 +03:00
Yuriy Glukhov
8540bd0345
Added web3 dependency
2019-07-31 16:39:26 +03:00
Yuriy Glukhov
24cbc0710f
Make web3 way of getting genesis optional
2019-07-31 16:39:26 +03:00
Yuriy Glukhov
68c4cbf078
Updated deposit contract
2019-07-31 16:39:26 +03:00
Yuriy Glukhov
958e4cd3b4
Getting genesis through web3
2019-07-31 16:39:26 +03:00
Ștefan Talpalaru
fbb13d5f09
Merge branch 'makefile'
2019-07-24 16:05:43 +02:00
Jacek Sieka
356573f1ca
Use offset 1000 for fake private keys
2019-07-24 08:19:52 +02:00
Ștefan Talpalaru
2e9004a1c9
Makefile: add "p2pd" as a dep for "$(TOOLS)"
...
This also covers "eth2_network_simulation" since it depends on a couple
of those tools.
2019-07-23 17:28:04 +02:00
Mamy André-Ratsimbazafy
3e622644e7
Remove committed binaries
2019-07-21 17:23:05 +02:00
Zahary Karadjov
33dfc8b2d5
Fix the compilation when json logging is used
2019-07-16 13:40:24 +03:00
Dustin Brody
b049dded88
summarize why previous epoch attestations can be recapped where they are
2019-07-16 11:16:04 +02:00
Dustin Brody
f6fd089ae7
Add non-attesting-validators instrumentation in process_justification_and_finalization(...) ( #323 )
...
* update process_justifications_and_finalizations(...) to 0.8.1
2019-07-16 07:34:11 +00:00
Mamy Ratsimbazafy
d1d5497233
v0.7.x-v0.8.1 state transition refactor part2 ( #322 )
...
* State sim compiles and run
* Works on libp2p testnet1
* Successfully update the state transition tests
* naive update of attestation pool (failing attstations can arrive in any order)
* Remove an official assert to allow attestation reordering
2019-07-15 23:10:40 +02:00
Dustin Brody
712038fe21
mark applicable 0.8.0-compliant functions and data structures as 0.8.1 and update a couple of other comments ( #321 )
2019-07-15 12:57:18 +00:00
Dustin Brody
c92806b950
include both static and dynamic check for invariants to ensure that get_crosslink_committee(...) can access all committees by ensure that SHARD_COUNT >= SLOTS_PER_EPOCH ( #318 )
...
* include both static and dynamic check for invariants to ensure that get_crosslink_committee(...) can access all committees by ensure that SHARD_COUNT >= SLOTS_PER_EPOCH
* add state_sim to CI, to ensure that it also doesn't break SHARD_COUNT/SLOTS_PER_EPOCH assumptions, along with just in general not breaking
2019-07-13 15:58:01 +00:00