Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/resources/gno-stdlibs.md
Original file line number Diff line number Diff line change
Expand Up @@ -894,20 +894,20 @@ Issues testing context **coins** to **addr**.
```go
issue := chain.Coins{{"coin1", 100}, {"coin2", 200}}
addr := address("g1ecely4gjy0yl6s9kt409ll330q9hk2lj9ls3ec")
testing.TestIssueCoins(addr, issue)
testing.IssueCoins(addr, issue)
```

---

### TestSetRealm
### SetRealm

```go
func SetRealm(rlm Realm)
```

Sets the realm for the current frame. After calling `SetRealm()`, calling
[`CurrentRealm()`](#currentrealm) in the same test function will yield the value of `rlm`, and
any `PreviousRealm()` called from a function used after TestSetRealm will yield `rlm`.
any `PreviousRealm()` called from a function used after SetRealm will yield `rlm`.

Should be used in combination with [`NewUserRealm`](#newuserrealm) &
[`NewCodeRealm`](#newcoderealm).
Expand Down
Loading