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

Feature Gate: Snapshots use Accounts Lt Hash #3598

Open
brooksprumo opened this issue Nov 12, 2024 · 0 comments
Open

Feature Gate: Snapshots use Accounts Lt Hash #3598

brooksprumo opened this issue Nov 12, 2024 · 0 comments
Assignees
Labels
feature-gate Pull Request adds or modifies a runtime feature gate

Comments

@brooksprumo
Copy link

SIMD

TODO

Description

Continuing on from #3333, we want to use the Accounts Lt Hash as the snapshot hash.

Currently snapshots use the merkle-based accounts hash for the snapshot hash. This requires performing a very expensive calculation for every snapshot. Since we have the accounts lt hash, which is a hash of all the accounts, we can use that for the snapshot hash instead, and thus bypass needing to calculate the merkle-based accounts hash.

This feature gate does the following:

  • Uses the accounts lt hash as the snapshot hash
  • Bypasses the merkle-based accounts hash calculation for snapshots

Feature ID

LTsNAP8h1voEVVToMNBNqoiNQex4aqfUrbFhRH3mSQ2

Activation Method

Single Core Contributor

Deployment Considerations

#3333 must be activated first. This ensures that validators are able to calculate and verify the underlying accounts lt hash.

Minimum Beta Version

No response

Minimum Stable Version

No response

Testnet Activation Epoch

No response

Devnet Activation Epoch

No response

Mainnet-Beta Activation Epoch

No response

@brooksprumo brooksprumo added the feature-gate Pull Request adds or modifies a runtime feature gate label Nov 12, 2024
@brooksprumo brooksprumo self-assigned this Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-gate Pull Request adds or modifies a runtime feature gate
Projects
None yet
Development

No branches or pull requests

1 participant