Commit Graph

4706 Commits

Author SHA1 Message Date
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
Carl Beekhuizen 51bcb29e28
'DomainWrapper' -> 'SigningRoot' 2020-01-03 07:46:27 +01:00
Carl Beekhuizen a65d96da04
Merge in dev 2020-01-03 07:35:19 +01:00
Danny Ryan defeb4e2fd
Merge pull request #1550 from terencechain/patch-94
`get_filtered_block_tree` typo
2019-12-31 12:39:52 -07:00
Diederik Loerakker d3c2dd029b
Merge pull request #1551 from ethereum/carl_Bytes_hex
PySpec SSZ Bytes instantiated from hex string
2019-12-30 18:59:46 +01:00
Carl Beekhuizen e70863ca93
Bytes4 -> DomainType 2019-12-30 06:52:00 +01:00
Carl Beekhuizen 765176ec8c
PySpec SSZ Bytes instantiated from hex 2019-12-27 09:37:26 +01:00
terence tsao 662a986d04
Update 0_fork-choice.md 2019-12-25 09:51:29 -08:00
Jacek Sieka 850d45dae0
Allow empty lists in streamed responses
It's possible that block request responses end up not containing any
blocks, so we need a way to encode this.
2019-12-21 17:26:14 +01:00
Diederik Loerakker b698eff2a7
Merge pull request #1546 from ethereum/master
Backport v0.9.4 to dev
2019-12-20 21:25:50 +01:00
Carl Beekhuizen 7af4429011
Make bls a module 2019-12-20 08:41:46 +02:00
Carl Beekhuizen 1e410a1290
Fix typo due to change of interface
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
2019-12-20 08:12:43 +02:00
Danny Ryan 542e39b004
Merge pull request #1545 from ethereum/v09x
Release v0.9.4 to master
2019-12-19 17:25:46 -07:00
Danny Ryan 780dff76d4
Merge pull request #1540 from ChihChengLiang/note-on-requesting-status-again
Add a note on requesting STATUS again
2019-12-19 14:10:54 -07:00
Danny Ryan e34d22e4f8
bad -> abnormal 2019-12-19 14:04:45 -07:00
Danny Ryan ea58a1f0ef
Merge pull request #1538 from ethereum/content-gossip-id
Content-address gossipsub messages [replacement]
2019-12-19 14:02:32 -07:00
Danny Ryan 91fc7fd4bb
Merge pull request #1544 from ethereum/fix-v093-tests
Fix v093 tests: 2 pre-states missed, 1 unsigned block
2019-12-19 13:28:35 -07:00
Danny Ryan 21191596cc
Merge pull request #1539 from ethereum/daejunpark-vyper-b13-hotfix1761
Vyper b13 -> b13.hotfix1761 [replacement]
2019-12-19 13:27:03 -07:00
protolambda 2de5119cfe
fix two missing pre-states, and fix unsigned block 2019-12-19 17:31:58 +01:00
Carl Beekhuizen 62cbd0e7da
Revert domain 6 -> 5 to prevent confusion 2019-12-19 15:49:10 +02:00
Carl Beekhuizen 42a3dd4ab1
Implement @djrtwo's review suggestions 2019-12-19 15:47:42 +02:00
Chih Cheng Liang c4b23590d4
Add a note on requesting STATUS again 2019-12-19 18:50:49 +08:00
Danny Ryan 01a2ef8158
fix vyper custom build link and bump pycryptodome version 2019-12-18 16:36:28 -07:00
Danny Ryan 31d90ea799
add p2p faq on why message-id override 2019-12-18 14:46:35 -07:00
Age Manning 8a03e6d291
Add gossipsub message-id specification 2019-12-18 14:20:51 -07:00
Danny Ryan 331892ad15
bump version on despoit cache 2019-12-18 13:30:02 -07:00
Daejun Park 4290c1dd1b Vyper b13 -> b13.hotfix1761 2019-12-17 18:58:56 -06:00