Commit Graph

4432 Commits

Author SHA1 Message Date
protolambda f810e6b9c2
update to python v3.8 2020-01-09 15:16:46 +01:00
protolambda 140129ec51
Merge dev into phase1 refactor, update BLS phase1 2020-01-09 14:56:06 +01:00
Danny Ryan ac33b3d088
Merge pull request #1525 from ethereum/JustinDrake-patch-2
Minor cosmetic cleanups
2020-01-08 13:57:37 -07:00
Danny Ryan f01254dd7f
Merge branch 'dev' into JustinDrake-patch-2 2020-01-08 13:54:16 -07:00
Danny Ryan 38f947b0c7
Merge pull request #1532 from ethereum/carl_new_new_bls
Yet another attempt at adopting IETF BLS Standards
2020-01-08 13:06:12 -07:00
Danny Ryan fff354d673
Merge branch 'dev' into carl_new_new_bls 2020-01-07 15:44:30 -07:00
Danny Ryan 19ca7af5ed
bump circleci cache versions 2020-01-07 15:15:51 -07:00
Danny Ryan 1f70d3eb97
add additional upgrade to py_ecc 2.0.0 to packages 2020-01-07 15:12:24 -07:00
Carl Beekhuizen 12ea891ce5
`py_ecc` 2.0.0 baby! 2020-01-07 20:52:20 +01:00
Carl Beekhuizen 8948393e76
Remove references to BLS messages 2020-01-07 20:28:16 +01:00
Danny Ryan f104ccfbaf
Merge pull request #1559 from ethereum/vyper_highlight
Rename vyper file from `.v.py` to `.vy`
2020-01-07 07:24:26 -07:00
Hsiao-Wei Wang fbfe024e7a Rename vyper file from `.v.py` to `.vy` 2020-01-07 17:20:17 +08:00
Danny Ryan c3f7f0bc2b
Merge pull request #1556 from ethereum/constant-genesis-slot
move GENESIS_SLOT/EPOCH to constants
2020-01-06 17:28:06 -07:00
Danny Ryan b637b9ad72
fix mod bug for voting period 2020-01-06 17:19:31 -07:00
Danny Ryan 9ea03dce60
add compute_time_at_slot helper in validator doc 2020-01-06 12:16:47 -07:00
Danny Ryan 83abd3e8b3
Merge pull request #1558 from ethereum/other_deposit_fork_version
deposit with other fork version
2020-01-06 10:53:11 -07:00
protolambda 8391d8ee5b
missed deposit case, also fix signing here 2020-01-06 16:22:18 +01:00
protolambda 60954286f9
make tests correctly sign for general genesis-domain 2020-01-06 16:17:05 +01:00
protolambda 71206c9a26
deposit with other fork version 2020-01-06 16:04:34 +01:00
protolambda 9dd8d1d880
add two missing decorators 2020-01-06 01:18:52 +01:00
Diederik Loerakker a295451f37
Merge pull request #1555 from ethereum/att-when-ready
add eager attestation broadcasting
2020-01-06 01:15:13 +01:00
Diederik Loerakker f86b53bb03
Merge pull request #1557 from ethereum/min-genesis-wait-time
make genesis delay configurable
2020-01-06 01:11:31 +01:00
protolambda cd7a2149f9
fix genesis tests: only run on single phase, ignore phases extra data 2020-01-06 00:57:36 +01:00
protolambda ba10046cc1
minor lint fixes 2020-01-06 00:49:32 +01:00
protolambda 68d93f945c
online countdown fixes 2020-01-06 00:46:36 +01:00
protolambda 9c07e26a4d
length assert not applicable anymore 2020-01-06 00:25:18 +01:00
protolambda ce84ddd207
initial update of phase1 section of configs 2020-01-06 00:24:06 +01:00
protolambda 6b872da3ec
light client bitfield is vector now, small size anyway, better separation of committee complexity from data init 2020-01-06 00:17:48 +01:00
protolambda 0cf866e799
fix bug, test should run properly, forward generator in return 2020-01-06 00:06:57 +01:00
protolambda 2f3919c176
bugfix: pass block body to sub processing functions 2020-01-05 23:51:24 +01:00
protolambda bf86a716ee
force-add in phase0 in test context, since state creation is not independent yet 2020-01-05 23:51:02 +01:00
protolambda 752eeecaf4
old challenge based custody game tests are not relevant anymore 2020-01-05 23:44:20 +01:00
protolambda 3995bd633c
coerce container types, since classes do not match between phases 2020-01-05 23:38:06 +01:00
protolambda 2e6090fcd8
bugfixes for experimental phase0 -> phase1 fork py code 2020-01-05 23:37:42 +01:00
protolambda 11011f2544
test context can handle multiple phases better now 2020-01-05 23:37:05 +01:00
Danny Ryan 50c8727ae7
make genesis delay configurable 2020-01-05 15:29:23 -07:00
Danny Ryan 8515aec7aa
move GENESIS_SLOT/EPOCH to constants as they are not truly configurable 2020-01-05 15:07:41 -07:00
Danny Ryan 5ac0d12205
Merge pull request #1553 from ethereum/eth1-caching
`get_eth1_data` uses timestamp instead of block height
2020-01-05 14:44:47 -07:00
Danny Ryan 43d095214c
add note that validator should broadcast attestation immediately when receiving block from expected proposer 2020-01-05 14:10:06 -07:00
protolambda a8276f683e
don't hardcode shard count, bad example, need upgradeability 2020-01-05 20:20:20 +01:00
protolambda 018927def0
generalize previous-slot function 2020-01-05 20:11:55 +01:00
protolambda 13cdfa8edb
apply configs in tests properly 2020-01-04 18:33:15 +01:00
protolambda a5faabbf19
Merge branch 'version-pyspec-module' into phase1rebase 2020-01-04 18:28:34 +01:00
Diederik Loerakker f9b0e29791
Merge pull request #1554 from ethereum/genesis_version
Allow configuration of genesis fork version
2020-01-04 17:22:13 +01:00
Danny Ryan 6dbc02031d
add GENESIS_FORK_VERSION and make associated modifications to support configuration of this variable 2020-01-03 17:48:03 -07:00
Danny Ryan 261b6c0d23
modify get_eth1_data to use timestamp instead of block height 2020-01-03 16:57:04 -07:00
Danny Ryan 7b1a609335
Merge pull request #1549 from status-im/empty-block-response
Allow empty lists in streamed responses
2020-01-03 08:14:51 -07:00
Danny Ryan c9f52d0099
Merge branch 'dev' into phase1rebase 2020-01-03 07:49:23 -07:00
Danny Ryan 0a3cc8a84a
malefactor_key -> malefactor_secret 2020-01-03 07:29:23 -07:00
Carl Beekhuizen 8580ec33f2
'message' -> 'signing_root' 2020-01-03 08:18:34 +01:00