Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LoadtestCmd = &cobra.Command{ Use: "loadtest", Short: "Run a generic load test against an Eth/EVM style JSON-RPC endpoint.", Long: loadtestUsage, Args: cobra.NoArgs, PreRunE: func(cmd *cobra.Command, args []string) error { zerolog.DurationFieldUnit = time.Second zerolog.DurationFieldInteger = true return checkLoadtestFlags() }, RunE: func(cmd *cobra.Command, args []string) error { return runLoadTest(cmd.Context()) }, }
LoadtestCmd represents the loadtest command
Functions ¶
This section is empty.
Types ¶
type BlobCommitment ¶
type IndexedActivity ¶
type IndexedActivity struct {
BlockNumbers []string
TransactionIDs []string
BlockIDs []string
Addresses []string
ERC20Addresses []string
ERC721Addresses []string
Contracts []string
BlockNumber uint64
Transactions []rpctypes.PolyTransaction
}
IndexedActivity is used to hold a bunch of values for testing an RPC
Source Files
¶
Click to show internal directories.
Click to hide internal directories.