events

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterEvents

func FilterEvents[T proto.Message](
	t *testing.T,
	allEvents cosmostypes.Events,
	protoType string,
) (parsedEvents []T)

FilterEvents filters allEvents, returning list of T type events whose protobuf message type string matches protoType.

func QuoteEventMode

func QuoteEventMode(event *abci.Event)

QuoteEventMode quotes (i.e. URL escape) the value associated with the 'mode' key in the event. This is injected by the caller that emits the event and causes issues in calling 'ParseTypedEvent'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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