# Functions
PrepRPCTestConfig creates the require cometbft config on disk for rpctest package to work with story app.
RandomBytes returns a random byte slice of length l.
RandomHash returns a random 32-byte 256-bit hash.
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.