Skip to content

Conversation

@mvines
Copy link
Owner

@mvines mvines commented Dec 12, 2020

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 mvines changed the title SlotHash example SlotHash sysvar example Dec 12, 2020
@mvines mvines changed the title SlotHash sysvar example Example of deserializing the SlotHash sysvar while remaining within the BPF compute limit Dec 13, 2020
@mvines mvines force-pushed the slot_hashes branch 2 times, most recently from 7a71492 to 9c653f1 Compare December 13, 2020 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants