Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Example: Add example of deserializing the SlotHash sysvar while remaining within the BPF compute limit #945

@mvines

Description

@mvines

Normal decoding of the SlotHash sysvar will exceed the current BPF compute limit. This PR demonstrates how to manually decode the sysvar to avoid this issue: mvines/solana-bpf-program-template#4

This PR should be added to the examples/

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersstale[bot only] Added to stale content; will be closed soon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions