Documentation
¶
Overview ¶
Package test provides shared test helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteConfig ¶
WriteConfig writes a TOML fixture in the format selected by its extension.
func WriteFixedKeystore ¶
WriteFixedKeystore preserves the scalar-one account used by transaction fixtures.
func WriteKeystore ¶
func WriteKeystore(t testing.TB, private *ecdsa.PrivateKey) (keystorePath, passwordPath string)
WriteKeystore creates an owner-only keystore and exact-byte password file. A nil private key generates a new account. Lightweight scrypt is only for tests.
Types ¶
This section is empty.