LiteSVM / litesvm

Apache License 2.0
68 stars 11 forks source link

Handle sysvar updates #20

Closed kevinheavey closed 5 months ago

kevinheavey commented 5 months ago

Checks whenever an account being updated is a sysvar account, and if so updates the sysvar cache. Closes #17

kevinheavey commented 5 months ago

Seems good to me. Can you had a method to get the Sysvar other than with get account?

Done, I've just made it unwrap() for now. Need to think about whether it can fail

Aursen commented 5 months ago

Good you can merge if you want