Paul Hauner
|
e81f1c31c9
|
Fix proof-of-possession issues.
These were introduced in an earlier commit
|
2019-03-11 19:47:33 +11:00 |
|
Paul Hauner
|
292991810d
|
Move state processing benches around
|
2019-03-11 19:46:22 +11:00 |
|
Paul Hauner
|
85e7dd8b5a
|
Merge branch 'timing-report' of github.com:sigp/lighthouse into timing-report
|
2019-03-11 19:03:22 +11:00 |
|
Paul Hauner
|
7e79a2b3d3
|
Improve PublicKey Hash impl efficiency
Instead of SSZ-encoding, we just use the AMCL tobytes method.
|
2019-03-11 19:01:44 +11:00 |
|
Paul Hauner
|
5e5cfb782e
|
Add concurrency to TestBeaconStateBuilder
Specifically to generating the initial validator objects.
|
2019-03-11 18:58:49 +11:00 |
|
Kirk Baird
|
25b08f0096
|
Run cargo fmt
|
2019-03-11 15:22:15 +11:00 |
|
Kirk Baird
|
2b991854ab
|
Merge branch 'timing-report' of github.com:sigp/lighthouse into timing-report
Signed-off-by: Kirk Baird <baird.k@outlook.com>
|
2019-03-11 15:19:09 +11:00 |
|
Kirk Baird
|
191759dad0
|
Modify create_proof_of_possession, and verifying proof_of_possession in process_deposits
|
2019-03-11 15:18:45 +11:00 |
|
Paul Hauner
|
36085f63e9
|
Rename state trans benches
|
2019-03-11 14:52:21 +11:00 |
|
Kirk Baird
|
9c225936b6
|
Merge branch 'timing-report' of github.com:sigp/lighthouse into timing-report
Signed-off-by: Kirk Baird <baird.k@outlook.com>
|
2019-03-11 11:55:41 +11:00 |
|
Kirk Baird
|
df52669888
|
Add changes of create_proof_of_possession to pull
|
2019-03-11 11:55:09 +11:00 |
|
Paul Hauner
|
41844841c6
|
Update project tests to use new genesis structure
|
2019-03-11 11:52:16 +11:00 |
|
Paul Hauner
|
827365cfb0
|
Update fork_choice tests to use new state builder.
|
2019-03-11 11:33:35 +11:00 |
|
Paul Hauner
|
0b7082e2b9
|
Move benching_utils structs into types
|
2019-03-11 11:17:27 +11:00 |
|
Paul Hauner
|
6ae99a1462
|
Ensure drop times aren't included in benchmarks
Also moves to the new `iter_batched` method on criterion (instead of
`iter_with_setup`.
|
2019-03-11 10:56:31 +11:00 |
|
Paul Hauner
|
a44d80006a
|
Improve allocation in get_attestation_participants
|
2019-03-10 21:07:09 +11:00 |
|
Paul Hauner
|
53456a6c79
|
Remove last inclusion_slot(..) call
|
2019-03-10 21:06:40 +11:00 |
|
Paul Hauner
|
21d75ef0bd
|
Add tree hash benches
|
2019-03-10 18:31:14 +11:00 |
|
Paul Hauner
|
f27b62d410
|
Add optimisation for epoch processing
|
2019-03-10 17:49:06 +11:00 |
|
Paul Hauner
|
9cc8e2598f
|
Organise epoch benching file
|
2019-03-10 17:48:26 +11:00 |
|
Paul Hauner
|
89fc386264
|
Add extra checks for epoch benches finalization
|
2019-03-10 13:38:57 +11:00 |
|
Paul Hauner
|
e99da31da8
|
Tidy BeaconStateBuilder struct
|
2019-03-10 12:56:57 +11:00 |
|
Paul Hauner
|
c33e299176
|
Ensure epoch processing benches get new eth1 data
|
2019-03-10 12:56:37 +11:00 |
|
Paul Hauner
|
3f98849362
|
Optimise attester slashing processing.
|
2019-03-10 08:55:45 +11:00 |
|
Paul Hauner
|
e7fba3a473
|
Process transfers in parallel.
|
2019-03-10 08:36:49 +11:00 |
|
Paul Hauner
|
1ca99b8c4c
|
Optimise deposits processing.
|
2019-03-10 08:33:17 +11:00 |
|
Paul Hauner
|
5f3da0732f
|
Fix attestations bug in block builder.
It was previously producing too many attestations in some scenarios.
|
2019-03-10 08:31:40 +11:00 |
|
Paul Hauner
|
90d00773cb
|
Add slashings back into per-block processing.
I thought they would invalidate the attestations but I was wrong.
|
2019-03-10 08:30:36 +11:00 |
|
Paul Hauner
|
c1e386a0b1
|
Add deposits, transfers and exits to benches
|
2019-03-09 22:10:47 +11:00 |
|
Paul Hauner
|
6250c81bb9
|
Fix bug in attestation verification
We were ensuring that a validator was present on the aggregation
bitfield before adding their signature to the agg pub
|
2019-03-09 20:09:17 +11:00 |
|
Paul Hauner
|
62ab782ee2
|
Add TestingAttestationBuilder
|
2019-03-09 20:09:02 +11:00 |
|
Paul Hauner
|
4bf2490163
|
Re-organise types::test_utils dir
|
2019-03-09 18:59:32 +11:00 |
|
Paul Hauner
|
f8ec1e0cfa
|
Add slashings and attestations to per block benching
|
2019-03-09 18:56:01 +11:00 |
|
Paul Hauner
|
73ebb4bc2e
|
Add incomplete per-block processing benchmarks
Still needs to fill block with operations
|
2019-03-09 14:11:49 +11:00 |
|
Paul Hauner
|
ca5d9658ce
|
Move epoch processing benches into separate file
|
2019-03-09 10:45:28 +11:00 |
|
Paul Hauner
|
a77d1885a1
|
Refactor BeaconStateBuilder
Made it a production-only struct. All the testing stuff can be done with
BeaconStateBencher
|
2019-03-09 10:39:05 +11:00 |
|
Paul Hauner
|
63743a962c
|
Add per-epoch benchmarks, optimise function.
|
2019-03-09 10:38:53 +11:00 |
|
Paul Hauner
|
ddac7540bc
|
Allow test_harness to load validators from file.
|
2019-03-08 16:10:21 +11:00 |
|
Paul Hauner
|
4b21252ce4
|
Refactor BeaconChain and BeaconState genesis
Now it more easily supports using pre-build validator registries.
|
2019-03-08 15:33:45 +11:00 |
|
Paul Hauner
|
6efe2ad3e3
|
Add debug logs to test_harness prepare
|
2019-03-08 15:09:33 +11:00 |
|
Paul Hauner
|
e76b5e1c3a
|
Re-work deposit generation for memory efficiency
Helps ensure that variables are dropped after they're finished being
used.
|
2019-03-08 15:06:13 +11:00 |
|
Paul Hauner
|
5c1458ba46
|
Add bls serde_vistors file
|
2019-03-08 13:19:37 +11:00 |
|
Paul Hauner
|
ec9e0bbddf
|
Allow test_harness to load validators from file
Also adds a command to test_harness binary to generate validators
|
2019-03-08 13:18:02 +11:00 |
|
Paul Hauner
|
2f484db82c
|
Expose Signature in types crate
|
2019-03-08 13:16:33 +11:00 |
|
Paul Hauner
|
7ddbdc15bb
|
Impl serde deser for types::Deposit
|
2019-03-08 13:16:18 +11:00 |
|
Paul Hauner
|
3b6431b4b4
|
Impl serde ser and deser for bls keypairs
|
2019-03-08 13:15:41 +11:00 |
|
Paul Hauner
|
b98f514d68
|
Break BeaconChainHarness validator gen into fn
Prepares for allowing for loading from file
|
2019-03-08 10:50:43 +11:00 |
|
Paul Hauner
|
9a964be58b
|
Update test_harness clap args structure
Prepares it for adding a new subcommand
|
2019-03-08 10:50:12 +11:00 |
|
Paul Hauner
|
f479beb87e
|
Implement deposit merkle root verification.
It is currently disabled, but it's there for later.
|
2019-03-08 09:26:03 +11:00 |
|
Paul Hauner
|
60098a051d
|
Fix/silence clippy lints
|
2019-03-08 09:23:57 +11:00 |
|