Skip to content

Commit

Permalink
chore: fixup
Browse files Browse the repository at this point in the history
Signed-off-by: moul <[email protected]>
  • Loading branch information
moul committed Oct 5, 2024
1 parent 57b2983 commit 1ff1d4c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions gnovm/tests/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func TestContext(pkgPath string, send std.Coins) *teststd.TestExecContext {
banker := newTestBanker(pkgAddr.Bech32(), pkgCoins)
ctx := stdlibs.ExecContext{
ChainID: "dev",
ChainDomain: "tests.gno.land",
Height: 123,
Timestamp: 1234567890,
Msg: nil,
Expand Down
16 changes: 16 additions & 0 deletions gnovm/tests/files/zrealm_natbind1_stdlibs.gno
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// PKGPATH: gno.land/r/test
package test

import (
"std"
)

func main() {
println(std.GetChainDomain())
}

// Output:
// tests.gno.land

// Realm:
// switchrealm["gno.land/r/test"]

0 comments on commit 1ff1d4c

Please sign in to comment.