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.