Commit Graph

5743 Commits

Author SHA1 Message Date
Danny Ryan f7a9493ca0
multi-op tests 2020-10-20 17:00:16 -06:00
Alon Muroch fe5e2f6a8b table of content 2020-10-20 12:07:54 +03:00
Alon Muroch 73cd1a84fd added best practices section according to https://github.com/ethereum/eth2.0-specs/issues/2085 2020-10-20 12:00:40 +03:00
Danny Ryan 2c337d68ff
Merge pull request #2103 from ethereum/slash-exit
note in validator guide about slashing and exit operation interaction
2020-10-16 08:39:17 -06:00
Danny Ryan a34970f8a3
move op tests to test_blocks 2020-10-16 08:27:28 -06:00
Hsiao-Wei Wang f1e4b3c88b
Refactor shard_state_transition 2020-10-15 16:14:01 +08:00
Hsiao-Wei Wang 7fb9226ec6
Make `state_transition` not return post state; the given pre state should have been mutated to post state. 2020-10-15 15:58:26 +08:00
Danny Ryan aab58e4700
update sanity generators to generate the oepration block tests as well 2020-10-14 17:41:11 -06:00
Danny Ryan c17a95a175
add note about how slashings and exits can interact. add test 2020-10-14 17:33:14 -06:00
Danny Ryan 032a93335c
Merge pull request #2102 from ethereum/add-rewards-tests
Add some rewards tests
2020-10-14 11:29:10 -06:00
Danny Ryan a61c56a6b6
add a few rewards tests for duplicate style attestations 2020-10-13 16:15:35 -06:00
Danny Ryan 17829836f6
Merge pull request #2099 from ethereum/fix_bls_testgen_typo
Fix BLS testgen typo
2020-10-13 08:08:20 -06:00
Hsiao-Wei Wang d6ccbd515d
Fix typo, `messages` -> `message` 2020-10-13 11:39:10 +08:00
Danny Ryan 0f2fcac133
Merge pull request #2096 from androolloyd/master
Update simple-serialize.md
2020-10-12 07:30:45 -06:00
Diederik Loerakker ddfb74c71f
Merge pull request #2095 from ethereum/val-typo
fix minor typo in validator guide
2020-10-08 21:28:29 +02:00
protolambda 3fb9b15551
remove unused imports 2020-10-08 21:17:13 +02:00
Andrew Redden 8fa3efe0d3
Update simple-serialize.md
Fix the Lighthouse implementation link
2020-10-08 16:02:43 -03:00
protolambda 8bbc5f7fc3
update test format docs 2020-10-08 21:02:18 +02:00
protolambda 4c90c357b7
remove yaml duplicates, compress SSZ test outputs 2020-10-08 20:34:59 +02:00
Danny Ryan 427c7bb236
fix minor typo in validator guide 2020-10-08 10:18:15 -06:00
Danny Ryan a64ae8137d
Merge pull request #2093 from ethereum/eth1data-params
double eth1data params
2020-10-08 07:06:39 -06:00
Danny Ryan 91deacbf9c
double eth1data params 2020-10-07 18:52:47 -06:00
Danny Ryan d0fd65cfac
Merge pull request #2091 from ethereum/gs-v1.1
add note about coming gossipsub v1.1 params
2020-10-07 18:33:24 -06:00
Alex Stokes 663af77737
Clean up unused variable for linter 2020-10-07 17:11:13 -07:00
Alex Stokes d0cf4e7bad
Simplify fork choice spec
This change should be non-substantive as any blocks in `blocks` should be descendants (inclusive) of the `store.justified_checkpoint` (refer `get_filtered_block_tree`) so that in `get_head` all blocks considered as potential heads will have `slot > justified_slot`. Considering this condition universally applies, adding the `and ...` arm to the conditional is unnecessary overhead.
2020-10-07 16:52:51 -07:00
Danny Ryan d3d9bbd479
add note about coming gs v1.1 params 2020-10-07 17:46:20 -06:00
Danny Ryan 45de8198ca
Merge branch 'dev' into v1.0-candidate 2020-10-07 13:42:23 -06:00
Danny Ryan 64b34b5ca6
Merge pull request #2089 from ethereum/fix-message-id
fix message-id issues
2020-10-07 12:40:51 -06:00
Danny Ryan 3bf6b00012
Merge pull request #2090 from ethereum/dv5.1
bump to discv5.1 in v1.0 candidate
2020-10-07 12:40:04 -06:00
Danny Ryan 8cda237884
note v5.1 in discv5 p2p spec 2020-10-07 12:13:32 -06:00
Danny Ryan 6287875baf
use domain byte to isolate message-id domains 2020-10-07 11:59:39 -06:00
Danny Ryan a365fcb03b
fix message-id issues 2020-10-06 16:18:12 -06:00
Danny Ryan df23a95a26
Merge pull request #2088 from ethereum/fix-test
Fix mainnet test for test generators
2020-10-06 13:53:44 -06:00
Danny Ryan 2e09c91e39
fix test generators for mainnet max slashing penalties 2020-10-06 11:34:33 -06:00
Danny Ryan 29b5efd63e
Merge pull request #2087 from ethereum/bls_v4_milagro_patch
Bump milagro_bls_binding to 1.5.0
2020-10-06 08:30:47 -06:00
Hsiao-Wei Wang 00a19e583e
Bump milagro_bls_binding to 1.5.0 2020-10-06 16:17:29 +08:00
Hsiao-Wei Wang d264ad8af7
Merge pull request #2080 from ethereum/bls_v4
Bump IETF BLS spec version draft 03 -> draft 04
2020-10-05 22:12:52 +08:00
Hsiao-Wei Wang 4d3ac72473
Bump milagro_bls_binding to `1.4.0`, handle the exception cases 2020-10-05 21:55:49 +08:00
Danny Ryan 5f9e6599e9
Merge pull request #2060 from protolambda/signing-policy
Use gossip signing policy in p2p spec, see libp2p/specs#294
2020-09-30 12:03:21 -06:00
Hsiao-Wei Wang 4613c6b333
Bump py_ecc to 5.0.0 2020-10-01 00:44:47 +08:00
Danny Ryan 122d34a41e
Merge pull request #2083 from ethereum/init-tests
additional genesis init tests
2020-09-29 12:27:56 -06:00
Danny Ryan 9f36fd6954
PR feedback. thanks @hwwhww 2020-09-29 10:02:28 -06:00
Danny Ryan 0e2e494d7e
fix function signature calls on deposit helpers 2020-09-28 20:25:24 -06:00
Danny Ryan 76d69263fc
use better rng practice for reproducibility 2020-09-28 18:26:03 -06:00
Danny Ryan 4e2c7d20b7
add additional genesis initialization tests 2020-09-28 17:55:54 -06:00
Danny Ryan 157f7e8ef4
upgrade config to mainnet values 2020-09-28 12:56:08 -06:00
protolambda 62d596a910
update signature policy link 2020-09-25 17:59:09 +02:00
Hsiao-Wei Wang b43f62de0e
Fix encoding 2020-09-25 15:05:10 +08:00
Hsiao-Wei Wang ad4ad2d8b4
Bump IETF BLS spec version draft 03 -> draft 04 2020-09-25 15:01:41 +08:00
Hsiao-Wei Wang bdbd2aae37
Aggregate G2 point at infinity 2020-09-25 15:01:41 +08:00