package
23.1.6+incompatible
Repository: https://github.com/zeta-chain/node.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
GetAccountBalancesDiff returns the difference in the account balances of the accounts used in the E2E test.
No description provided by the author
NewE2ETest creates a new instance of E2ETest with specified parameters.
NewLeafScriptBuilder initializes a new LeafScriptBuilder with a public key and `OP_CHECKSIG`.
NewLogger creates a new Logger.
NewTapscriptSpender creates a new NewTapscriptSpender instance.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
Important ENV.
Important ENV.
SolanaPDAInitialBalance is the initial balance (in lamports) of the gateway PDA account.
ZRC20InitialSupply is the initial supply of the ZRC20 token.
# Variables
EmissionsPoolFunding represents the amount of ZETA to fund the emissions pool with This is the same value as used originally on mainnet (20M ZETA).
# Structs
AccountBalances is a struct that contains the balances of the accounts used in the E2E test.
AccountBalancesDiff is a struct that contains the difference in the balances of the accounts used in the E2E test.
No description provided by the author
ArgDefinition defines a structure for holding an argument's description along with it's default value.
Clients contains all the RPC clients and gRPC clients for E2E tests.
E2ERunner stores all the clients and addresses needed for E2E test Exposes a method to run E2E test It also provides some helper functions.
E2ETest represents a E2E test with a name, args, description and test func.
E2ETestRunConfig defines the basic configuration for initiating an E2E test, including its name and optional runtime arguments.
LeafScriptBuilder represents a builder for Taproot leaf scripts.
Logger is a wrapper around log.Logger that adds verbosity.
NetworkReport is a struct that contains the report for the network used after running e2e tests This report has been initialized to check the emissions pool balance and if the pool is decreasing TODO: add more complete data and validation to the network https://github.com/zeta-chain/node/issues/1873.
No description provided by the author
TapscriptSpender is a utility struct that helps create Taproot address and reveal transaction.
TestReport is a struct that contains the report for a specific e2e test It can be generated with the RunE2ETestsIntoReport method.
# Type aliases
No description provided by the author
E2ETestFunc is a function representing a E2E test It takes a E2ERunner as an argument.
TestReports is a slice of TestReport.
No description provided by the author