pub const FN_ID_NUB_PUT_CAP: u32 = 4;Expand description
fn_id for the “publish a state object” RPC.
Payload: opaque personality-encoded bytes. The guest personality’s
GuestStore::put_object decodes, validates, content-hashes, and
inserts the object into its store, then replies with the raw
32-byte content hash. All-0xFF is reserved as the error sentinel
(decode/validation failure) — see GuestStore::put_object in
nub-arch-x86 for the contract. JAVM’s personality decodes an
rkyv-archived javm_cap::Cap into javm-guest-x86’s
heap-resident directory.