Paul Hauner
f76a1d139f
Add execution payload to block gen
2021-09-29 14:40:56 +10:00
Paul Hauner
f812548d6b
Fix clippy lints
2021-09-29 14:40:55 +10:00
Paul Hauner
c80fd819d6
Start adding payloads to block gen
2021-09-29 14:40:55 +10:00
Paul Hauner
91a3cbc78a
Add block gen test for pos blocks
2021-09-29 14:40:55 +10:00
Paul Hauner
af6095acf4
Add insert_merge_block to block gen
2021-09-29 14:40:55 +10:00
Paul Hauner
9678f77bb5
Prevent infinite loops
2021-09-29 14:40:55 +10:00
Paul Hauner
c0692447ed
Add testing for finding terminal block
2021-09-29 14:40:55 +10:00
Paul Hauner
20106bb3fd
Add first ExecutionLayer tests
2021-09-29 14:40:55 +10:00
Paul Hauner
354955ccff
Add bones for handling RPC methods on test server
2021-09-29 14:40:54 +10:00
Paul Hauner
8080c78a2a
Revert merge changes to consensus/fork_choice
2021-09-29 14:40:54 +10:00
Paul Hauner
137a9fd3a7
Remove Option from terminal_block_hash in EL
2021-09-29 14:40:54 +10:00
Paul Hauner
c69c3eafe7
Partially implement --terminal-block-hash-override
2021-09-29 14:40:54 +10:00
Paul Hauner
559236de39
Verify merge block in block_verification
2021-09-29 14:40:51 +10:00
Paul Hauner
dd570f4dec
Add is_valid_terminal_block to EL
2021-09-29 14:40:22 +10:00
Paul Hauner
5323681204
Add basic block generator impl
2021-09-29 14:40:22 +10:00
Paul Hauner
92829c7b38
Add tests for block getter methods
2021-09-29 14:40:21 +10:00
Paul Hauner
4093a06418
Remove duplicate 0x on ssz_types serialization
2021-09-29 14:40:21 +10:00
Paul Hauner
c1b0093d9e
Add LRU cache for execution blocks
2021-09-29 14:40:21 +10:00
Paul Hauner
b6909b824d
Allow producing block with execution payload
2021-09-29 14:40:21 +10:00
Paul Hauner
6cf83db13f
Thread TTD into execution layer
2021-09-29 14:40:21 +10:00
Paul Hauner
f9fd6ac392
Add search for TTD block
2021-09-29 14:40:21 +10:00
Paul Hauner
c329fae53c
Call forkchoiceUpdated
2021-09-29 14:40:21 +10:00
Paul Hauner
82d491c88d
Send consensus valid/invalid messages
2021-09-29 14:40:20 +10:00
Paul Hauner
3c816a3533
Begin implementing payload handle
2021-09-29 14:40:20 +10:00
Paul Hauner
03b984aa89
Add extra_data field
2021-09-29 14:40:20 +10:00
Paul Hauner
7091adf58c
Integrate execute_payload
2021-09-29 14:40:18 +10:00
Paul Hauner
1c2b59f851
Add block_on to execution_layer
2021-09-29 14:38:28 +10:00
Paul Hauner
203a93b3e1
Add block processing methods to ExecutionLayer
2021-09-29 14:38:28 +10:00
Paul Hauner
f698b91d77
Add CLI flags
2021-09-29 14:38:27 +10:00
Paul Hauner
81a62e33d7
Thread execution layer into ClientBuilder
2021-09-29 14:38:27 +10:00
Paul Hauner
95ef497e7b
Fix clippy lints
2021-09-29 14:38:27 +10:00
Paul Hauner
4fe318c2e5
Begin threading execution layer into BeaconChain
2021-09-29 14:38:27 +10:00
Paul Hauner
74a25cebdb
Finish adding tests
2021-09-29 14:38:27 +10:00
Paul Hauner
68e24d4cc1
Fix camelCase
2021-09-29 14:38:27 +10:00
Paul Hauner
9e7b4327f1
Add first test
2021-09-29 14:38:26 +10:00
Paul Hauner
31ad3239d4
Switch to new rpc sending method
2021-09-29 14:38:26 +10:00
Paul Hauner
95e9407cd9
Finish custom JSON response handler
2021-09-29 14:38:26 +10:00
Paul Hauner
cb5e33d53c
Start adding json rpc wrapper
2021-09-29 14:38:26 +10:00
Paul Hauner
08308c0000
Add all minimal spec endpoints
2021-09-29 14:38:25 +10:00
Paul Hauner
3d2bc6db9e
Add executePayload
2021-09-29 14:38:25 +10:00
Paul Hauner
ac1cdc5ca4
Modify decoding
2021-09-29 14:38:25 +10:00
Paul Hauner
7433385fb3
Add bones of execution_layer
2021-09-29 14:38:25 +10:00
Paul Hauner
1ce8339d96
Make eth1::http functions pub
2021-09-29 14:38:25 +10:00
ethDreamer
0a0deb73e3
Finished Gossip Block Validation Conditions ( #2640 )
...
* Gossip Block Validation is Much More Efficient
Co-authored-by: realbigsean <seananderson33@gmail.com >
2021-09-28 18:36:03 -05:00
ethDreamer
29097d3dae
Fork boundary fix ( #2646 )
...
* Fixed Gossip Topics on Fork Boundary
2021-09-28 18:09:08 -05:00
realbigsean
e559bd9f59
Store execution block hash in fork choice ( #2643 )
...
* - Update the fork choice `ProtoNode` to include `is_merge_complete`
- Add database migration for the persisted fork choice
* update tests
* Small cleanup
* lints
* store execution block hash in fork choice rather than bool
2021-09-29 08:50:51 +10:00
Paul Hauner
b48f133a8c
Fix clippy lints on merge-f2f ( #2626 )
...
* Remove unchecked arith from ssz_derive
* Address clippy lints in block_verfication
* Use safe math for is_valid_gas_limit
2021-09-29 08:50:50 +10:00
Michael Sproul
ef6158f4ee
Fix consensus, SSZ, tree hash & run merge EF tests ( #2622 )
...
* Update to v1.1.0-beta.4 (squash of #2548 )
* SSZ, cached tree hash, EF tests
2021-09-29 08:50:50 +10:00
Mark Mackey
3718c36c51
Initial merge changes
...
Added Execution Payload from Rayonism Fork
Updated new Containers to match Merge Spec
Updated BeaconBlockBody for Merge Spec
Completed updating BeaconState and BeaconBlockBody
Modified ExecutionPayload<T> to use Transaction<T>
Mostly Finished Changes for beacon-chain.md
Added some things for fork-choice.md
Update to match new fork-choice.md/fork.md changes
ran cargo fmt
Added Missing Pieces in eth2_libp2p for Merge
fix ef test
Various Changes to Conform Closer to Merge Spec
2021-09-29 08:50:48 +10:00
realbigsean
113ef74ef6
Add contribution and proof event ( #2527 )
...
## Issue Addressed
N/A
## Proposed Changes
Add the new ContributionAndProof event: https://github.com/ethereum/beacon-APIs/pull/158
## Additional Info
N/A
Co-authored-by: realbigsean <seananderson33@gmail.com >
2021-09-25 07:53:58 +00:00