Documentation ¶
Overview ¶
e2e implements the e2e tests.
Index ¶
- Constants
- func CloseRunnerClient() (err error)
- func DescribeLocal(text string, body func()) bool
- func DescribePChain(text string, body func()) bool
- func DescribeXChain(text string, body func()) bool
- func GetEnableWhitelistTxTests() (b bool)
- func GetRunnerClient() (cli runner_sdk.Client)
- func GetRunnerGRPCEndpoint() (ep string)
- func GetTestKeys() []*crypto.PrivateKeySECP256K1R
- func GetURIs() []string
- func LoadTestKeys() ([]*crypto.PrivateKeySECP256K1R, []ids.ShortID, *secp256k1fx.Keychain)
- func SetEnableWhitelistTxTests(b bool)
- func SetRunnerClient(logLevel string, gRPCEp string) (cli runner_sdk.Client, err error)
- func SetTestKeys(ks []*crypto.PrivateKeySECP256K1R)
- func SetURIs(us []string)
Constants ¶
View Source
const ( // Enough for primary.NewWallet to fetch initial UTXOs. DefaultWalletCreationTimeout = 5 * time.Second // Defines default tx confirmation timeout. // Enough for test/custom networks. DefaultConfirmTxTimeout = 10 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func CloseRunnerClient ¶
func CloseRunnerClient() (err error)
func DescribeLocal ¶
DescribeLocal annotates the tests that requires local network-runner. Can only run with local cluster.
func DescribePChain ¶ added in v1.7.17
DescribePChain annotates the tests for P-Chain. Can run with any type of cluster (e.g., local, fuji, mainnet).
func DescribeXChain ¶
DescribeXChain annotates the tests for X-Chain. Can run with any type of cluster (e.g., local, fuji, mainnet).
func GetEnableWhitelistTxTests ¶
func GetEnableWhitelistTxTests() (b bool)
func GetRunnerClient ¶
func GetRunnerClient() (cli runner_sdk.Client)
func GetRunnerGRPCEndpoint ¶
func GetRunnerGRPCEndpoint() (ep string)
func GetTestKeys ¶ added in v1.7.17
func GetTestKeys() []*crypto.PrivateKeySECP256K1R
func LoadTestKeys ¶ added in v1.7.17
func LoadTestKeys() ([]*crypto.PrivateKeySECP256K1R, []ids.ShortID, *secp256k1fx.Keychain)
func SetEnableWhitelistTxTests ¶
func SetEnableWhitelistTxTests(b bool)
func SetRunnerClient ¶
func SetRunnerClient(logLevel string, gRPCEp string) (cli runner_sdk.Client, err error)
func SetTestKeys ¶ added in v1.7.17
func SetTestKeys(ks []*crypto.PrivateKeySECP256K1R)
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Implements tests for the blueberry network upgrade.
|
Implements tests for the blueberry network upgrade. |
Implements ping tests, requires network-runner cluster.
|
Implements ping tests, requires network-runner cluster. |
Implements static handlers tests for avm and platformvm
|
Implements static handlers tests for avm and platformvm |
Implements X-Chain whitelist vtx (stop vertex) tests.
|
Implements X-Chain whitelist vtx (stop vertex) tests. |
x
|
|
transfer
Implements X-chain transfer tests.
|
Implements X-chain transfer tests. |
Click to show internal directories.
Click to hide internal directories.