Zahary Karadjov
1d78a43724
Don't return Option[BlockRef] because BlockRef is a ref type
2020-03-22 19:00:09 +02:00
Zahary Karadjov
d2b7ee27de
The RPC service listens on localhost by default
2020-03-22 19:00:09 +02:00
Zahary Karadjov
d589cb7964
Fix the build with Json logging enabled
2020-03-22 19:00:09 +02:00
Zahary Karadjov
7d2381240f
Bump nim-eth and nim-json-rpc
2020-03-22 19:00:09 +02:00
Zahary Karadjov
19847bbd20
Remove some warnings
2020-03-22 19:00:09 +02:00
Zahary Karadjov
5a2a52869e
Add a RPC proc similar to /spec/eth2_config
2020-03-22 19:00:09 +02:00
Zahary Karadjov
adcec61081
Initial implementation of a JSON-RPC service
2020-03-22 19:00:09 +02:00
tersec
53e4b0a26c
complete (except for get_domain(...)) 0.11.0 beacon chain spec update ( #822 )
...
* complete (except for get_domain(...)) 0.11.0 beacon chain spec update
* mark compute_start_slot_at_epoch(...), is_active_validator(...), compute_signing_root(...), and get_seed(...) as 0.11.0
2020-03-22 16:03:07 +00:00
Jacek Sieka
689bcf71c4
clean up block creation
...
* consistently use state at new block slot to produce block
* factor out signature funcs
* fix missing block application test
2020-03-22 11:15:07 +00:00
Mamy Ratsimbazafy
ccace9a034
Fix shortlog crypto ( #818 )
...
* fix shortlogs of crypto types
* Valid signature without a "real: " prefix tag
* remove 0x prefix
2020-03-19 17:18:48 +01:00
Ștefan Talpalaru
4f0caeceed
Merge branch 'bump' into devel
2020-03-18 20:20:10 +01:00
tersec
2a2d6ea6f7
remove vestiges of rocksdb ( #813 )
2020-03-18 19:43:51 +01:00
Ștefan Talpalaru
b0e7e248d5
bump submodules
2020-03-18 17:20:34 +01:00
Dustin Brody
f7ecd09e95
mark aggregate(...), AttesterSlashing, IndexedAttestation, AttestationData, Deposit, DepositData, VoluntaryExit, BeaconBlock, BeaconBlockHeader, BeaconState, HistoricalBatch, Fork, SigningRoot, SignedVoluntaryExit, SignedBeaconBlock, SignedBeaconBlockHeader, get_current_epoch(...), and get_randao_mix(...) as 0.11.0
2020-03-17 12:06:56 +02:00
Dustin Brody
cae1c0fd1a
address beacon_node TODO regarding missing proposer index; mark initiate_validator_exit(...), is_eligible_for_activation_queue(...), Attestation, DepositMessage, BeaconBlockBody, PendingAttestation, Eth1Data, and integer_squareroot(...) as 0.11.0
2020-03-17 12:06:56 +02:00
Dustin Brody
ebcde664e5
mark decrease_balance(...), get_validator_churn_limit(...), network spec version, Checkpoint, compute_epoch_at_slot(...), get_active_validator_indices(...), and get_committee_count_at_slot(...) as 0.11.0
2020-03-17 12:06:56 +02:00
Dustin Brody
313109c743
align process_block(...) name with spec; fix beacon chain proposer index generation when some validators aren't active to fix the two regressing 0.11.0 block sanity tests
2020-03-17 12:06:56 +02:00
Dustin Brody
75003c22e1
drop 0.10.1 EF test vectors
2020-03-17 12:06:56 +02:00
Dustin Brody
11300fc290
fix finalization
2020-03-17 12:06:56 +02:00
Dustin Brody
6068dd960b
initial 0.11.0 spec version update
2020-03-17 12:06:56 +02:00
tersec
33687c3e41
remove lmdb ( #809 )
2020-03-14 11:33:37 +01:00
Dustin Brody
794b374cf3
update test results summary after BLS 0.10.1 update
2020-03-13 15:17:55 +00:00
Zed
f7862a4cc2
Update testutils submodule
2020-03-13 14:38:59 +00:00
Zed
4a0893becb
Add test reports
2020-03-13 14:38:59 +00:00
Zed
6ba7b4b117
Generate markdown test reports
2020-03-13 14:38:59 +00:00
Mamy André-Ratsimbazafy
04234bf90e
Fix second stack-smashing ( https://github.com/status-im/nim-blscurve/issues/43#issuecomment-598357932 )
2020-03-13 12:20:41 +00:00
Mamy André-Ratsimbazafy
2aae54a15f
Fix serialization of deposits
2020-03-13 12:20:41 +00:00
Mamy André-Ratsimbazafy
47ccae4ad6
Disable compilation of bench_bls_sig_agggregation
2020-03-13 12:20:41 +00:00
Mamy André-Ratsimbazafy
c1c7435808
Skip tests:
...
- EF - attester slashings - 2 tests
- EF - sanity blocks - 1 test
- NBC - attestation - 1 test
2020-03-13 12:20:41 +00:00
Mamy André-Ratsimbazafy
88002ddb02
Fix ambiguous call newKeyPair
2020-03-13 12:20:41 +00:00
Mamy André-Ratsimbazafy
28dc8a6a29
Fix mock signatures/validator keys and stack smashing
2020-03-13 12:20:41 +00:00
Mamy André-Ratsimbazafy
65d668c3f6
Update validator keygen
2020-03-13 12:20:41 +00:00
Mamy André-Ratsimbazafy
14bc9e60ca
"init" should handle fake/invalid pubkeys and signatures
2020-03-13 12:20:41 +00:00
Mamy André-Ratsimbazafy
3c140d0c3d
Try to solve the stack smashing / discriminant changes object branch
2020-03-13 12:20:41 +00:00
Mamy André-Ratsimbazafy
31bd13a5d3
init for mainchain_monitor
2020-03-13 12:20:41 +00:00
Mamy André-Ratsimbazafy
985298be1e
update blscurve with privtopub, serialize and exportRaw primitives
2020-03-13 12:20:41 +00:00
Mamy André-Ratsimbazafy
bfd4df912e
Update to BLS v0.10.1
2020-03-13 12:20:41 +00:00
Mamy André-Ratsimbazafy
c418bf2b24
Update vendor/nim-blscurve
2020-03-13 12:20:41 +00:00
Dustin Brody
158f3a5c13
bump EF test vectors to 0.11.0 (keeping 0.10.1) and clean up leftover tests/official/fixtures/ directory
2020-03-13 11:40:05 +00:00
Ștefan Talpalaru
68f166800d
bump vendor/nim-metrics
2020-03-13 08:21:36 +00:00
Ștefan Talpalaru
ab0879958a
don't log message content in P2PStream.readMsgBytes()
...
because it adds too much noise to the trace logs
2020-03-12 13:50:21 +02:00
Ștefan Talpalaru
b7414c5edf
CI: testnet1 finalisation test considered stable
2020-03-12 05:52:30 +00:00
Ștefan Talpalaru
1caafba79c
Merge pull request #803 from status-im/misc/bump-libp2p
...
bumping libp2p to latest master
2020-03-12 01:57:11 +01:00
cheatfate
399e91fe5b
Fix failing test.
2020-03-12 02:02:33 +02:00
cheatfate
abcc71daa0
Add logtrace to Makefile.
2020-03-11 17:26:30 +00:00
cheatfate
d802fa593c
Add pubsub message logging.
...
Initial commit of logtrace tool.
2020-03-11 17:26:30 +00:00
Ștefan Talpalaru
be7b38940a
CI: add testnet1 finalisation test to Jenkins
...
but ignore its eventual failure
2020-03-11 17:20:03 +00:00
Dmitriy Ryajov
8d6bfd7ce7
bumping chronos to latest master
2020-03-11 10:53:36 -06:00
kdeme
10d9042893
Specifically set extip to loopback address for local testnet
2020-03-11 16:05:11 +00:00
kdeme
2e5899c6d7
Bump nim-eth for discv5 fixes
2020-03-11 16:05:11 +00:00