Versions in this module Expand all Collapse all v0 v0.0.4 Jan 15, 2025 v0.0.1 Jan 15, 2025 Changes in this version + const EthAddress + const KeystorePassword + const NetworkId + func SendTransaction(client *rpc.Client, key *ecdsa.PrivateKey, f *filler.Filler, gasPrice *big.Int, ...) error + func WaitForBlocks(web3 *ethclient.Client, key *keystore.Key, blocksToWait uint64) error + type DepositHistory struct + func (h *DepositHistory) Balances(batch types.DepositBatch) map[[48]byte]uint64 + type Depositor struct + ChainID *big.Int + Client *ethclient.Client + Key *keystore.Key + NetworkId *big.Int + func (d *Depositor) History() *DepositHistory + func (d *Depositor) SendAndMine(ctx context.Context, offset, nvals int, batch types.DepositBatch, partial bool) error + func (d *Depositor) SendDeposit(dep *eth.Deposit, txo *bind.TransactOpts, batch types.DepositBatch) error + func (d *Depositor) UnderlyingProcess() *os.Process + type Miner struct + func NewMiner() *Miner + func (*Miner) DataDir(sub ...string) string + func (*Miner) Password() string + func (m *Miner) ENR() string + func (m *Miner) Pause() error + func (m *Miner) Resume() error + func (m *Miner) SetBootstrapENR(bootstrapEnr string) + func (m *Miner) Start(ctx context.Context) error + func (m *Miner) Started() <-chan struct{} + func (m *Miner) Stop() error + type Node struct + func NewNode(index int, enr string) *Node + func (node *Node) Pause() error + func (node *Node) Resume() error + func (node *Node) Start(ctx context.Context) error + func (node *Node) Started() <-chan struct{} + func (node *Node) Stop() error + func (node *Node) UnderlyingProcess() *os.Process + type NodeSet struct + func NewNodeSet() *NodeSet + func (s *NodeSet) ComponentAtIndex(i int) (e2etypes.ComponentRunner, error) + func (s *NodeSet) Pause() error + func (s *NodeSet) PauseAtIndex(i int) error + func (s *NodeSet) Resume() error + func (s *NodeSet) ResumeAtIndex(i int) error + func (s *NodeSet) SetMinerENR(enr string) + func (s *NodeSet) Start(ctx context.Context) error + func (s *NodeSet) Started() <-chan struct{} + func (s *NodeSet) Stop() error + func (s *NodeSet) StopAtIndex(i int) error + type Proxy struct + func NewProxy(index int) *Proxy + func (node *Proxy) AddRequestInterceptor(rpcMethodName string, responseGen func() interface{}, trigger func() bool) + func (node *Proxy) Pause() error + func (node *Proxy) ReleaseBackedUpRequests(rpcMethodName string) + func (node *Proxy) RemoveRequestInterceptor(rpcMethodName string) + func (node *Proxy) Resume() error + func (node *Proxy) Start(ctx context.Context) error + func (node *Proxy) Started() <-chan struct{} + func (node *Proxy) Stop() error + type ProxySet struct + func NewProxySet() *ProxySet + func (s *ProxySet) ComponentAtIndex(i int) (e2etypes.ComponentRunner, error) + func (s *ProxySet) Pause() error + func (s *ProxySet) PauseAtIndex(i int) error + func (s *ProxySet) Resume() error + func (s *ProxySet) ResumeAtIndex(i int) error + func (s *ProxySet) Start(ctx context.Context) error + func (s *ProxySet) Started() <-chan struct{} + func (s *ProxySet) Stop() error + func (s *ProxySet) StopAtIndex(i int) error + type SentDeposit struct + type TransactionGenerator struct + func NewTransactionGenerator(keystore string, seed int64) *TransactionGenerator + func (s *TransactionGenerator) Started() <-chan struct{} + func (t *TransactionGenerator) Pause() error + func (t *TransactionGenerator) Resume() error + func (t *TransactionGenerator) Start(ctx context.Context) error + func (t *TransactionGenerator) Stop() error