Skip to content

Conversation

@BretasArthur1
Copy link
Contributor

Problem

  • get_program_accounts_with_config was deprecated in favor of get_program_ui_accounts_with_config in newer solana_rpc_client release
  • solana_runtime::commitment::BlockCommitmentArray has been marked for formal inclusion in the agave unstable api (causing warns about it)

Solution

  • Make encode_ui_account generic over ReadableAccount with a trait-based access to raw bytes for IDL parsing, require Sync for locker usage, and pass through remote UiAccounts without re-encoding.
  • Enable agave unstable api feature set in the solana-runtime crate

…DL parsing safely and enable agave unstable api feature to solana runtime
@BretasArthur1 BretasArthur1 changed the title fix: surfnet encode_ui_account to handle ReadableAccount inputs and enable agave unstable api fix(core): surfnet encode_ui_account to handle ReadableAccount inputs and enable agave unstable api Jan 21, 2026
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.

1 participant