Documentation ¶
Index ¶
- func AssertOriginCall(m *gno.Machine)
- func ClearStoreCache(m *gno.Machine)
- func IsOriginCall(m *gno.Machine) bool
- func TestSkipHeights(m *gno.Machine, count int64)
- func X_callerAt(m *gno.Machine, n int) string
- func X_getRealm(m *gno.Machine, height int) (address string, pkgPath string)
- func X_isRealm(m *gno.Machine, pkgPath string) bool
- func X_testIssueCoins(m *gno.Machine, addr string, denom []string, amt []int64)
- func X_testSetOrigCaller(m *gno.Machine, addr string)
- func X_testSetOrigPkgAddr(m *gno.Machine, addr string)
- func X_testSetOrigSend(m *gno.Machine, sentDenom []string, sentAmt []int64, spentDenom []string, ...)
- func X_testSetRealm(m *gno.Machine, addr, pkgPath string)
- type RealmOverride
- type TestExecContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertOriginCall ¶
func ClearStoreCache ¶
func IsOriginCall ¶
func TestSkipHeights ¶
func X_testIssueCoins ¶
func X_testSetOrigCaller ¶
func X_testSetOrigPkgAddr ¶
func X_testSetOrigSend ¶
func X_testSetRealm ¶
Types ¶
type RealmOverride ¶
type RealmOverride struct { Addr crypto.Bech32Address PkgPath string }
type TestExecContext ¶
type TestExecContext struct { std.ExecContext // These are used to set up the result of CurrentRealm() and PrevRealm(). RealmFrames map[*gno.Frame]RealmOverride }
TestExecContext is the testing extension of the exec context.
Click to show internal directories.
Click to hide internal directories.