Skip to content

v1.0.1-light

Pre-release
Pre-release

Choose a tag to compare

@ananas-block ananas-block released this 31 Jan 11:09
· 6 commits to jorrit/feat-light-cli-compat since this release

Pre-release with Light Protocol CLI compatibility fixes.

Changes

  • Add --bpf-program ADDRESS PATH CLI flag for loading BPF programs at startup
  • Add --account-dir DIRECTORY and --account ADDRESS FILENAME CLI flags for loading accounts in solana-test-validator JSON format
  • Expose add_program/add_program_from_file API through SurfnetSvm so programs are registered in LiteSVM's execution cache and invocable by transactions
  • Fix snapshot loading to use add_program for executable BPF accounts instead of set_account
  • Fix parent_slot incorrectly set to own slot instead of slot - 1
  • Fix block_time double-divided by 1000

Built from branch jorrit/feat-light-cli-compat.