Skip to content

plugins.aea-test-autonomy.aea_test_autonomy.docker.registries

Tendermint Docker image.

DEFAULT_ACCOUNT

nosec

COMPONENT_REGISTRY

nosec

AGENT_REGISTRY

nosec

REGISTRIES_MANAGER

nosec

GNOSIS_SAFE_MULTISIG

nosec

SERVICE_REGISTRY

nosec

SERVICE_REGISTRY_TOKEN_UTILITY

nosec

SERVICE_MANAGER_TOKEN

nosec

SERVICE_REGISTRY_L2

nosec

SERVICE_MANAGER

nosec

OPERATOR_WHITELIST

nosec

ERC20_TOKEN

nosec

GNOSIS_SAFE_MASTER_COPY

nosec

GNOSIS_SAFE_PROXY_FACTORY

nosec

GNOSIS_SAFE_MULTISEND

nosec

SERVICE_MULTISIG_1

nosec

SERVICE_MULTISIG_2

nosec

RegistriesDockerImage Objects

class RegistriesDockerImage(DockerImage)

Spawn a local Ethereum network with deployed registry contracts, using HardHat.

__init__

def __init__(client: docker.DockerClient,
             addr: str = DEFAULT_HARDHAT_ADDR,
             port: int = DEFAULT_HARDHAT_PORT,
             env_vars: Optional[Dict] = None)

Initialize.

image

@property
def image() -> str

Get the image name.

create

def create() -> Container

Create the container.

create_many

def create_many(nb_containers: int) -> List[Container]

Instantiate the image in many containers, parametrized.

wait

def wait(max_attempts: int = 15, sleep_rate: float = 1.0) -> bool

Wait until the image is running.

Arguments:

  • max_attempts: max number of attempts.
  • sleep_rate: the amount of time to sleep between different requests.

Returns:

True if the wait was successful, False otherwise.