Skip to content

feat: solana AccountInfo generators for proofs#4551

Open
kamiyo-ai wants to merge 2 commits intomodel-checking:mainfrom
kamiyo-ai:kamiyo/kani-solana-agent-primitives
Open

feat: solana AccountInfo generators for proofs#4551
kamiyo-ai wants to merge 2 commits intomodel-checking:mainfrom
kamiyo-ai:kamiyo/kani-solana-agent-primitives

Conversation

@kamiyo-ai
Copy link
Contributor

Adds an optional helper crate and a cargo-kani regression test to reduce the boilerplate required to write Kani proofs over code that uses Solana's AccountInfo API.

  • New helper crate: library/kani_solana_agent/
    • AccountConfig builder
    • any_account_info::<DATA_LEN>(...) -> AccountInfo<'static> backed by leaked allocations (suitable for verification)
  • New cargo-kani test crate: tests/cargo-kani/solana-accountinfo/
    • timelock_policy_matches_release_rule
    • release_funds_conserves_lamports

This is intended as a lightweight integration point for Solana/agent-style programs (timelocks, escrow transfers, etc.) without modeling the Solana runtime.

RFC/tracking issue: #4550
Related: #4549

@kamiyo-ai kamiyo-ai requested a review from a team as a code owner February 17, 2026 02:22
@github-actions github-actions bot added Z-EndToEndBenchCI Tag a PR to run benchmark CI Z-CompilerBenchCI Tag a PR to run benchmark CI labels Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Z-CompilerBenchCI Tag a PR to run benchmark CI Z-EndToEndBenchCI Tag a PR to run benchmark CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments