Skip to content

Commit

Permalink
feat(cosmos): report state_change events
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Jun 7, 2022
1 parent 68ff922 commit 203b10d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions golang/cosmos/x/swingset/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,11 @@ func (k Keeper) SetMailbox(ctx sdk.Context, peer string, mailbox string) {
path := StoragePathMailbox + "." + peer
k.vstorageKeeper.LegacySetStorageAndNotify(ctx, path, mailbox)
}

func (k Keeper) PathToEncodedKey(path string) []byte {
return k.vstorageKeeper.PathToEncodedKey(path)
}

func (k Keeper) GetStoreName() string {
return k.vstorageKeeper.GetStoreName()
}

0 comments on commit 203b10d

Please sign in to comment.