Skip to content

Feature Gate: Snapshots use Accounts Lt Hash #3598

Open
@brooksprumo

Description

@brooksprumo

SIMD

https://github.com/solana-foundation/solana-improvement-documents/blob/main/proposals/0220-snapshots-use-accounts-lattice-hash.md

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 (aka SIMD-215) must be activated first. This ensures that validators are able to calculate and verify the underlying accounts lt hash.

Minimum Beta Version

v2.2.0

Minimum Stable Version

v2.2.0

Testnet Activation Epoch

No response

Devnet Activation Epoch

No response

Mainnet-Beta Activation Epoch

No response

Metadata

Metadata

Assignees

Labels

feature-gatePull Request adds or modifies a runtime feature gate

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions