Versions in this module Expand all Collapse all v1 v1.14.14 Nov 19, 2024 v1.14.13 Nov 19, 2024 Changes in this version + type Addresses []common.Address + func (a Addresses) Len() int + func (a Addresses) Less(i, j int) bool + func (a Addresses) Swap(i, j int) + type Chain struct + func NewChain(dir string) (*Chain, error) + func (c *Chain) AccountsInHashOrder() []state.DumpAccount + func (c *Chain) Balance(addr common.Address) *big.Int + func (c *Chain) CodeHashes() []common.Hash + func (c *Chain) ForkID() forkid.ID + func (c *Chain) GetBlock(number int) *types.Block + func (c *Chain) GetHeaders(req *eth.GetBlockHeadersPacket) ([]*types.Header, error) + func (c *Chain) GetSender(idx int) (common.Address, uint64) + func (c *Chain) Head() *types.Block + func (c *Chain) IncNonce(addr common.Address, amt uint64) + func (c *Chain) Len() int + func (c *Chain) RootAt(height int) common.Hash + func (c *Chain) Shorten(height int) *Chain + func (c *Chain) SignTx(from common.Address, tx *types.Transaction) (*types.Transaction, error) + func (c *Chain) TD() *big.Int + type Conn struct + func (c *Conn) Read() (uint64, []byte, error) + func (c *Conn) ReadEth() (any, error) + func (c *Conn) ReadMsg(proto Proto, code uint64, msg any) error + func (c *Conn) ReadSnap() (any, error) + func (c *Conn) Write(proto Proto, code uint64, msg any) error + type EngineClient struct + func NewEngineClient(dir, url, jwt string) (*EngineClient, error) + type Hello = protoHandshake + type Proto int + type Suite struct + Dest *enode.Node + func NewSuite(dest *enode.Node, chainDir, engineURL, jwt string) (*Suite, error) + func (s *Suite) EthTests() []utesting.Test + func (s *Suite) SnapTests() []utesting.Test + func (s *Suite) TestBlobViolations(t *utesting.T) + func (s *Suite) TestGetBlockBodies(t *utesting.T) + func (s *Suite) TestGetBlockHeaders(t *utesting.T) + func (s *Suite) TestInvalidTxs(t *utesting.T) + func (s *Suite) TestLargeTxRequest(t *utesting.T) + func (s *Suite) TestMaliciousHandshake(t *utesting.T) + func (s *Suite) TestMaliciousStatus(t *utesting.T) + func (s *Suite) TestNewPooledTxs(t *utesting.T) + func (s *Suite) TestSameRequestID(t *utesting.T) + func (s *Suite) TestSimultaneousRequests(t *utesting.T) + func (s *Suite) TestSnapGetAccountRange(t *utesting.T) + func (s *Suite) TestSnapGetByteCodes(t *utesting.T) + func (s *Suite) TestSnapGetStorageRanges(t *utesting.T) + func (s *Suite) TestSnapStatus(t *utesting.T) + func (s *Suite) TestSnapTrieNodes(t *utesting.T) + func (s *Suite) TestStatus(t *utesting.T) + func (s *Suite) TestTransaction(t *utesting.T) + func (s *Suite) TestZeroRequestID(t *utesting.T)