Commit Graph

39 Commits

Author SHA1 Message Date
Paul Hauner
3a73cdeeb0 Add all routes to mock server 2021-09-29 14:40:56 +10:00
Paul Hauner
57f6a9b1f1 Refactor block gen 2021-09-29 14:40:56 +10:00
Paul Hauner
837acc11e6 Add execute_payload to block_gen 2021-09-29 14:40:56 +10:00
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
137a9fd3a7 Remove Option from terminal_block_hash in EL 2021-09-29 14:40:54 +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
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
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