MutateBytes
MutateBytes mutates the first byte of bz to 0xff. Used to test whether a foreign realm can write to caller-allocated bytes. Under storage=authority, bz has PkgID=caller; borrow rule #1 here makes m.Realm=crossrealm_d (declaring realm); the write site (bz[0] = ...) should fire readonly because bz.PkgID != m.Realm.ID.
Command
gnokey query vm/qeval -remote "https://api.gno.berty.io:443" -data "gno.land/r/tests/vm/crossrealm_d.MutateBytes()"
Result