Paul Hauner
354955ccff
Add bones for handling RPC methods on test server
2021-09-29 14:40:54 +10:00
Paul Hauner
ce569963cc
Remove commented-out code
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
1135a8f783
Add terminal_block_hash to ChainSpec
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
5098da53fa
Fix minor type in task_executor
2021-09-29 14:40:20 +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
9c8bf4965e
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
18dc88f194
Expose Transaction, cargo fmt
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
Paul Hauner
55e5b5b2df
Checkout serde_utils from rayonism
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
Michael Sproul
7236dcbdbf
Update test vectors to v1.1.0 ( #2642 )
2021-09-29 08:50:50 +10:00
Paul Hauner
e08b333c11
Checkout Cargo.lock from unstable ( #2633 )
2021-09-29 08:50:50 +10:00
Paul Hauner
57aa3c1ffe
Handle merge fork in web3signer ( #2631 )
2021-09-29 08:50:50 +10:00
Michael Sproul
251ddbd696
Update merge consensus to v1.1.0-beta.5 ( #2630 )
2021-09-29 08:50:50 +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