Module test_utils

Module test_utils 

Source

Structs§

MockEpochInfoProvider
TestBlockBuilder
Builder class for blocks to make testing easier.

Functions§

account_new
create_test_signer
create_user_test_signer
Helper function that creates a new signer for a given account, that uses the account name as seed.
encode
Encode array of u64 to be passed as a smart contract argument.
eth_implicit_test_account
A fixed ETH-implicit account.
unc_implicit_test_account
A fixed UNC-implicit account for which tests can know the private key.
unc_implicit_test_account_secret
Private key for the fixed UNC-implicit test account.