Commit Graph

5711 Commits

Author SHA1 Message Date
Hsiao-Wei Wang 1e29563242
Pass `anchor_block` to `get_forkchoice_store` 2020-09-15 12:51:11 +08:00
Hsiao-Wei Wang 20bd00cef0
Add `make lint_generators` linter check for test generators 2020-09-15 11:19:50 +08:00
Hsiao-Wei Wang c0c2461d2f
Remove redundant keys and use Dict for `phase_0_mods`, `phase_1_mods` instead of List 2020-09-15 11:13:33 +08:00
protolambda 8ad0865424
Use gossip signing policy in p2p spec, see libp2p/specs#294 2020-09-15 01:15:16 +02:00
Diederik Loerakker 35a2bf6587
Merge pull request #2058 from ethereum/discord-link-fix
fix issue with discord link
2020-09-15 00:53:44 +02:00
Danny Ryan 20a0ee1dc6
fix issue with discord link 2020-09-14 13:29:19 -06:00
Diederik Loerakker f7c30666b3
Merge pull request #2047 from ethereum/new-proposer-slashing-tests
add a few more proposer slashing tests
2020-09-14 21:13:23 +02:00
Danny Ryan 59cb56b564
Merge pull request #2044 from blacktemplar/use-raw-sha-as-message-id
use raw SHA256 as message-id
2020-09-14 11:25:34 -06:00
Danny Ryan 316928143c
Merge pull request #2051 from ethereum/bls_v3
Bump IETF BLS standard version to -03
2020-09-14 11:00:19 -06:00
Danny Ryan 5a9fe89089
remove extraneous parens 2020-09-14 10:58:48 -06:00
Danny Ryan 89be1f5bc8
favor pythonic notation for array slices 2020-09-14 10:57:35 -06:00
Hsiao-Wei Wang e2f67d3656
Merge pull request #2056 from q9f/patch-2
deposit contract: add verifying bytecode to readme
2020-09-14 21:24:34 +08:00
Raw Pong Ghmoa 967af2102f
Update solidity_deposit_contract/README.md
Co-authored-by: Hsiao-Wei Wang <hwwang156@gmail.com>
2020-09-14 15:10:18 +02:00
Raw Pong Ghmoa 5f663c80bc
Update solidity_deposit_contract/README.md
Co-authored-by: Hsiao-Wei Wang <hwwang156@gmail.com>
2020-09-14 15:10:11 +02:00
Raw Pong Ghmoa 8f5f20b53e
move compiling before web3 tests 2020-09-14 14:46:12 +02:00
Raw Pong Ghmoa b734f7d6c9
add make command instructions
Co-authored-by: Hsiao-Wei Wang <hwwang156@gmail.com>
2020-09-14 14:45:07 +02:00
Raw Pong Ghmoa bb2afbbc47
add solc cli params 2020-09-14 13:15:48 +02:00
Raw Pong Ghmoa b03d58e5d8
add metadata options 2020-09-14 11:51:19 +02:00
Raw Pong Ghmoa 03ff4d905c
deposit contract: add verifying bytecode to readme
closes #2052
2020-09-14 11:37:37 +02:00
blacktemplar deb58fd21e only use first 8 bytes of hash as message id 2020-09-14 10:09:48 +02:00
Alex Stokes 3cb15806be
Update p2p-interface.md
Typo fixes
2020-09-11 17:08:37 -07:00
Hsiao-Wei Wang cfc69e47e6
Bump IETF BLS standard version to -03 2020-09-11 17:17:51 +08:00
blacktemplar 8f0b15f9f7 remove dot 2020-09-11 06:44:36 +02:00
Danny Ryan 1785f987f8
add a few more proposer slashing tests 2020-09-10 16:50:03 -06:00
Danny Ryan e5f110a37b
Merge pull request #2030 from lsankar4033/more_gossip_validations
Two more gossip validations
2020-09-10 14:40:06 -06:00
Danny Ryan 8948f92def
Merge branch 'dev' into more_gossip_validations 2020-09-10 14:33:48 -06:00
Danny Ryan 42bf435c54
rearrange gossip conditions 2020-09-10 14:10:09 -06:00
Danny Ryan 54f1abc943
Merge pull request #2036 from ethereum/typing_clean
Non-substantive typing clean-up
2020-09-10 14:07:32 -06:00
protolambda 28137a6176
Merge branch 'dev' into testgenphase1 2020-09-09 23:43:26 +02:00
Diederik Loerakker 5a7f4ed392
Merge pull request #2043 from ethereum/clarify-offset-encoding
clarify offsets serialization
2020-09-09 22:58:06 +02:00
blacktemplar 9cbc7c37f4 use raw SHA256 as message-id 2020-09-09 15:02:47 +02:00
protolambda 6c6f180e0e
clarify offsets serialization, thanks @imnisen, fix #1963 2020-09-09 13:04:53 +02:00
Diederik Loerakker 62cd4e80d4
Merge pull request #2017 from ethereum/reveal_deadlines_setting
Add `disable_process_reveal_deadlines` decorator and `reveal_deadlines_setting` meta tag
2020-09-07 18:15:43 +02:00
Hsiao-Wei Wang fd4e7dde94
Fix `disable_process_reveal_deadlines` decorator: should have set it back to the spec function for other test cases afterwards 2020-09-07 13:44:12 +08:00
Danny Ryan 88cdc5bc80
Merge pull request #2034 from ethereum/vbuterin-patch-5
Add a constant for slash penalty multiplier
2020-09-06 21:00:40 -04:00
Diederik Loerakker e57e1407a2
Merge pull request #2038 from ethereum/testgenphase1_enable_all
Skip the too-slow custody tests and turn on the generators
2020-09-04 19:00:48 +02:00
Hsiao-Wei Wang 916ae9e309
Enable more rewards and finality tests 2020-09-04 21:50:27 +08:00
Hsiao-Wei Wang a0d646e1e0
Add decorators to diable testing with mainnet config 2020-09-04 21:50:21 +08:00
Hsiao-Wei Wang 74a2a1c0d4
Enable all tests 2020-09-04 02:40:36 +08:00
Hsiao-Wei Wang c995da420e
Update config files 2020-09-03 21:39:00 +08:00
Hsiao-Wei Wang 6e900f4fcc
Add more typings, no substantive change 2020-09-03 19:27:16 +08:00
Hsiao-Wei Wang eed2df37f4
Make linter happy 2020-09-03 17:27:20 +08:00
vbuterin b35f8fff74
Add a constant for slash penalty multiplier
Make the multipler on slashed penalties (if portion `p` of validators are slashed each one loses `k*p` an explicit constant).
2020-09-02 12:26:27 +08:00
Hsiao-Wei Wang dc888178be
Merge branch 'testgenphase1' into reveal_deadlines_setting 2020-09-02 00:07:19 +08:00
Diederik Loerakker 8de7f959f6
Merge pull request #2016 from ethereum/hwwhww/phase1-tests
Add new decorators to skip tests and handle it in testgen
2020-09-01 17:38:31 +02:00
Danny Ryan 3da7e32068
Merge pull request #2032 from ericsson49/ericsson49/fix_ceillog2_output_type
Make `cellog2` return `uint64`
2020-09-01 07:53:14 -06:00
ericsson a380f3e1b1 `ceillog2` accepts positive integers now 2020-09-01 11:07:44 +03:00
ericsson 6df35fc3b5 Make `cellog2` return `uint64` so that `CUSTODY_RESPONSE_DEPTH` has `uint64` type 2020-08-31 19:41:57 +03:00
Hsiao-Wei Wang b4583aba5d
Add skipping messages to some old test cases 2020-08-28 14:52:41 +08:00
Hsiao-Wei Wang 458166af83
Update the pytest version to >=4.4 as eth2spec 2020-08-27 16:12:31 +08:00