unsafe

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2026 License: UNKNOWN not legal advice Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func X_getRealm

func X_getRealm(m *gno.Machine, height int) (addr string, pkgPath string)

X_getRealm delegates to the chain/runtime test stdlib's override-aware implementation so testing.SetRealm / RealmFrames hooks apply to unsafe.PreviousRealm() and unsafe.CurrentRealm() in test code.

originCaller and originSend are NOT overridden here — the real implementations in chain/runtime/unsafe read from execctx.GetContext, which testing helpers already populate via SetOriginCaller / OriginSend setup.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL