# In-Protocol deposits PoC sync calls ## Call 10 Meeting Date/Time: Thursday 2023/6/29 at 15:30 UTC Meeting Duration: 45 minutes ### Testing - :heavy_check_mark: **Stage 1: Set sleep time to 1 second (about 12 deposits in 12 seconds).** - Sleep Time: `1 second` - Number of Deposits per Slot: ~12 - Duration of the Test: At least `1 minute` to observe sustained behavior. - Total Number of Deposit Data Entries Needed: `12 * 5 + 5 = 65` (for 1 minute of testing with 5 additional deposits) ![](https://hackmd.io/_uploads/SJQsa1s_2.png) --- - :heavy_check_mark: **Stage 2: Set sleep time to 0.5 seconds (about 24 deposits in 12 seconds).** - Sleep Time: `0.5 seconds` - Number of Deposits per Slot: ~24 - Duration of the Test: At least `1 minute` to observe sustained behavior. - Total Number of Deposit Data Entries Needed: `24 * 5 + 5 = 125` (for 1 minute of testing with 5 additional deposits) ![](https://hackmd.io/_uploads/rkH8kliu2.png) --- - :heavy_check_mark: **Stage 3: Set sleep time to 0.2 seconds (about 60 deposits in 12 seconds).** - Sleep Time: `0.2 seconds` - Number of Deposits per Slot: ~60 - Duration of the Test: At least `1 minute` to observe sustained behavior. - Total Number of Deposit Data Entries Needed: `60 * 5 + 5 = 305` (for 1 minute of testing with 5 additional deposits) ![](https://hackmd.io/_uploads/ryFfMxi_3.png) --- - :warning: **Stage 4: Set sleep time to 0.02 seconds (targeting about 600 deposits in 12 seconds, but achieved around 90).** - Sleep Time: `0.02 seconds` - Target Number of Deposits per Slot: ~600 - **Achieved Number of Deposits per Slot: ~90** - Duration of the Test: At least `1 minute` to observe sustained behavior. - Total Number of Deposit Data Entries Needed: `600 * 5 + 5 = 3005` (for 1 minute of testing with 5 additional deposits) ![](https://hackmd.io/_uploads/rJ6-4gi_n.png) ## Call 9 Meeting Date/Time: Thursday 2023/5/4 at 15:30 UTC Meeting Duration: 45 minutes ### Agenda 1. Devnet/testing updates * eip6110 transition issue * blockscout setup 1. Other discussion points ## Call 8 Meeting Date/Time: Thursday 2023/4/27 at 15:30 UTC Meeting Duration: 45 minutes ### Agenda 1. Client updates 1. Devnet/testing updates 1. Spec updates 1. Open questions ## Call 7 Meeting Date/Time: Thursday 2023/4/20 at 15:30 UTC Meeting Duration: 45 minutes ### Agenda 1. Client updates 1. Devnet/testing updates 1. Spec updates 1. Open questions ### Notes Small refactor of LH implementaion. Decided to update API with `deposit_receipts` fields in both LH and Besu. Guys will be taking a look into how to setup beaconchai.in and blockscout explorers in local devnets. Kevin to try out a script submitting deposits. Pari is working on devnet setup. ## Call 6 Meeting Date/Time: Thursday 2023/4/13 at 15:30 UTC Meeting Duration: 45 minutes ### Agenda 1. Client updates 1. Devnet/testing updates 1. Spec updates 1. Open questions ### Notes Besu: added deposit contract address as a configurable parameter, waiting for PR approval from the Besu team. Lighthouse: new test vectors adopted, fixed a small bug in `process_deposit_receipt`, deposit transition tests seem to pass -- need to be double checked why no logs are displayed. Devnets: aiming to launch a multipeer devnet next Wed/Thu. Mikhail to set up a call with Pari to discuss what can be useful as devnet monitoring tools. Mikhail to ask beaconcha.in guys for guidance on how to change their block explorer to accomodate new deposit flow. Navie to take a look into modifying Blockscout in order to add deposit receipts information. ## Call 5 Meeting Date/Time: Thursday 2023/4/6 at 15:30 UTC Meeting Duration: 45 minutes ### Agenda 1. Client updates 1. Devnet/testing updates 1. Spec updates 1. Open questions ### Note Besu: [PR#5295](https://github.com/hyperledger/besu/pull/5295) introducing block validation rules, block building and API is opened and has been passed through the first iteration of review. Block building test is implemented Devnets: local devnet is setup with recent client images and [script](https://gist.github.com/kevinbogner/fa8df2cdeed6a1e9368bb9914cfaecd8) sending deposit transacitons. Aiming to run local devnet through the transition next week. Spec/Tests: consensus spec rebased to Deneb, EIP6110 tests are written and vectors generated, [PR#3309](https://github.com/ethereum/consensus-specs/pull/3309). ## Call 4 Meeting Date/Time: Thursday 2023/3/30 at 15:30 UTC Meeting Duration: 45 minutes ### Agenda 1. Share progress * Spec * Rebases specs to Deneb/Cancun * EL * CL 1. Devnets 1. Open questions ### Notes Spec: Work on consensus-spec-tests has been started. V2 Engine API methods are extended to support eip6110 instead of introducing new method versions. EL: The first PR has been merged with datastructure and Engine API interfaces. Implementation of block validaiton and building logic, likewise, most of the unit tets are ready and the second PR with this changes is to be opened and should go through the review and regression testing process. Rebased to Cancun. CL: The core functionality has been implemented. EIP-6110 logic was decoupled from Deneb into a separate fork. Devnets: Aiming to run local machine devnet during the next week. This can be done in parallel to the review process in Besu. Mikhail to: * ask devops to provide a guide on running local machine devnet * ask test engineers about Hive tests Keving to look into running local machine devnets. Great progress in the middle of the timeline! ## Call 3 Meeting Date/Time: Thursday 2023/3/9 at 15:30 UTC Meeting Duration: 45 minutes ### Agenda 1. Share progress * Spec * EL * PR peview process * CL 1. Open questions ### Notes Spec: updated honest validator guide with related changes. EL: block validation and payload build process are implemented, Engine API is almost done a well. Decided to extend `newPayloadV2` rather than intorduce `newPayloadV6110`; Mikhail to update the spec. Planning to share knowledge on the EIP with Besu team and help them with testing infrastructure. CL: catching up with the recent spec updates, near to be finished. ## Call 2 Meeting Date/Time: Thursday 2023/3/2 at 15:30 UTC Meeting Duration: 45 minutes ### Agenda 1. Share progress * Spec * EL * CL 1. Open questions ### Notes Specification and the design undergo small changes after review from Hsiao-Wei and Danny. Expecting it to settle down next week. EL: was figuring out ABI decoding in Besu, borrowed code from Teku based on web3j. Looking into Engine API things. CL: the PR has been reviewed by Sproul -- the changes look good from his perspective. Aiming to look and catch up with new spec changes during the next week. ### Actions * Mikhail to chat with Simon ## Call 1 Meeting Date/Time: Thursday 2023/2/23 at 15:30 UTC Meeting Duration: 45 minutes ### Agenda 1. Scope estimation 1. Share progress * Spec * EL * CL 1. Open questions * Besu contribution * Project name ### Notes From current perspective the scope looks sane to be accomplished during two months. EL: Navie chated with Simon from Besu on the path forward to making changes to the Besu and appropriate break down of the implementation into a few stages. Expecting input from Simon on the first part (data structs) while started to work on deposit data parsing. We may use fixed offsets and lengths to parse deposit data from events to avoid engineering complexity related to ABI decoding as each piece of deposit data has fixed length. CL: Kevin adjusted implementation with the recent spec change which is removal of `pending_queue` from `BeaconState`. A few functions left to be modified to get the spec implemented. Expecting input from Michael. There is a question about `initialize_beacon_state_from_eth1` implementation in Lighthouse, to be figured out. Project name: In-protocol deposits as a suggestion. ## Call 0 Meeting Date/Time: Thursday 2023/2/16 at 10:30 UTC Meeting Duration: 45 minutes ### Agenda 1. Intros 1. Go over the project scope * https://hackmd.io/@n0ble/in-protocol-deposits-poc 1. Share progress 1. Set up next call and points of coordination 1. Open questions * Project name ### Actions * Navie to figure out how to proceed with Besu contributions * Mikhail to remove `pending_deposits` * Navie, Kevin to estimate the scope and think if it fits into 2.5 months timeline * Mikhail to setup a recurring sync call ### Chatbox Kevin Bogner to Everyone (16 Feb 2023, 16:56) https://github.com/sigp/lighthouse/compare/unstable...kevinbogner:lighthouse:eip6110 Mario H to Everyone (16 Feb 2023, 17:01) https://github.com/taxmeifyoucan/ephemeral-testnet Kevin Bogner to Everyone (16 Feb 2023, 17:04) https://hackmd.io/NJhsTuWASMG-fg3VMXv14Q?view You to Everyone (16 Feb 2023, 17:11) https://github.com/ethereum/EIPs/pull/6325