package
0.11.0
Repository: https://github.com/omni-network/omni.git
Documentation: pkg.go.dev

# Functions

PrepRPCTestConfig creates the require cometbft config on disk for rpctest package to work with halo app.
RandomAddress returns a random 20-byte ethereum address.
No description provided by the author
RandomBytes returns a random byte slice of length l.
RandomHash returns a random 32-byte 256-bit hash.
No description provided by the author
RequireGoldenBytes asserts that a golden testdata file exists containing the exact data.
RequireGoldenJSON asserts that a golden testdata file exists containing the JSON serialized form of the data object.
RequireNoError asserts that err is nil.
TempDir creates a temporary directory with a random name, as opposed to t.TempDir which uses consecutive numbers per test (001, 002 ...).
WithFilename configures a custom golden test filename.