Ben Edgington
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.

      Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Explore these features while you wait
      Complete general settings
      Bookmark and like published notes
      Write a few more notes
      Complete general settings
      Write a few more notes
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    1
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    --- tags: eth2devs description: Notes from the regular proof of stake [Eth2] implementers call image: https://benjaminion.xyz/f/favicon-96x96.png --- # PoS Implementers’ Call #92 - 2022-07-28 [Quick contemporaneous notes by Ben Edgington; fka "Eth2 Implementers' Call"] Agenda: https://github.com/ethereum/pm/issues/574 Livestream: https://youtu.be/XDfNg8mdC10 ## Merge [Pari] Two shadow forks. Goerli SF5: no big issues (but see Nethermind below). Have been testing MEV-Boost (Prysm, Lodestar, Teku) with ~30% of the network now, looking fine. Mainnet SF10: no client compatibility issues. Some Erigon nodes losing peers, Besu needed updating, but all more-or-less expected. Goerli SF6 planned for next week. ### Execution behaviour around terminal blocks [Mikhail] Related to GSF5. Issue showed up with Nethermind. Terminal block A was imported via gossip. After that a different terminal block B was received. Nethermind does not process blocks that won't become the head of the chain: thus added B to block tree, but did not process it. The transition block built on B which caused Nethermind to return "SYNCING" as it could not validate the payload. Node got stuck as it can't switch to the new branch for "safe slots to import" slots, i.e. 128 slots. The expected EL behaviour is that, whatever happens with multiple terminal blocks, if the EL has enough data to validate the transition block it must do so. Thus, Nethermind should have processed B here. Erigon has [a fix](https://github.com/ledgerwatch/erigon/pull/4812). Geth is expected to be ok. Besu will check. [Danny] We should add a note to the spec to execute all blocks on receipt near TTD even if it is expensive. Terminal blocks should be gossiped until the transition is finalised. **Action: Danny and Mikhail to clarify this edge case in the spec** ### Exchange configuration before TTD is set for Mainnet To allow people to set up their Merge configs (Beacon Node and Execution Client) ahead of time. [PaulH] It is not clear on the execution side what value to use for `TransitionConfigurationV1` before TTD is set. Consensus side has well-defined behaviour. See [here](https://github.com/ethereum/pm/issues/574#issuecomment-1197771890) for the values. Not clear whether to include this in the spec - probably not necessary. ### Extend optimistic node definition See [here](https://github.com/ethereum/consensus-specs/pull/2955). [Mikhail] Current definition: a node is optimistic when its head is optimistic. This PR addresses the case when you have a branch of optimistic blocks that justifies a new checkpoint, and the checkpoint is justified in the block store. In parallel the EL is catching up with the payloads. If any payloads are invalid we must remove the branch from the block store, which may leave us in a situation with no tip that matches the justified checkpoint in the store. There are various ways to deal with this. Rollback is dangerous (may lead to surround votes). Probably best to remain in optimistic sync and wait for further info from peers. We should have a general approach to dealing with this situation however it arises. [Potuz] Consensus clients currently have different approaches. Teku and Lighthouse might end up gossiping invalid blocks after a reboot. Prysm does has not decided on a solution. [Dankrad] Do we consider justified blocks from optimistic sync actually justified? [Danny] This situation really requires manual intervention to fix, and is a failure case resulting from an attack or breakage. Validators should not be voting on something that is optimistic. [Mikhail] It would be ideal not to rely on slashing protection - a node in this state should not attest at all. [Danny] A justified checkpoint should be fully validated if you are going to act on it. [Potuz] If an attacker can trigger optimistic mode then they only need two blocks in order to cause problems. Prysm may follow Lighthouse in keeping an "invalid head" in the fork choice. [PaulH] All the approaches seem reasonable, including Teku's. [AdrianS] Not a big fan of "invalid head" - difficult to reason about. But staying in optimistic mode seems reasonable. [PaulH] If a node does not distinguish between optimistic and invalid then all should be well. [Potuz] This does not work for Prysm as it removes all invalid blocks, so would remove an optimistic head. **Action: Mikhail to add more context to the PR.** ## MEV Boost There is an open issue around delaying MEV-Boost at the transition. [AlexS] [This PR](https://github.com/ethereum/builder-specs/pull/38) looks good to go unless there are any final objections. ### Liveness discussion: circuit breaker proposal [AlexS] [Sketch of a proposal](https://hackmd.io/@ralexstokes/BJn9N6Thc ) to address a case when a Relay does not release the signed block data. Suggestion, have a heuristic like "if 5 blocks in a row are missing", then suspend MEV-Boost and re-route block building to local execution clients. [Mikhail] A higher threshold criterion (e.g. 16) might be better - what's the downside of having a larger rather than a smaller value? [Dankrad] How about an exponentially increasing recovery period? [Danny] That's reasonable, but also want to keep things simple. Could also do threat modelling - how likely is it for an adversary to trigger the mechanism at will give a certain threshold? [Sean Anderson] This is implemented in Lighthouse, but is configurable by the user. This makes it harder to game. Clients could have diverse defaults. [Terence] Making it a client implementation detail is good. [AdrianS] Concerned about adding complexity in order to avoid a corner case. Experience is that this often causes other issues. [MartinHS] Everything should continue working if MEV-Boost goes offline. Based on that, some extra complexity is tolerable. A circuit breaker is a good idea. Random client-chosen values might be good. [Danny] A circuit breaker can be simple. Worried that with only 1 or 2 relays they have significant power over the network. [Danny] Is a percentage of missing blocks easier than an absolute number? [AdrianS] It helps if the criterion is something that can be derived from the current state. Looking across forks adds significant complexity. [Dankrad] Eventually we could have a gossip channel to which signed blinded blocks could be published. Then the malicious Relay withholding behaviour would be detectable. Not before the Merge, however. (See chat highlights below for more on this. Conversation begins to turn more philosophical - watch the recording for details.) [AlexS] There is some appetite for a circuit breaker. **Action: Alex will firm up a proposal**. Discussions to the `#block-construction` channel on the R&D Discord. [Danny] The MEV-Boost side-car design can help us to encapsulate mitigations. Other MEV topic: Lighthouse and Nimbus are close to merging MEV Boost spec PR. ## General discussion and AOB [Tim] There is an EIP-4844 call tomorrow. See the [PM repo](https://github.com/ethereum/pm/issues/581) for details. [Pari] The Goerli blog post is out. Update your nodes! * * * # Chat highlights From danny to Everyone 03:02 PM : https://github.com/ethereum/pm/issues/574 From Chris Hager to Everyone 03:05 PM : https://boost.flashbots.net From Potuz to Everyone 03:11 PM : https://github.com/ledgerwatch/erigon/pull/4812 it's merged From Mario Vega to Everyone 03:14 PM : I am working on exactly this scenario in hive, it would be nice to have the expected behavior in spec too From Justin Florentine to Everyone 03:16 PM : i believe spec says to keep gossip up till 2 finalized epochs From Marek Moraczyński to Everyone 03:18 PM : Mario I wrote some tests in Nethermind for gossip: https://github.com/NethermindEth/nethermind/pull/4327 it could be useful for you From danny to Everyone 03:20 PM : TTD_NOT_SET = big_value From Mikhail Kalinin to Everyone 03:20 PM : `2**256 - 2**10` From danny to Everyone 03:20 PM : `2^256 - 2^10` `**` From Marek Moraczyński to Everyone 03:20 PM : https://github.com/ethereum/consensus-specs/blob/981b05afb01d5b19be3a5a60ccb12c3582e4c0cf/configs/mainnet.yaml#L16 From Mikhail Kalinin to Everyone 03:22 PM : https://github.com/ethereum/consensus-specs/pull/2955 From Potuz to Everyone 03:29 PM : the justified checkpoint may be completely VALID in this situation and still need a reversal From danny to Everyone 03:37 PM : I was misunderstanding the scope of the problem. understood now and will think on it From Parithosh Jayanthi to Everyone 03:39 PM : Update nodes for goerli! From stokes to Everyone 03:39 PM : https://github.com/ethereum/builder-specs/pull/38 https://hackmd.io/@ralexstokes/BJn9N6Thc From stokes to Everyone 03:47 PM : default is a random value From Micah Zoltu to Everyone 03:47 PM : Majority clients have a longer delay than minority clients. From danny to Everyone 03:48 PM : still the upper bound is how you game it upper bound on the defaults From stokes to Everyone 03:48 PM : yeah if any value is known it will be gamed From Micah Zoltu to Everyone 03:48 PM : I concur with Adrian. From stokes to Everyone 03:48 PM : which kind of suggests uniformity From Micah Zoltu to Everyone 03:51 PM : I feel like I'm missing something. Why would MEV boost going down result in an outage? From danny to Everyone 03:51 PM : not going down From Micah Zoltu to Everyone 03:51 PM : I thought the clients *always* built a fallback block? From danny to Everyone 03:51 PM : if you already comit to the blinded blokck From stokes to Everyone 03:52 PM : proposers would attempt to use it but then rugged by mev-boost network From danny to Everyone 03:52 PM : you can't fallback locally anymore From Micah Zoltu to Everyone 03:52 PM : Ah. From danny to Everyone 03:52 PM : so it's a malicious relay or a very very particular bug gas limit elasticity From Chris Hager to Everyone 03:54 PM : That kind of reputation and monitoring is basically the idea of the relay monitor: https://github.com/flashbots/mev-boost/issues/142 From Paul Hauner to Everyone 03:57 PM : It’s hard From Chris Hager to Everyone 03:57 PM : the relay monitor 👆would also know about withholdings, but would be a trusted entity From danny to Everyone 04:00 PM : more than 1/3 blocks missing over 32 or 64 blocks From stokes to Everyone 04:01 PM : do we count orphans? From danny to Everyone 04:01 PM : or 40% -- at lesat then you still have block elasticity to help with the gas limit From stokes to Everyone 04:01 PM : otherwise a reorging attacker can corrupt things From Chris Hager to Everyone 04:01 PM : mev-boost could disconnect from penalized relays, wouldn't need to be a BN change From Micah Zoltu to Everyone 04:02 PM : I didn't realize proposers and relay wasn't bonded in The Merge version. 😢 From stokes to Everyone 04:02 PM : won't really have in-protocol bonding till in-proto PBS From Micah Zoltu to Everyone 04:02 PM : I thought it was, which meant that it had some amount of sybil resistance and incentives to defend against this. From stokes to Everyone 04:03 PM : they can opt-in to be bonded, but it wouldn't be enshrined in any sense e.g. DA commitee for relays From Micah Zoltu to Everyone 04:03 PM : We would need them to be bonded in a way that can be slashed for it to be effective I think.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password
    or
    Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully