anza-xyz / anza-xyz/pinocchio

Program(s) Feature Request: add unsafe unchecked invoke call

Offen
#124 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
951
Forks
228
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hey guys,
What are your thoughts on exposing an `unsafe unchecked_invoke_signed` call for program instructions?

I'm currently building a [wrapper] on top of the Pinocchio SDK to provide "compile time" access safety. An unchecked variant of the program calls would be beneficial as it could reduce the overhead of releasing and relocking the runtime guard.

[wrapper]: https://github.com/redmannequin/sol-ez/blob/b5ced289ac9796c95ef341149531efa84d70aff6/src/sol-ez/src/account_info.rs#L160-L191

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.