Commit Graph

6710 Commits

Author SHA1 Message Date
Mikhail Kalinin 9a1a30c3d4 Rebase Merge spec with London 2021-07-26 19:55:35 +06:00
protolambda 1a966d1e37
work in progress new sharding fee mechanism 2021-07-26 15:26:55 +02:00
Danny Ryan 05d3ec2b38
Merge pull request #2532 from ethereum/bump-version
bump VERSION.txt to 1.1.0-beta.2
2021-07-23 08:58:12 -06:00
Danny Ryan 37da2018a3
bump VERSION.txt to 1.1.0-beta.2 2021-07-23 08:22:53 -06:00
Danny Ryan 35df4b2d4f
rephrase context enum for blocks_by requests 2021-07-23 07:54:26 -06:00
protolambda a7f58ef08a
fix comment + handle missing pending headers 2021-07-23 12:56:01 +02:00
protolambda f791fe7d1c
implement review suggestions
Co-authored-by: Anton Nashatyrev <anton.nashatyrev@gmail.com>
2021-07-23 12:56:01 +02:00
protolambda b25afc88fd
update networking spec with aggregate proposer/builder types, update TOCs 2021-07-23 12:56:00 +02:00
protolambda 5034e2d7bc
update shard spec wording + fix shard slashings 2021-07-23 12:56:00 +02:00
protolambda 5726cb9374
aggregate builder and proposer for simplified typing and optimized verification 2021-07-23 12:56:00 +02:00
protolambda 2a105f4581
fix toc 2021-07-23 12:56:00 +02:00
protolambda b3d5858cc9
update data fee payment, todo 2021-07-23 12:55:59 +02:00
protolambda 9e10f58299
update networking spec 2021-07-23 12:55:59 +02:00
protolambda 4b25239617
builders make blobs, proposers make blocks 2021-07-23 12:55:59 +02:00
protolambda bc936768c7
global selection of shard proposers 2021-07-23 12:55:55 +02:00
Diederik Loerakker bb16365eb1
Merge pull request #2488 from Nashatyrev/feature/simplify-start-shard
[Sharding] Simplify `get_start_shard` function
2021-07-23 12:53:01 +02:00
Anton Nashatyrev 06b8bb1a57
Simplify get_start_shard function 2021-07-23 12:45:03 +02:00
Diederik Loerakker d3081d01ac
Merge pull request #2530 from ethereum/merge-rebase-altair
Rebase The Merge onto Altair base functionality
2021-07-23 12:04:13 +02:00
protolambda bf6ad465ce
remove old BeaconState extension 2021-07-22 20:01:50 +02:00
protolambda 8318441474
Fix remaining merge-rebase-altair tests 2021-07-22 19:59:15 +02:00
protolambda bb0848b6f6
carry over current and previous_sync_committee in Merge state upgrader, review from @djrtwo 2021-07-22 19:58:10 +02:00
Danny Ryan 3b34f16e5a
add base merge p2p spec 2021-07-22 11:09:36 -06:00
protolambda 17fad2dea2
rebase The Merge onto Altair base functionality 2021-07-22 16:36:41 +02:00
Danny Ryan db054d239e
Merge pull request #2528 from ethereum/zero-bits-network
require sync committee contributions to have at least one participant
2021-07-21 16:07:19 -06:00
Danny Ryan f7a2a973ac
Update specs/altair/p2p-interface.md
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
2021-07-21 15:51:59 -06:00
Danny Ryan 02a9fc460e
require aggregation bits to have at least one participant in sync contributions 2021-07-21 11:10:09 -06:00
Danny Ryan 947ca9082c
Merge pull request #2522 from mkalinin/strict-terminal-pow-block
Enforce terminal PoW block to be on the cusp
2021-07-20 08:28:46 -06:00
Mikhail Kalinin 65f6aa1b33 Replace PyUnion with Optional 2021-07-20 17:37:52 +06:00
Danny Ryan b53d0e5c5b
Merge pull request #2526 from ralexstokes/fix-slashing-helper
Update slashing helper to avoid proposer.
2021-07-19 17:13:49 -06:00
Alex Stokes 1e2e7a2b84
Merge pull request #2525 from tworec/patch-1
README typo fix
2021-07-19 14:31:54 -07:00
Alex Stokes 758b828ecb
Update slashing helper to avoid proposer.
Fixes #2521.
2021-07-19 14:20:44 -07:00
Piotr Chromiec 1e484b8d98
README typo fix 2021-07-19 14:48:30 +02:00
Danny Ryan 658ab803cf
Merge pull request #2524 from ethereum/update-remerkleable
Update remerkleable to v0.1.22: list lookup speed improvement
2021-07-18 10:52:26 -06:00
protolambda 5ad36bd3d5
Update remerkleable to v0.1.22: list lookup speed improvement 2021-07-17 15:55:38 +02:00
Diederik Loerakker 4c04090504
Merge pull request #2523 from ajsutton/zero-signature-test
Add tests for SyncAggregate with no participants and all zero signature
2021-07-17 15:24:56 +02:00
protolambda f16cfe7c3a
update sync aggregate tests 2021-07-17 14:46:25 +02:00
Adrian Sutton 11d54af89d
Add test to confirm infinite signature is invalid when there are participants. 2021-07-17 16:34:41 +10:00
Mikhail Kalinin add00ad2e0 Replace get_pow_chain_head with get_pow_block_at_total_difficulty in validator.md 2021-07-17 12:33:06 +06:00
Adrian Sutton f668b2b433
Add tests for SyncAggregate with no participants and all zero signature. 2021-07-17 16:26:18 +10:00
Mikhail Kalinin a4a050e97a Enforce terminal PoW block to be on the cusp 2021-07-16 19:16:32 +06:00
Danny Ryan b541b8e763
Merge pull request #2520 from ethereum/beta.1-tests
fix last beta.1 mainnet test
2021-07-14 11:40:59 -06:00
Danny Ryan c420968f66
fix last beta.1 mainnet test 2021-07-14 11:11:24 -06:00
Alex Stokes 49fbc70ce6
Merge pull request #2517 from ethereum/fix-missing-test-deco
Apply missing spec_test decorators, to handle generator_mode flag
2021-07-14 06:37:58 -07:00
Hsiao-Wei Wang cc3690ce38
Add unit tests to test the new condition. 2021-07-14 20:05:14 +08:00
Hsiao-Wei Wang 63ca480ea3
Add condition check in `on_tick` to ensure that `store.justified_checkpoint` is a descendant of `store.finalized_checkpoint` 2021-07-14 20:02:28 +08:00
protolambda 5582490364
Apply missing spec_test decorators, to handle generator_mode flag 2021-07-14 13:40:34 +02:00
Danny Ryan 421166544a
Merge pull request #2516 from ethereum/bump-version
bump VERSION.txt to 1.1.0-beta.1
2021-07-13 16:29:59 -06:00
Danny Ryan b25d690ee8
bump VERSION.txt to 1.1.0-beta.1 2021-07-13 16:18:37 -06:00
Danny Ryan 2275780216
Merge pull request #2514 from ethereum/sync-agg-target
target sync committee aggregators to 16
2021-07-13 11:06:35 -06:00
Hsiao-Wei Wang 93a31f9011
Fix test: use mainnet preset and accept deviation 2021-07-13 00:16:57 +08:00