Skip to main content

module tevmc

Global Variables

  • DEFAULT_DOCKER_LABEL
  • DEFAULT_FILTER
  • MAX_STATUS_SIZE

class TEVMCException


class TEVMController

method __init__

__init__(
config: Dict[str, Dict],
logger=None,
log_level: str = 'info',
root_pwd: Optional[Path] = None,
wait: bool = False,
services: List[str] = ['redis', 'elastic', 'kibana', 'nodeos', 'indexer', 'rpc', 'beats'],
from_latest: bool = False,
is_producer: bool = True,
skip_init: bool = False
)

method await_full_index

await_full_index()

method darwin_network_setup

darwin_network_setup()

method must_keep_running

must_keep_running(container: str)

method open_container

open_container(name: str, image: str, *args, **kwargs)

Start a new container.

Also waits for container to get ip address.


method open_rpc_websocket

open_rpc_websocket()

method restart_translator

restart_translator()

method setup_index_patterns

setup_index_patterns(patterns: List[str])

method setup_rpc_log_mount

setup_rpc_log_mount()

method sigusr1_handler

sigusr1_handler(signum, frame)

method start

start()

method start_beats

start_beats()

method start_elasticsearch

start_elasticsearch()

method start_evm_rpc

start_evm_rpc()

method start_kibana

start_kibana()

method start_nodeos

start_nodeos(space_monitor=True, do_init=True)

Start eosio_nodeos container.

  • Initialize CLEOS wrapper and setup keosd & wallet.
  • Launch nodeos with config.ini
  • Wait for nodeos to produce blocks
  • Create evm accounts and deploy contract

method start_redis

start_redis()

method start_telosevm_translator

start_telosevm_translator()

method stop

stop()

method stop_elasticsearch

stop_elasticsearch()

method stream_logs

stream_logs(container, timeout=30.0, from_latest=False)

This file was automatically generated via lazydocs.