Skip to content

Latest commit

 

History

History
244 lines (155 loc) · 10.6 KB

File metadata and controls

244 lines (155 loc) · 10.6 KB

Changelog

Added

  • Add explicit ExecutionOutcome flow through HPSVM::transact and HPSVM::commit_transaction.
  • Add AccountSource integration plus the hpsvm-fork-rpc::RpcForkSource companion crate for cached RPC-backed reads.
  • Add extracted execution environment surfaces, including HPSVM::block_env and the public Inspector hook via HPSVM::with_inspector.

Changed

  • Share one commit-delta path across single-transaction and batch execution.
  • Move internal block/config/runtime state behind BlockEnv, SvmCfg, and RuntimeEnv.
  • Centralize custom syscalls and standard precompile materialization behind an internal RuntimeExtensionRegistry.

0.11.0 - 2026-03-30

Added

  • Add feature gate account support (#308).
  • Add custom syscall registration (#309).

Fixed

  • Align rent checks and assertions with Solana behavior (#304).
  • Update rent.exemption_threshold based on feature gating (#307).
  • Load the p-token binary instead of spl-token when the feature gate is enabled (#310).
  • Treat upgradeable v3 programs without program data as Closed (#311).
  • Update transaction account lock limits based on the active feature set (#312).

0.10.0 - 2026-02-26

Added

  • Add register trace disassembly dumps when SBF_TRACE_DISASSEMBLE is set (#296).

Changed

  • Load register-tracing ELF bytes from accounts instead of walking directories (#278).
  • Sync dependencies with mainnet (#294).
  • Document the SBF_TRACE_DISASSEMBLE environment variable in docs (#298).

Fixed

  • Fix CUs discrepancy (#299).
  • Avoid double-loading trusted default programs (#295).
  • Validate account locks when sanitizing transactions (#293).
  • Disable debugging for runtime v2 by default (#292).
  • Use ComputeBudget::to_cost in InvokeContext instead of defaults (#288).

0.9.1 - 2026-01-15

Changed

  • Replace solana-pubkey dependency with solana-address (#280).

0.9.0 - 2026-01-05

Changed

  • Bump Solana dependencies to v3.1 (#246).
  • Update spl_token_2022 to version 10.0.0 (#271).
  • Use AccountSharedData instead of Account (#254).

Added

  • Introduce invocation inspect callback feature for pre/post transaction callbacks (#259).
  • Add register-tracing feature for tracing transaction execution (#261).
  • Add fee field to TransactionMetadata (#264).

Fixed

  • Charge priority fees to fee payer (#264).
  • Fix compute budget initialization by incorporating feature set checks (#267).
  • Respect reserved sysvar accounts during sanitization (#255).
  • Disable history check if sigverify is disabled (#253).
  • Restore Send and Sync traits on HPSVM struct (#266).

0.8.2 - 2025-11-19

Fixed

  • Fix dependencies so the workspace continues to build against Solana 3.0 patch releases (#247).

0.8.1 - 2025-10-03

Removed

  • Remove vote-program dep (#226).

0.8.0 - 2025-09-26

Changed

  • Update Solana dependencies to 3.0 (#223).

Removed

  • Remove program-test benchmarks and related code (#224).

Added

  • Add pubkey_signer test (#222).

0.7.1 - 2025-09-17

Fixed

  • Fix zero lamport accounts set with set_accounts (#218).

0.7.0 - 2025-08-27

Added

  • Allow access to the internal accounts db (#205).
  • Update token crate to support native mint functionality (#200).
  • Feature to use hashbrown crate instead of std::collections (#203).

Changed

  • Update Solana crates to 2.3 (#194).
  • Refactor add_program methods to accept program_id as impl Into<Pubkey> for improved flexibility (#183).
  • Make add_program return an error if the program is invalid (#187).

Fixed

  • Cleanup 0 lamport accounts (#204).
  • Fix the documentation for Node (#191).

0.6.1 - 2025-03-31

Fixed

  • Remove needless clone (#161).
  • Disable runtime environment v1 debug features (#162).
  • Fix transaction history truncation (#163).
  • Constrain solana-program-runtime to >=2.2,<=2.2.4 (#165).

0.6.0 - 2025-02-26

Added

  • Add pretty_logs method to TransactionMetadata (#134).
  • Add error logging when loading a program (#141).

Changed

  • Upgrade Solana crates to 2.2.0 (#138).
  • Consolidate feature set management into a with_feature_set method and remove the feature_set param from with_builtins and with_precompiles (#142).
  • Update builtins and downgrade spl-token-2022 to v5.0.2 to match mainnet version (#130).

0.5.0 - 2025-01-23

Added

  • Add PartialEq for some types (#126).

Changed

  • Make the HPSVM struct thread-safe (#127).

Fixed

  • Fix Solana dependencies (#119).

0.4.0 - 2024-12-30

Changed

  • Bump Solana crates to 2.1 (#96).

Added

  • Add HPSVM::with_precompiles (#102).

Fixed

  • Fix account executable in the add_builtin method (#110).

0.3.0 - 2024-10-12

Added

  • Make log_bytes_limit configurable (#96).

Changed

  • Include post_accounts in simulate_transaction output (#97).

0.2.1 - 2024-09-27

Changed

  • Change owner from Keypair to Pubkey in create_ata and create_ata_idempotent helpers (#90).

0.2.0 - 2024-09-11

Added

  • Add helpers for token (#73).
  • Add helpers for bpf_loader (#73).
  • Add stake, config and vote programs (#57).
  • Implement blockhash and durable nonce checks (#61).
  • Add error.rs and new HPSVMError type (#62).
  • Add more logging for users to make debugging errors easier (#62).
  • Add inner_instructions to TransactionMetadata (#75).
  • Add feature-flagged serde traits to TransactionMetadata (#77).

Changed

  • Accept both legacy and versioned tx in simulate_transaction (#58).
  • Move InvalidSysvarDataError to error.rs (#62).
  • Change set_account to return Result<(), HPSVMError> (#62).
  • Replace &mut self with &self in simulate_transaction. (#64).
  • Remove set_compute_budget as it duplicates with_compute_budget. (#68).
  • Remove set_upgrade_authority and deploy_upgradeable_program (#69).
  • Change with_builtins to take a feature_set argument Option<FeatureSet> (#81).

0.1.0 - 2024-04-02

Added

  • Initial release.