Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't cache protocol spec in block creator #4982

Merged

Commits on Jan 23, 2023

  1. Don't cacne protocol spec in block creator

    Don't cache the protocol spec in the block creator.  With the new
    shanghaiTimestamp the correct spec may be a function of the timestamp
    not just the block number.  So every time we are asked to build a block
    re-query the spec.
    
    Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
    shemnon committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    213e963 View commit details
    Browse the repository at this point in the history
  2. Don't cacne protocol spec in block creator

    Don't cache the protocol spec in the block creator.  With the new
    shanghaiTimestamp the correct spec may be a function of the timestamp
    not just the block number.  So every time we are asked to build a block
    re-query the spec.
    
    Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
    shemnon committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    e5374e4 View commit details
    Browse the repository at this point in the history